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.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.001527/0.001527, allocations: 80.83 kB / 20.51 MB, free: 1.273 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.001708/0.001708, allocations: 172.2 kB / 23.76 MB, free: 4.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 158.6 MB / 185.5 MB, free: 6.223 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2289/0.2289, allocations: 32.37 MB / 270.1 MB, free: 2.715 MB / 254.1 MB " [Timeout remaining time 179] 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.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=5002,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002975/0.002975, allocations: 71.89 kB / 407.7 MB, free: 5.578 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1811, allocations: 61.05 MB / 468.8 MB, free: 8.344 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004675/0.1858, allocations: 2.581 MB / 471.4 MB, free: 5.746 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.1879, allocations: 0.9432 MB / 472.3 MB, free: 4.793 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00015/0.188, allocations: 7.938 kB / 472.3 MB, free: 4.785 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002098/0.1882, allocations: 55.44 kB / 472.4 MB, free: 4.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.1885, allocations: 115 kB / 472.5 MB, free: 4.617 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005429/0.189, allocations: 135.7 kB / 472.6 MB, free: 4.484 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005076/0.1895, allocations: 390.2 kB / 473 MB, free: 4.102 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.1897, allocations: 53.41 kB / 473 MB, free: 4.051 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.1899, allocations: 147.4 kB / 473.2 MB, free: 3.906 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00025/0.1901, allocations: 135.3 kB / 473.3 MB, free: 3.773 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.669e-05/0.1902, allocations: 24 kB / 473.3 MB, free: 3.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.1903, allocations: 43.98 kB / 473.4 MB, free: 3.707 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.697e-05/0.1904, allocations: 67.77 kB / 473.4 MB, free: 3.641 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.1905, allocations: 139.4 kB / 473.6 MB, free: 3.504 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004891/0.191, allocations: 370.4 kB / 473.9 MB, free: 3.141 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.191, allocations: 0 / 473.9 MB, free: 3.141 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.191, allocations: 7.938 kB / 474 MB, free: 3.133 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.191, allocations: 0 / 474 MB, free: 3.133 MB / 446.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.001086/0.1921, allocations: 0.5519 MB / 474.5 MB, free: 2.551 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.1922, allocations: 12.03 kB / 474.5 MB, free: 2.539 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002403/0.1924, allocations: 48.73 kB / 474.6 MB, free: 2.492 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004061/0.1928, allocations: 217.6 kB / 474.8 MB, free: 2.254 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.1928, allocations: 25.03 kB / 474.8 MB, free: 2.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.648e-05/0.1929, allocations: 32.38 kB / 474.8 MB, free: 2.199 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005147/0.1934, allocations: 302.7 kB / 475.1 MB, free: 1.883 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.1934, allocations: 11.89 kB / 475.1 MB, free: 1.871 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.1935, allocations: 12 kB / 475.2 MB, free: 1.859 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.1935, allocations: 8 kB / 475.2 MB, free: 1.852 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003576/0.1938, allocations: 191.8 kB / 475.3 MB, free: 1.664 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/0.1957, allocations: 1.142 MB / 476.5 MB, free: 452 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005446/0.1962, allocations: 320.8 kB / 476.8 MB, free: 84 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3286/0.5248, allocations: 104.8 kB / 476.9 MB, free: 50.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.16e-05/0.5249, allocations: 6.766 kB / 476.9 MB, free: 50.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.5249, allocations: 42.45 kB / 477 MB, free: 50.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=36): time 4.268e-06/0.5249, allocations: 0 / 477 MB, free: 50.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.003667/0.5286, allocations: 1.222 MB / 478.2 MB, free: 49.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.5287, allocations: 157.8 kB / 478.3 MB, free: 49.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.5289, allocations: 214.2 kB / 478.5 MB, free: 49.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.529, allocations: 34.98 kB / 478.6 MB, free: 49.22 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.5291, allocations: 179.9 kB / 478.7 MB, free: 49.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.5292, allocations: 160.8 kB / 478.9 MB, free: 49.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.5294, allocations: 89.33 kB / 479 MB, free: 48.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.123e-05/0.5295, allocations: 344.5 kB / 479.3 MB, free: 48.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002647/0.5297, allocations: 93.52 kB / 479.4 MB, free: 48.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003249/0.53, allocations: 240.3 kB / 479.7 MB, free: 48.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006273/0.5307, allocations: 384.1 kB / 480 MB, free: 48.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.5307, allocations: 0 / 480 MB, free: 48.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009198/0.5316, allocations: 408.7 kB / 480.4 MB, free: 48.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.5316, allocations: 9.906 kB / 480.4 MB, free: 48.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.5316, allocations: 3.219 kB / 480.4 MB, free: 48.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.082e-05/0.5317, allocations: 9 kB / 480.4 MB, free: 48.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006744/0.5323, allocations: 114.2 kB / 480.6 MB, free: 48.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.95e-05/0.5324, allocations: 8.688 kB / 480.6 MB, free: 48.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003431/0.5327, allocations: 22.19 kB / 480.6 MB, free: 48.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.229e-05/0.5327, allocations: 18.44 kB / 480.6 MB, free: 48.24 MB / 446.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.000192/0.5329, allocations: 165.2 kB / 480.8 MB, free: 48.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.5331, allocations: 31.94 kB / 480.8 MB, free: 48.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003004/0.5334, allocations: 116 kB / 480.9 MB, free: 48.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.5334, allocations: 6.188 kB / 480.9 MB, free: 48.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.5335, allocations: 3.562 kB / 480.9 MB, free: 48.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.5335, allocations: 10.58 kB / 480.9 MB, free: 48.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/0.5354, allocations: 0.9256 MB / 481.9 MB, free: 47.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.5355, allocations: 10.62 kB / 481.9 MB, free: 47.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008153/0.5363, allocations: 97.2 kB / 482 MB, free: 47.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.187e-05/0.5363, allocations: 5.875 kB / 482 MB, free: 47.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-05/0.5363, allocations: 11.22 kB / 482 MB, free: 47.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.368e-06/0.5363, allocations: 10.03 kB / 482 MB, free: 47.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.5363, allocations: 4.062 kB / 482 MB, free: 47.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.5373, allocations: 0.8287 MB / 482.8 MB, free: 46.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-05/0.5374, allocations: 34.48 kB / 482.9 MB, free: 46.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.434e-05/0.5375, allocations: 12.67 kB / 482.9 MB, free: 46.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005832/0.538, allocations: 10.28 kB / 482.9 MB, free: 46.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.591e-05/0.5381, allocations: 45.22 kB / 482.9 MB, free: 46.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.081e-05/0.5382, allocations: 9.719 kB / 482.9 MB, free: 46.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001496/0.5383, allocations: 151.1 kB / 483.1 MB, free: 46.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5383, allocations: 0 / 483.1 MB, free: 46.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001023/0.5393, allocations: 81.62 kB / 483.2 MB, free: 46.7 MB / 446.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.0001389/0.5395, allocations: 107.7 kB / 483.3 MB, free: 46.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006975/0.5402, allocations: 274.4 kB / 483.5 MB, free: 46.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5402, allocations: 4.625 kB / 483.5 MB, free: 46.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002941/0.5405, allocations: 126.4 kB / 483.7 MB, free: 46.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/0.542, allocations: 75.45 kB / 483.7 MB, free: 46.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002699/0.5447, allocations: 1.249 MB / 485 MB, free: 45.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.5449, allocations: 176.8 kB / 485.2 MB, free: 45.49 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000255/0.5452, allocations: 37.67 kB / 485.2 MB, free: 45.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.5453, allocations: 31.66 kB / 485.2 MB, free: 45.46 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5453, allocations: 4 kB / 485.2 MB, free: 45.46 MB / 446.1 MB Notification: Performance of Templates: time 0.01201/0.5573, allocations: 3.085 MB / 488.3 MB, free: 45.08 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (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 & ./ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.700841790065169]