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.001352/0.001352, allocations: 81.72 kB / 20.68 MB, free: 1.035 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.001448/0.001448, allocations: 164.4 kB / 23.95 MB, free: 4.168 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.502/1.502, allocations: 177.2 MB / 204.3 MB, free: 9.184 MB / 190.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.2293/0.2293, allocations: 34.27 MB / 295 MB, free: 14.59 MB / 286.1 MB " [Timeout remaining time 179] 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 1.743e-06/1.743e-06, allocations: 0 / 442.6 MB, free: 5.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.221e-05/3.395e-05, allocations: 2.281 kB / 442.6 MB, free: 5.445 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004976/0.00501, allocations: 2.93 MB / 445.6 MB, free: 2.496 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.007465, allocations: 1.009 MB / 446.6 MB, free: 1.484 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004317/0.007897, allocations: 15.88 kB / 446.6 MB, free: 1.469 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.008194, allocations: 71.3 kB / 446.7 MB, free: 1.398 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004015/0.008595, allocations: 134.8 kB / 446.8 MB, free: 1.266 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007322/0.009327, allocations: 175.4 kB / 447 MB, free: 1.094 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007609/0.01009, allocations: 485.5 kB / 447.4 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002401/0.01033, allocations: 79.92 kB / 447.5 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005157/0.01084, allocations: 251.5 kB / 447.8 MB, free: 292 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003639/0.01121, allocations: 143.6 kB / 447.9 MB, free: 148 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.65e-05/0.01129, allocations: 36 kB / 447.9 MB, free: 112 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.01149, allocations: 47.98 kB / 448 MB, free: 64 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1945/0.206, allocations: 76.12 kB / 448.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003278/0.2063, allocations: 137.6 kB / 448.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008535/0.2071, allocations: 460.5 kB / 448.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2071, allocations: 0 / 448.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2072, allocations: 1.609 kB / 448.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.572e-05/0.2072, allocations: 0 / 448.7 MB, free: 15.64 MB / 366.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.001302/0.2085, allocations: 0.6216 MB / 449.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.2085, allocations: 9.797 kB / 449.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003069/0.2088, allocations: 68.91 kB / 449.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.2092, allocations: 231.1 kB / 449.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.2092, allocations: 28.56 kB / 449.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.938e-05/0.2093, allocations: 42.75 kB / 449.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005835/0.2099, allocations: 364.9 kB / 450 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/0.2099, allocations: 7.766 kB / 450 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.434e-05/0.2099, allocations: 13.59 kB / 450 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.2099, allocations: 12.62 kB / 450 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004842/0.2104, allocations: 247.8 kB / 450.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.2121, allocations: 1.35 MB / 451.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006384/0.2128, allocations: 398.6 kB / 452 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.2129, allocations: 123.6 kB / 452.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.213, allocations: 10.41 kB / 452.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.213, allocations: 47.17 kB / 452.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.864e-06/0.213, allocations: 0 / 452.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.002721/0.2157, allocations: 1.545 MB / 453.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.2158, allocations: 190.9 kB / 453.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.216, allocations: 248.1 kB / 454.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.216, allocations: 33.02 kB / 454.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.42e-05/0.2161, allocations: 206.2 kB / 454.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.218e-05/0.2162, allocations: 183.4 kB / 454.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.2163, allocations: 97.41 kB / 454.7 MB, free: 12.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.784e-05/0.2164, allocations: 351.3 kB / 455 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.2166, allocations: 116.3 kB / 455.1 MB, free: 11.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002943/0.2169, allocations: 296.8 kB / 455.4 MB, free: 11.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005354/0.2174, allocations: 455.9 kB / 455.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2174, allocations: 7.547 kB / 455.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007596/0.2182, allocations: 0.4894 MB / 456.4 MB, free: 11.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.2182, allocations: 8.344 kB / 456.4 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.2182, allocations: 5.594 kB / 456.4 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.748e-05/0.2182, allocations: 9.438 kB / 456.4 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000483/0.2187, allocations: 144.8 kB / 456.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/0.2187, allocations: 14.3 kB / 456.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.219, allocations: 22.52 kB / 456.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/0.219, allocations: 28.44 kB / 456.6 MB, free: 11 MB / 366.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.0001526/0.2192, allocations: 175.8 kB / 456.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.2193, allocations: 42.86 kB / 456.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002144/0.2195, allocations: 124.4 kB / 456.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.2195, allocations: 6.625 kB / 456.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.2195, allocations: 2.094 kB / 456.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.2196, allocations: 4.203 kB / 456.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.2211, allocations: 1.133 MB / 458.1 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.2212, allocations: 4.172 kB / 458.1 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005407/0.2217, allocations: 115.5 kB / 458.2 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.2217, allocations: 6.281 kB / 458.2 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.2217, allocations: 19.62 kB / 458.2 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/0.2217, allocations: 14.73 kB / 458.2 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.2217, allocations: 7.75 kB / 458.2 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008491/0.2226, allocations: 0.9945 MB / 459.2 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.6e-05/0.2226, allocations: 34.91 kB / 459.3 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.739e-05/0.2227, allocations: 21.69 kB / 459.3 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000409/0.2231, allocations: 15.92 kB / 459.3 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.367e-05/0.2232, allocations: 40.08 kB / 459.3 MB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.2232, allocations: 21.05 kB / 459.4 MB, free: 9.145 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000129/0.2233, allocations: 172.8 kB / 459.5 MB, free: 9.035 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2233, allocations: 0 / 459.5 MB, free: 9.035 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006776/0.224, allocations: 98.97 kB / 459.6 MB, free: 9.02 MB / 366.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.000111/0.2241, allocations: 109.1 kB / 459.7 MB, free: 8.922 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006033/0.2247, allocations: 334.4 kB / 460.1 MB, free: 8.848 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2247, allocations: 0 / 460.1 MB, free: 8.848 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002707/0.225, allocations: 167 kB / 460.2 MB, free: 8.797 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.226, allocations: 97.17 kB / 460.3 MB, free: 8.766 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.2277, allocations: 1.188 MB / 461.5 MB, free: 7.902 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.2279, allocations: 213.3 kB / 461.7 MB, free: 7.809 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001911/0.2281, allocations: 48.55 kB / 461.8 MB, free: 7.789 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.2282, allocations: 34.2 kB / 461.8 MB, free: 7.781 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2282, allocations: 3.938 kB / 461.8 MB, free: 7.777 MB / 366.1 MB Notification: Performance of Templates: time 0.0092/0.2374, allocations: 3.807 MB / 465.6 MB, free: 7.316 MB / 366.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.167350150644779]