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.001841/0.001841, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002337/0.002337, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.597/1.597, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2481/0.2481, allocations: 46.93 MB / 360.8 MB, free: 4.262 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: translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v|mass6.s|mass6.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v|mass6.s|mass6.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 71.91 kB / 0.4966 GB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3781, allocations: 66.03 MB / 0.5611 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.005622/0.3837, allocations: 3.174 MB / 0.5642 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.3859, allocations: 1.087 MB / 0.5653 GB, free: 128 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.3861, allocations: 15.88 kB / 0.5653 GB, free: 112 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002158/0.3864, allocations: 59.38 kB / 0.5653 GB, free: 52 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.3866, allocations: 130.9 kB / 0.5655 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006139/0.3873, allocations: 179.6 kB / 0.5656 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005527/0.3878, allocations: 469.7 kB / 0.5661 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000223/0.388, allocations: 83.92 kB / 0.5662 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.3882, allocations: 171.4 kB / 0.5663 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002646/0.3885, allocations: 187.2 kB / 0.5665 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.629e-05/0.3886, allocations: 32 kB / 0.5665 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.3887, allocations: 51.98 kB / 0.5666 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.428e-05/0.3888, allocations: 75.69 kB / 0.5667 GB, free: 14.69 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.389, allocations: 207 kB / 0.5669 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005961/0.3896, allocations: 444.5 kB / 0.5673 GB, free: 14.05 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3896, allocations: 4 kB / 0.5673 GB, free: 14.05 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3896, allocations: 0 / 0.5673 GB, free: 14.05 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.3896, allocations: 0 / 0.5673 GB, free: 14.05 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.001292/0.3909, allocations: 0.6299 MB / 0.5679 GB, free: 13.39 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.3909, allocations: 8.031 kB / 0.5679 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003341/0.3913, allocations: 72.58 kB / 0.568 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004784/0.3917, allocations: 244.8 kB / 0.5682 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.926e-05/0.3918, allocations: 25.38 kB / 0.5682 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.934e-05/0.3919, allocations: 44.25 kB / 0.5683 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006331/0.3925, allocations: 359.6 kB / 0.5686 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.089e-05/0.3925, allocations: 15.95 kB / 0.5686 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.3926, allocations: 12 kB / 0.5686 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.3926, allocations: 8 kB / 0.5687 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005033/0.3931, allocations: 255.7 kB / 0.5689 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002372/0.3955, allocations: 1.475 MB / 0.5703 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007682/0.3962, allocations: 407.5 kB / 0.5707 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.3965, allocations: 125 kB / 0.5708 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.517e-05/0.3965, allocations: 8 kB / 0.5709 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.3965, allocations: 35.03 kB / 0.5709 GB, free: 10.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.214e-06/0.3965, allocations: 8 kB / 0.5709 GB, free: 10.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.003113/0.3997, allocations: 1.537 MB / 0.5724 GB, free: 8.402 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.3998, allocations: 191.9 kB / 0.5726 GB, free: 8.172 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/0.4, allocations: 256.1 kB / 0.5728 GB, free: 7.914 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.4001, allocations: 33.7 kB / 0.5729 GB, free: 7.875 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.4002, allocations: 204.7 kB / 0.573 GB, free: 7.672 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.4004, allocations: 190.4 kB / 0.5732 GB, free: 7.484 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.4005, allocations: 94.3 kB / 0.5733 GB, free: 7.387 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.4007, allocations: 350.8 kB / 0.5737 GB, free: 7.035 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/0.401, allocations: 117.3 kB / 0.5738 GB, free: 6.918 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.4013, allocations: 295.9 kB / 0.574 GB, free: 6.555 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006927/0.402, allocations: 462.3 kB / 0.5745 GB, free: 6.027 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.402, allocations: 4 kB / 0.5745 GB, free: 6.023 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008398/0.4029, allocations: 493.6 kB / 0.575 GB, free: 5.535 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.4029, allocations: 7.938 kB / 0.575 GB, free: 5.527 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.4029, allocations: 8.438 kB / 0.575 GB, free: 5.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.4029, allocations: 12 kB / 0.575 GB, free: 5.508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/0.4034, allocations: 139.8 kB / 0.5751 GB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.401e-05/0.4035, allocations: 15.88 kB / 0.5751 GB, free: 5.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/0.4037, allocations: 31.88 kB / 0.5752 GB, free: 5.324 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.162e-05/0.4038, allocations: 24 kB / 0.5752 GB, free: 5.301 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.0002017/0.404, allocations: 173.5 kB / 0.5754 GB, free: 5.121 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.4041, allocations: 39.77 kB / 0.5754 GB, free: 5.082 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002594/0.4044, allocations: 127.6 kB / 0.5755 GB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.4044, allocations: 16 kB / 0.5755 GB, free: 4.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.4044, allocations: 3.938 kB / 0.5755 GB, free: 4.926 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/0.4044, allocations: 11.97 kB / 0.5755 GB, free: 4.914 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002009/0.4064, allocations: 1.209 MB / 0.5767 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.4064, allocations: 4 kB / 0.5767 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005319/0.407, allocations: 120.1 kB / 0.5768 GB, free: 3.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.407, allocations: 8 kB / 0.5769 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.996e-05/0.407, allocations: 12 kB / 0.5769 GB, free: 3.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/0.407, allocations: 8 kB / 0.5769 GB, free: 3.473 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.407, allocations: 4.391 kB / 0.5769 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.4083, allocations: 1.017 MB / 0.5779 GB, free: 2.395 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.391e-05/0.4083, allocations: 35.8 kB / 0.5779 GB, free: 2.359 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.492e-05/0.4084, allocations: 16 kB / 0.5779 GB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003592/0.4088, allocations: 8 kB / 0.5779 GB, free: 2.336 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.775e-05/0.4088, allocations: 51.81 kB / 0.578 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/0.4089, allocations: 15.98 kB / 0.578 GB, free: 2.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001753/0.409, allocations: 179.1 kB / 0.5782 GB, free: 2.098 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.409, allocations: 0 / 0.5782 GB, free: 2.098 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006214/0.4097, allocations: 100 kB / 0.5783 GB, free: 2 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.0001484/0.4098, allocations: 111.2 kB / 0.5784 GB, free: 1.883 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006842/0.4105, allocations: 338.7 kB / 0.5787 GB, free: 1.551 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4105, allocations: 0 / 0.5787 GB, free: 1.551 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002882/0.4108, allocations: 169.3 kB / 0.5788 GB, free: 1.387 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009571/0.4117, allocations: 101.2 kB / 0.5789 GB, free: 1.297 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.4142, allocations: 1.483 MB / 0.5804 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/0.4147, allocations: 0.8119 MB / 0.5812 GB, free: 14.89 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001793/0.4149, allocations: 47.34 kB / 0.5812 GB, free: 14.85 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.415, allocations: 35.42 kB / 0.5813 GB, free: 14.81 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.415, allocations: 4 kB / 0.5813 GB, free: 14.81 MB / 430.1 MB Notification: Performance of Templates: time 0.009574/0.4246, allocations: 4.24 MB / 0.5854 GB, free: 10.6 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins/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: 5.703045656904578]