Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 104.8 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001924/0.001925, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 55.12 kB / 300.7 MB, free: 5.746 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1088, allocations: 49.43 MB / 350.2 MB, free: 4.305 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003511/0.1124, allocations: 1.476 MB / 351.6 MB, free: 2.809 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009121/0.1133, allocations: 416.5 kB / 352 MB, free: 2.398 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.179e-05/0.1134, allocations: 0 / 352 MB, free: 2.398 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.433e-05/0.1135, allocations: 7.922 kB / 352.1 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.527e-05/0.1136, allocations: 3.938 kB / 352.1 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.1139, allocations: 31.91 kB / 352.1 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.621e-05/0.114, allocations: 35.92 kB / 352.1 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1141, allocations: 7.938 kB / 352.1 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.333e-05/0.1142, allocations: 15.98 kB / 352.1 MB, free: 2.297 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.492e-05/0.1142, allocations: 15.92 kB / 352.2 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1142, allocations: 4 kB / 352.2 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.266e-05/0.1143, allocations: 4 kB / 352.2 MB, free: 2.273 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.418e-05/0.1143, allocations: 7.938 kB / 352.2 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.343e-05/0.1143, allocations: 19.86 kB / 352.2 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.1145, allocations: 31.89 kB / 352.2 MB, free: 2.215 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1145, allocations: 0 / 352.2 MB, free: 2.215 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1145, allocations: 4 kB / 352.2 MB, free: 2.211 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1145, allocations: 0 / 352.2 MB, free: 2.211 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005223/0.115, allocations: 367.5 kB / 352.6 MB, free: 1.805 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.1151, allocations: 12.03 kB / 352.6 MB, free: 1.793 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.779e-05/0.1151, allocations: 34.75 kB / 352.6 MB, free: 1.75 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.849e-05/0.1151, allocations: 0.9375 kB / 352.6 MB, free: 1.75 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.1154, allocations: 180.3 kB / 352.8 MB, free: 1.535 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.693e-06/0.1154, allocations: 384 / 352.8 MB, free: 1.535 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.1154, allocations: 384 / 352.8 MB, free: 1.535 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004802/0.1159, allocations: 151.3 kB / 353 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.1159, allocations: 0 / 353 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.1159, allocations: 0 / 353 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1159, allocations: 0 / 353 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.1161, allocations: 35.95 kB / 353 MB, free: 1.34 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.1163, allocations: 165.6 kB / 353.2 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.1165, allocations: 78.52 kB / 353.2 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.1166, allocations: 32.92 kB / 353.3 MB, free: 1.008 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.1167, allocations: 7.922 kB / 353.3 MB, free: 1 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.1167, allocations: 42.48 kB / 353.3 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.1167, allocations: 4 kB / 353.3 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003832/0.1171, allocations: 93.55 kB / 353.4 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.1172, allocations: 55.41 kB / 353.5 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.833e-05/0.1173, allocations: 105.8 kB / 353.6 MB, free: 0.668 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.1173, allocations: 29.7 kB / 353.6 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.363e-05/0.1173, allocations: 80.14 kB / 353.7 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.356e-06/0.1174, allocations: 8 kB / 353.7 MB, free: 0.543 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.1174, allocations: 13.72 kB / 353.7 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1175, allocations: 318.8 kB / 354 MB, free: 208 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.421e-05/0.1175, allocations: 7.938 kB / 354 MB, free: 200 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.432e-05/0.1176, allocations: 23.44 kB / 354 MB, free: 164 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.606e-05/0.1176, allocations: 43.36 kB / 354.1 MB, free: 108 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1176, allocations: 0 / 354.1 MB, free: 108 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.455e-05/0.1177, allocations: 53.58 kB / 354.1 MB, free: 48 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1177, allocations: 4 kB / 354.1 MB, free: 44 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.1178, allocations: 8 kB / 354.1 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1178, allocations: 4.109 kB / 354.2 MB, free: 32 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.419e-05/0.1178, allocations: 8 kB / 354.2 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1178, allocations: 4 kB / 354.2 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.912e-05/0.1179, allocations: 3.938 kB / 354.2 MB, free: 16 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.1179, allocations: 4 kB / 354.2 MB, free: 12 kB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.531e-05/0.118, allocations: 113.8 kB / 354.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/0.1182, allocations: 81.5 kB / 354.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.514e-05/0.1182, allocations: 7.906 kB / 354.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1182, allocations: 8 kB / 354.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1183, allocations: 3.938 kB / 354.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.1183, allocations: 3.984 kB / 354.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.1184, allocations: 153.7 kB / 354.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1184, allocations: 0 / 354.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.983e-05/0.1185, allocations: 15.92 kB / 354.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.1185, allocations: 0 / 354.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.1185, allocations: 0 / 354.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1185, allocations: 4 kB / 354.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1185, allocations: 0 / 354.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.1187, allocations: 109 kB / 354.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.1188, allocations: 84.95 kB / 354.7 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.1188, allocations: 4 kB / 354.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.678e-05/0.1189, allocations: 3.984 kB / 354.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-06/0.1189, allocations: 4 kB / 354.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.1189, allocations: 0 / 354.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.327e-05/0.1189, allocations: 87.59 kB / 354.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.119, allocations: 0 / 354.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001907/0.1192, allocations: 4 kB / 354.8 MB, free: 15.23 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005407/0.1197, allocations: 0.6478 MB / 355.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001679/0.1199, allocations: 31.97 kB / 355.5 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.1199, allocations: 0 / 355.5 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.91e-07/0.1199, allocations: 3.938 kB / 355.5 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.1203, allocations: 36.09 kB / 355.6 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.1213, allocations: 1.166 MB / 356.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.1216, allocations: 0.6807 MB / 357.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.671e-05/0.1216, allocations: 3.984 kB / 357.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.1216, allocations: 11.44 kB / 357.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1216, allocations: 0 / 357.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.1387, allocations: 1.341 MB / 358.8 MB, free: 11.24 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.649/7.788, allocations: 3.875 kB / 358.8 MB, free: 11.24 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches