Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 213.4 kB / 23.74 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.529/1.529, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2391/0.2391, allocations: 46.95 MB / 360.9 MB, free: 4.289 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00297/0.00297, allocations: 63.91 kB / 0.4961 GB, free: 7.961 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3379, allocations: 66.04 MB / 0.5606 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004965/0.3428, allocations: 3.171 MB / 0.5637 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002245/0.3451, allocations: 1.091 MB / 0.5648 GB, free: 228 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002771/0.3453, allocations: 11.94 kB / 0.5648 GB, free: 216 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002277/0.3456, allocations: 67.3 kB / 0.5649 GB, free: 148 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000298/0.3459, allocations: 122.9 kB / 0.565 GB, free: 24 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007224/0.3466, allocations: 179.5 kB / 0.5652 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006284/0.3472, allocations: 469.8 kB / 0.5656 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.3474, allocations: 81.75 kB / 0.5657 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002854/0.3477, allocations: 175.4 kB / 0.5658 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.348, allocations: 183.2 kB / 0.566 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.293e-05/0.3481, allocations: 32 kB / 0.5661 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.3482, allocations: 55.97 kB / 0.5661 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.626e-05/0.3483, allocations: 75.7 kB / 0.5662 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002144/0.3485, allocations: 207 kB / 0.5664 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006148/0.3491, allocations: 458 kB / 0.5668 GB, free: 14.14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3491, allocations: 0 / 0.5668 GB, free: 14.14 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3491, allocations: 0 / 0.5668 GB, free: 14.14 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.3491, allocations: 0 / 0.5668 GB, free: 14.14 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001248/0.3504, allocations: 0.6244 MB / 0.5674 GB, free: 13.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.3504, allocations: 8.031 kB / 0.5674 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.077e-05/0.3505, allocations: 82.66 kB / 0.5675 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003127/0.3508, allocations: 68.62 kB / 0.5676 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004896/0.3513, allocations: 236.9 kB / 0.5678 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.939e-05/0.3514, allocations: 29.38 kB / 0.5678 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.932e-05/0.3515, allocations: 40.12 kB / 0.5679 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006282/0.3521, allocations: 363.6 kB / 0.5682 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/0.3521, allocations: 19.83 kB / 0.5682 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.3521, allocations: 11.98 kB / 0.5682 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.3522, allocations: 12 kB / 0.5683 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005228/0.3527, allocations: 243.8 kB / 0.5685 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002334/0.355, allocations: 1.471 MB / 0.5699 GB, free: 10.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007876/0.3558, allocations: 399.3 kB / 0.5703 GB, free: 10.31 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002458/0.356, allocations: 129.1 kB / 0.5704 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/0.3561, allocations: 8.609 kB / 0.5704 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.3561, allocations: 50.48 kB / 0.5705 GB, free: 10.1 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.395e-06/0.3561, allocations: 0 / 0.5705 GB, free: 10.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.003378/0.3595, allocations: 1.535 MB / 0.572 GB, free: 8.422 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.3596, allocations: 191.9 kB / 0.5722 GB, free: 8.191 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003048/0.3599, allocations: 248.2 kB / 0.5724 GB, free: 7.941 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/0.36, allocations: 37.7 kB / 0.5724 GB, free: 7.898 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.3601, allocations: 204.7 kB / 0.5726 GB, free: 7.695 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.3603, allocations: 190.4 kB / 0.5728 GB, free: 7.508 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.3604, allocations: 102.2 kB / 0.5729 GB, free: 7.402 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.3606, allocations: 350.8 kB / 0.5732 GB, free: 7.051 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/0.3609, allocations: 121.2 kB / 0.5734 GB, free: 6.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003833/0.3613, allocations: 295.9 kB / 0.5736 GB, free: 6.566 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006746/0.3619, allocations: 454.1 kB / 0.5741 GB, free: 6.047 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.3619, allocations: 7.938 kB / 0.5741 GB, free: 6.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008959/0.3628, allocations: 497 kB / 0.5746 GB, free: 5.547 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.3629, allocations: 11.09 kB / 0.5746 GB, free: 5.539 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.3629, allocations: 4 kB / 0.5746 GB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/0.3629, allocations: 16 kB / 0.5746 GB, free: 5.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005368/0.3634, allocations: 135.8 kB / 0.5747 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.633e-05/0.3635, allocations: 23.8 kB / 0.5747 GB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002922/0.3638, allocations: 27.95 kB / 0.5748 GB, free: 5.336 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.103e-05/0.3638, allocations: 24 kB / 0.5748 GB, free: 5.312 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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.0002376/0.364, allocations: 169.6 kB / 0.575 GB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.3642, allocations: 39.75 kB / 0.575 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003049/0.3645, allocations: 131.3 kB / 0.5751 GB, free: 4.957 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.3645, allocations: 8 kB / 0.5751 GB, free: 4.949 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.217e-05/0.3645, allocations: 11.92 kB / 0.5751 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.3646, allocations: 0 / 0.5751 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002175/0.3667, allocations: 1.213 MB / 0.5763 GB, free: 3.641 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/0.3667, allocations: 4.312 kB / 0.5763 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005779/0.3673, allocations: 127.8 kB / 0.5764 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.147e-05/0.3673, allocations: 4 kB / 0.5764 GB, free: 3.508 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.388e-05/0.3674, allocations: 12 kB / 0.5765 GB, free: 3.496 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.063e-05/0.3674, allocations: 7.984 kB / 0.5765 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.437e-06/0.3674, allocations: 7.938 kB / 0.5765 GB, free: 3.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.3686, allocations: 1.013 MB / 0.5775 GB, free: 2.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.251e-05/0.3687, allocations: 31.81 kB / 0.5775 GB, free: 2.379 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.002e-05/0.3687, allocations: 16 kB / 0.5775 GB, free: 2.363 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003873/0.3691, allocations: 15.98 kB / 0.5775 GB, free: 2.348 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.625e-05/0.3692, allocations: 51.81 kB / 0.5776 GB, free: 2.297 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.3692, allocations: 12 kB / 0.5776 GB, free: 2.285 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001966/0.3694, allocations: 183.1 kB / 0.5778 GB, free: 2.109 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3694, allocations: 0 / 0.5778 GB, free: 2.109 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006888/0.3701, allocations: 96 kB / 0.5779 GB, free: 2.016 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (mass5.s,mass5.v,heatCapacitor.T,mass6.s,mass6.v,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 (49): * Single equations (assignments): 49 * 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.001644/0.3718, allocations: 1.562 MB / 0.5794 GB, free: 404 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007379/0.3725, allocations: 335.3 kB / 0.5797 GB, free: 68 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.3725, allocations: 4 kB / 0.5797 GB, free: 64 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003199/0.3728, allocations: 165.5 kB / 0.5799 GB, free: 15.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.3739, allocations: 100.4 kB / 0.58 GB, free: 15.81 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006588/0.3805, allocations: 4.657 MB / 0.5845 GB, free: 10.85 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005323/0.381, allocations: 0.8158 MB / 0.5853 GB, free: 10 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000243/0.3812, allocations: 51.33 kB / 0.5853 GB, free: 9.953 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/0.3815, allocations: 127.4 kB / 0.5855 GB, free: 9.828 MB / 430.1 MB Notification: Performance of SimCode: time 1.352e-06/0.3815, allocations: 0 / 0.5855 GB, free: 9.828 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04119/0.4227, allocations: 8.235 MB / 0.5935 GB, free: 1.762 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.1, allocations: 10.58 kB / 0.5935 GB, free: 1.754 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Translational_TestBraking_fmu --startTime=0 --stopTime=2 --stepSize=0.000399521 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.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: 15.211620480986312]