Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001323/0.001323, allocations: 116.9 kB / 18.49 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001378/0.001378, allocations: 220.7 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 230.4 MB / 254.7 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 55.91 kB / 373.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1187, allocations: 53.37 MB / 427.1 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003066/0.1218, allocations: 1.498 MB / 428.6 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008002/0.1226, allocations: 450.9 kB / 429 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.221e-05/0.1226, allocations: 4 kB / 429 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.712e-05/0.1227, allocations: 3.938 kB / 429 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.167e-05/0.1228, allocations: 7.922 kB / 429 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.123, allocations: 19.92 kB / 429 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.1231, allocations: 35.91 kB / 429.1 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.879e-05/0.1232, allocations: 11.98 kB / 429.1 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.862e-05/0.1233, allocations: 19.88 kB / 429.1 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.674e-05/0.1233, allocations: 15.92 kB / 429.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.1233, allocations: 4 kB / 429.1 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.1234, allocations: 4 kB / 429.1 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.612e-05/0.1234, allocations: 15.92 kB / 429.1 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.888e-05/0.1234, allocations: 15.88 kB / 429.2 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.1235, allocations: 39.81 kB / 429.2 MB, free: 2.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1235, allocations: 3.938 kB / 429.2 MB, free: 2.445 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1235, allocations: 0 / 429.2 MB, free: 2.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.1236, allocations: 0 / 429.2 MB, free: 2.445 MB / 350.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.0005187/0.1241, allocations: 347.4 kB / 429.5 MB, free: 2.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.1241, allocations: 16.03 kB / 429.6 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.328e-05/0.1241, allocations: 192 / 429.6 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.254e-05/0.1242, allocations: 34.73 kB / 429.6 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.487e-05/0.1242, allocations: 8.891 kB / 429.6 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.1244, allocations: 180.3 kB / 429.8 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1244, allocations: 4.375 kB / 429.8 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.1245, allocations: 384 / 429.8 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000452/0.1249, allocations: 143.2 kB / 429.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.1249, allocations: 0 / 429.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.1249, allocations: 0 / 429.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1249, allocations: 0 / 429.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.1251, allocations: 39.95 kB / 430 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000182/0.1253, allocations: 157.7 kB / 430.1 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002887/0.1256, allocations: 82.48 kB / 430.2 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.1257, allocations: 28.88 kB / 430.2 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.1257, allocations: 11.94 kB / 430.2 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.1257, allocations: 34.56 kB / 430.3 MB, free: 1.203 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1257, allocations: 0 / 430.3 MB, free: 1.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003853/0.1261, allocations: 97.56 kB / 430.4 MB, free: 1.102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.1262, allocations: 55.41 kB / 430.4 MB, free: 1.035 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.97e-05/0.1263, allocations: 109.8 kB / 430.5 MB, free: 0.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.1263, allocations: 29.7 kB / 430.6 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.846e-05/0.1263, allocations: 84.14 kB / 430.6 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.337e-06/0.1263, allocations: 4 kB / 430.6 MB, free: 0.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.1264, allocations: 9.719 kB / 430.6 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1265, allocations: 322.8 kB / 431 MB, free: 464 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.083e-05/0.1266, allocations: 0 / 431 MB, free: 464 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.397e-05/0.1266, allocations: 31.44 kB / 431 MB, free: 420 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.147e-05/0.1266, allocations: 35.38 kB / 431 MB, free: 372 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1266, allocations: 0 / 431 MB, free: 372 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.903e-05/0.1267, allocations: 65.52 kB / 431.1 MB, free: 300 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1268, allocations: 8.125 kB / 431.1 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1268, allocations: 7.938 kB / 431.1 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1268, allocations: 0 / 431.1 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.498e-05/0.1268, allocations: 11.94 kB / 431.1 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1268, allocations: 3.984 kB / 431.1 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.938e-05/0.1269, allocations: 7.875 kB / 431.1 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.1269, allocations: 4 kB / 431.1 MB, free: 256 kB / 350.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 8.724e-05/0.1269, allocations: 109.8 kB / 431.2 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/0.1272, allocations: 85.55 kB / 431.3 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.988e-05/0.1272, allocations: 3.906 kB / 431.3 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.999e-05/0.1272, allocations: 4 kB / 431.3 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1272, allocations: 3.938 kB / 431.3 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.1272, allocations: 0 / 431.3 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.1274, allocations: 157.7 kB / 431.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1274, allocations: 3.938 kB / 431.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.385e-05/0.1274, allocations: 11.98 kB / 431.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1274, allocations: 0 / 431.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-06/0.1274, allocations: 4 kB / 431.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1274, allocations: 8 kB / 431.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1274, allocations: 0 / 431.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.1277, allocations: 97.41 kB / 431.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.417e-05/0.1277, allocations: 88.98 kB / 431.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.1277, allocations: 4 kB / 431.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.887e-05/0.1278, allocations: 8 kB / 431.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-06/0.1278, allocations: 0 / 431.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.1278, allocations: 4 kB / 431.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.627e-05/0.1279, allocations: 83.27 kB / 431.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1279, allocations: 0 / 431.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001812/0.128, allocations: 11.94 kB / 431.8 MB, free: 15.46 MB / 366.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.0005634/0.1286, allocations: 0.6397 MB / 432.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001659/0.1288, allocations: 35.92 kB / 432.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1288, allocations: 0 / 432.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.1288, allocations: 0 / 432.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.1291, allocations: 27.97 kB / 432.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.1302, allocations: 1.182 MB / 433.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.1306, allocations: 0.6808 MB / 434.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.492e-05/0.1307, allocations: 7.984 kB / 434.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.562e-05/0.1307, allocations: 15.38 kB / 434.4 MB, free: 12.72 MB / 366.1 MB Notification: Performance of SimCode: time 6.72e-07/0.1307, allocations: 0 / 434.4 MB, free: 12.72 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.1492, allocations: 1.408 MB / 435.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/8.051, allocations: 18.95 kB / 435.8 MB, free: 11.43 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.948119154025335]