Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking",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.001131/0.001131, allocations: 106.1 kB / 15.98 MB, free: 6.348 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.001207/0.001207, allocations: 197.4 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.1 MB / 222.8 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3222/0.3222, allocations: 43.5 MB / 313.6 MB, free: 8.285 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 67.91 kB / 382.3 MB, free: 8.297 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.119, allocations: 57.78 MB / 440.1 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004955/0.124, allocations: 2.825 MB / 442.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002363/0.1264, allocations: 0.9785 MB / 443.9 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004259/0.1268, allocations: 7.938 kB / 443.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002446/0.1271, allocations: 39.69 kB / 443.9 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.1274, allocations: 87.25 kB / 444 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007033/0.1281, allocations: 127.8 kB / 444.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004585/0.1286, allocations: 390.1 kB / 444.5 MB, free: 9.938 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002419/0.1289, allocations: 93.33 kB / 444.6 MB, free: 9.852 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.129, allocations: 135.5 kB / 444.8 MB, free: 9.719 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002311/0.1293, allocations: 155.2 kB / 444.9 MB, free: 9.566 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.437e-05/0.1293, allocations: 24 kB / 444.9 MB, free: 9.543 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.1294, allocations: 47.98 kB / 445 MB, free: 9.496 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.724e-05/0.1295, allocations: 71.75 kB / 445 MB, free: 9.426 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.1297, allocations: 155.2 kB / 445.2 MB, free: 9.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004214/0.1301, allocations: 366.7 kB / 445.6 MB, free: 8.914 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1301, allocations: 0 / 445.6 MB, free: 8.914 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.1302, allocations: 4 kB / 445.6 MB, free: 8.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1302, allocations: 3.938 kB / 445.6 MB, free: 8.906 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.000999/0.1312, allocations: 0.6232 MB / 446.2 MB, free: 8.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.1312, allocations: 11.89 kB / 446.2 MB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.422e-05/0.1313, allocations: 66.73 kB / 446.3 MB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002116/0.1315, allocations: 52.45 kB / 446.3 MB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.1318, allocations: 271.4 kB / 446.6 MB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.1319, allocations: 25.03 kB / 446.6 MB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.018e-05/0.1319, allocations: 32.28 kB / 446.6 MB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004706/0.1324, allocations: 302.4 kB / 446.9 MB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/0.1324, allocations: 8 kB / 446.9 MB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.1325, allocations: 12 kB / 446.9 MB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.1325, allocations: 8 kB / 447 MB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003499/0.1328, allocations: 199.8 kB / 447.2 MB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001691/0.1345, allocations: 1.288 MB / 448.4 MB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004794/0.135, allocations: 348.8 kB / 448.8 MB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.1352, allocations: 108.3 kB / 448.9 MB, free: 5.312 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.1352, allocations: 4.328 kB / 448.9 MB, free: 5.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.1353, allocations: 38.56 kB / 448.9 MB, free: 5.262 MB / 382.1 MB Notification: Performance of pre-optimization done (n=36): time 1.563e-06/0.1353, allocations: 3.938 kB / 448.9 MB, free: 5.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002445/0.1377, allocations: 1.574 MB / 450.5 MB, free: 3.473 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/0.1378, allocations: 166.2 kB / 450.7 MB, free: 3.273 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.138, allocations: 224.9 kB / 450.9 MB, free: 3.039 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.138, allocations: 33.7 kB / 450.9 MB, free: 3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.527e-05/0.1381, allocations: 172.2 kB / 451.1 MB, free: 2.828 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.1382, allocations: 153.8 kB / 451.2 MB, free: 2.676 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.1384, allocations: 90.16 kB / 451.3 MB, free: 2.582 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1385, allocations: 338.8 kB / 451.7 MB, free: 2.242 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.1387, allocations: 93.08 kB / 451.7 MB, free: 2.148 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/0.1389, allocations: 247.5 kB / 452 MB, free: 1.844 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004305/0.1394, allocations: 373.7 kB / 452.4 MB, free: 1.414 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1394, allocations: 0 / 452.4 MB, free: 1.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005716/0.14, allocations: 412.9 kB / 452.8 MB, free: 1.004 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.14, allocations: 8 kB / 452.8 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.14, allocations: 4.312 kB / 452.8 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.14, allocations: 11.94 kB / 452.8 MB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003937/0.1404, allocations: 116.1 kB / 452.9 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.1405, allocations: 11.94 kB / 452.9 MB, free: 0.8555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.1407, allocations: 27.86 kB / 452.9 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.1407, allocations: 23.98 kB / 453 MB, free: 0.8047 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (62): * Single equations (assignments): 62 * 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 0.0001588/0.1409, allocations: 157.9 kB / 453.1 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.141, allocations: 35.61 kB / 453.1 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.1412, allocations: 119.3 kB / 453.3 MB, free: 488 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.944e-06/0.1413, allocations: 7.938 kB / 453.3 MB, free: 480 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.1413, allocations: 4 kB / 453.3 MB, free: 476 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.1413, allocations: 0 / 453.3 MB, free: 476 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1791/0.3204, allocations: 1.024 MB / 454.3 MB, free: 48.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.044e-06/0.3204, allocations: 2.844 kB / 454.3 MB, free: 48.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004416/0.3209, allocations: 98.95 kB / 454.4 MB, free: 48.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/0.3209, allocations: 5.344 kB / 454.4 MB, free: 48.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.3209, allocations: 10.69 kB / 454.4 MB, free: 48.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/0.3209, allocations: 9.953 kB / 454.4 MB, free: 48.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.3209, allocations: 5.469 kB / 454.4 MB, free: 48.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006428/0.3216, allocations: 0.826 MB / 455.3 MB, free: 47.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.488e-05/0.3217, allocations: 116.9 kB / 455.4 MB, free: 47.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.413e-05/0.3217, allocations: 8.656 kB / 455.4 MB, free: 47.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003066/0.322, allocations: 14.03 kB / 455.4 MB, free: 47.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/0.3221, allocations: 36.59 kB / 455.4 MB, free: 47.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.3221, allocations: 16.47 kB / 455.4 MB, free: 47.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.3222, allocations: 159.5 kB / 455.6 MB, free: 47.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3222, allocations: 0 / 455.6 MB, free: 47.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005789/0.3228, allocations: 82.78 kB / 455.7 MB, free: 47.34 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (mass5.s,mass5.v,heatCapacitor.T,mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * 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 (41): * Single equations (assignments): 41 * 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.000722/0.3235, allocations: 1.375 MB / 457.1 MB, free: 46.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004481/0.324, allocations: 293.9 kB / 457.3 MB, free: 46.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.324, allocations: 1.75 kB / 457.3 MB, free: 46.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.3242, allocations: 135.8 kB / 457.5 MB, free: 46.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008905/0.3251, allocations: 71.61 kB / 457.5 MB, free: 46.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003787/0.3289, allocations: 4.129 MB / 461.7 MB, free: 43.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.3291, allocations: 0.7865 MB / 462.5 MB, free: 42.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001844/0.3293, allocations: 37.06 kB / 462.5 MB, free: 42.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.3295, allocations: 110.3 kB / 462.6 MB, free: 42.91 MB / 382.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3295, allocations: 3.172 kB / 462.6 MB, free: 42.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01666/0.3462, allocations: 6.204 MB / 468.8 MB, free: 42.3 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001565/0.3464, allocations: 200.2 kB / 469 MB, free: 42.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.898/2.244, allocations: 0 / 469 MB, free: 42.04 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/TestBraking/TestBraking.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches