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.0008998/0.0008998, allocations: 97.41 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000847/0.000847, allocations: 184.2 kB / 16.91 MB, free: 6.914 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.337/1.337, allocations: 205.4 MB / 223.1 MB, free: 5.738 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.3258/0.3258, allocations: 43.58 MB / 315 MB, free: 9.027 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.0005312/0.0005311, allocations: 12 kB / 384.7 MB, free: 7.801 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1182, allocations: 58.87 MB / 443.5 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.00297/0.1212, allocations: 2.448 MB / 446 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.1228, allocations: 0.9785 MB / 447 MB, free: 9.391 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.1229, allocations: 7.938 kB / 447 MB, free: 9.383 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.123, allocations: 35.7 kB / 447 MB, free: 9.348 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.1232, allocations: 95.28 kB / 447.1 MB, free: 9.254 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003644/0.1236, allocations: 119.7 kB / 447.2 MB, free: 9.137 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003542/0.124, allocations: 374.1 kB / 447.6 MB, free: 8.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.1241, allocations: 89.89 kB / 447.7 MB, free: 8.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.1243, allocations: 119.5 kB / 447.8 MB, free: 8.566 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.1245, allocations: 143.3 kB / 447.9 MB, free: 8.426 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.1245, allocations: 15.94 kB / 447.9 MB, free: 8.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.1246, allocations: 31.98 kB / 448 MB, free: 8.379 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.293e-05/0.1247, allocations: 47.78 kB / 448 MB, free: 8.332 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.1248, allocations: 180.9 kB / 448.2 MB, free: 8.148 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003442/0.1252, allocations: 342.7 kB / 448.5 MB, free: 7.812 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1252, allocations: 0 / 448.5 MB, free: 7.812 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1252, allocations: 0 / 448.5 MB, free: 7.812 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.1252, allocations: 4 kB / 448.5 MB, free: 7.809 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.000924/0.1261, allocations: 0.5692 MB / 449.1 MB, free: 7.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.1262, allocations: 12.03 kB / 449.1 MB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.193e-05/0.1263, allocations: 66.72 kB / 449.2 MB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002099/0.1265, allocations: 48.55 kB / 449.2 MB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.1268, allocations: 271.4 kB / 449.5 MB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.1268, allocations: 21.03 kB / 449.5 MB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-05/0.1269, allocations: 36.36 kB / 449.5 MB, free: 6.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004534/0.1273, allocations: 310.3 kB / 449.8 MB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.1274, allocations: 7.891 kB / 449.9 MB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.1274, allocations: 16 kB / 449.9 MB, free: 6.352 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.1274, allocations: 8 kB / 449.9 MB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003458/0.1278, allocations: 195.8 kB / 450.1 MB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.1294, allocations: 1.281 MB / 451.3 MB, free: 4.777 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004937/0.13, allocations: 337.1 kB / 451.7 MB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.1301, allocations: 112.3 kB / 451.8 MB, free: 4.277 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.1301, allocations: 4 kB / 451.8 MB, free: 4.273 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.1302, allocations: 42.55 kB / 451.8 MB, free: 4.223 MB / 382.1 MB Notification: Performance of pre-optimization done (n=36): time 2.955e-06/0.1302, allocations: 0 / 451.8 MB, free: 4.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002422/0.1326, allocations: 1.582 MB / 453.4 MB, free: 2.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.501e-05/0.1327, allocations: 166.2 kB / 453.6 MB, free: 2.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.133, allocations: 228.9 kB / 453.8 MB, free: 1.992 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.133, allocations: 29.7 kB / 453.8 MB, free: 1.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.1331, allocations: 176.2 kB / 454 MB, free: 1.781 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.1332, allocations: 153.8 kB / 454.2 MB, free: 1.629 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.067e-05/0.1333, allocations: 49.69 kB / 454.2 MB, free: 1.574 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1335, allocations: 338.8 kB / 454.5 MB, free: 1.234 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.1336, allocations: 93.09 kB / 454.6 MB, free: 1.141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.1339, allocations: 251.5 kB / 454.9 MB, free: 0.832 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004635/0.1344, allocations: 370.1 kB / 455.2 MB, free: 416 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1344, allocations: 0 / 455.2 MB, free: 416 kB / 382.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005831/0.135, allocations: 409.1 kB / 455.6 MB, free: 0 / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.1756/0.3106, allocations: 7.953 kB / 455.6 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/0.3106, allocations: 2.812 kB / 455.6 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/0.3107, allocations: 10.97 kB / 455.7 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004202/0.3111, allocations: 116.5 kB / 455.8 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.3111, allocations: 12.22 kB / 455.8 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.3114, allocations: 24.78 kB / 455.8 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.3114, allocations: 18.84 kB / 455.8 MB, free: 45.96 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.0001432/0.3115, allocations: 158.3 kB / 456 MB, free: 45.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.3117, allocations: 30.03 kB / 456 MB, free: 45.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002302/0.3119, allocations: 120.9 kB / 456.1 MB, free: 45.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3119, allocations: 5.312 kB / 456.1 MB, free: 45.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.3119, allocations: 2.109 kB / 456.1 MB, free: 45.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.3119, allocations: 4.672 kB / 456.1 MB, free: 45.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.3131, allocations: 1.037 MB / 457.2 MB, free: 45.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.3131, allocations: 3.969 kB / 457.2 MB, free: 45.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000372/0.3135, allocations: 96.41 kB / 457.3 MB, free: 45.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.3135, allocations: 2.875 kB / 457.3 MB, free: 45.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.3136, allocations: 20.33 kB / 457.3 MB, free: 45.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.3136, allocations: 8.969 kB / 457.3 MB, free: 45.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3136, allocations: 2.969 kB / 457.3 MB, free: 45.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005119/0.3141, allocations: 0.8257 MB / 458.1 MB, free: 44.72 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.054e-05/0.3141, allocations: 102 kB / 458.2 MB, free: 44.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.3142, allocations: 19.62 kB / 458.2 MB, free: 44.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002911/0.3145, allocations: 13.73 kB / 458.3 MB, free: 44.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/0.3145, allocations: 30.66 kB / 458.3 MB, free: 44.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.3146, allocations: 15.19 kB / 458.3 MB, free: 44.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.189e-05/0.3147, allocations: 165.3 kB / 458.5 MB, free: 44.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3147, allocations: 0 / 458.5 MB, free: 44.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005119/0.3152, allocations: 81.12 kB / 458.5 MB, free: 44.54 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.0006214/0.3158, allocations: 1.381 MB / 459.9 MB, free: 43.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003538/0.3162, allocations: 282.4 kB / 460.2 MB, free: 43.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3162, allocations: 0 / 460.2 MB, free: 43.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.3163, allocations: 129.1 kB / 460.3 MB, free: 43.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008942/0.3172, allocations: 68.27 kB / 460.4 MB, free: 43.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003313/0.3206, allocations: 4.312 MB / 464.7 MB, free: 40.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.3208, allocations: 0.7875 MB / 465.5 MB, free: 39.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000156/0.3209, allocations: 45.2 kB / 465.5 MB, free: 39.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.3211, allocations: 106.6 kB / 465.6 MB, free: 39.9 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3211, allocations: 0 / 465.6 MB, free: 39.9 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01512/0.3362, allocations: 5.937 MB / 471.6 MB, free: 39.39 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001335/0.3364, allocations: 190.6 kB / 471.8 MB, free: 39.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/2.139, allocations: 0 / 471.8 MB, free: 39.14 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