Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00192/0.00192, allocations: 87.89 kB / 20.69 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002374/0.002374, allocations: 157.7 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2259/0.2259, allocations: 34.27 MB / 294.8 MB, free: 14.54 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 442.6 MB, free: 5.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.828e-05/3.031e-05, allocations: 2.281 kB / 442.6 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004742/0.004772, allocations: 2.91 MB / 445.5 MB, free: 2.398 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.006981, allocations: 1.013 MB / 446.6 MB, free: 1.383 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003391/0.00732, allocations: 19.88 kB / 446.6 MB, free: 1.363 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002696/0.00759, allocations: 67.3 kB / 446.6 MB, free: 1.297 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003766/0.007966, allocations: 134.8 kB / 446.8 MB, free: 1.164 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006571/0.008623, allocations: 179.4 kB / 447 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006979/0.009321, allocations: 485.5 kB / 447.4 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.009554, allocations: 83.86 kB / 447.5 MB, free: 432 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004323/0.009986, allocations: 247.5 kB / 447.7 MB, free: 184 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002686/0.01025, allocations: 139.6 kB / 447.9 MB, free: 44 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.344e-05/0.01032, allocations: 32 kB / 447.9 MB, free: 12 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2169/0.2272, allocations: 50.31 kB / 448 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.2273, allocations: 80 kB / 448 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002506/0.2276, allocations: 139.2 kB / 448.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006695/0.2282, allocations: 459.2 kB / 448.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2282, allocations: 0 / 448.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2282, allocations: 1.031 kB / 448.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.2283, allocations: 1.188 kB / 448.6 MB, free: 15.65 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.001236/0.2295, allocations: 0.6215 MB / 449.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.2295, allocations: 8.906 kB / 449.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003355/0.2299, allocations: 72.84 kB / 449.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000428/0.2303, allocations: 234.9 kB / 449.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.612e-05/0.2303, allocations: 27.69 kB / 449.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.383e-05/0.2304, allocations: 40.14 kB / 449.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005653/0.231, allocations: 363.6 kB / 450 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/0.231, allocations: 7.328 kB / 450 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.414e-05/0.231, allocations: 15.97 kB / 450 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.231, allocations: 16.09 kB / 450 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004909/0.2315, allocations: 247.9 kB / 450.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.2332, allocations: 1.348 MB / 451.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000672/0.2339, allocations: 407.2 kB / 452 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.2341, allocations: 127.5 kB / 452.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.2341, allocations: 11.33 kB / 452.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.2342, allocations: 47.25 kB / 452.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.794e-06/0.2342, allocations: 0 / 452.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.002709/0.2369, allocations: 1.539 MB / 453.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.2369, allocations: 190 kB / 453.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.2371, allocations: 243.3 kB / 454.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.2371, allocations: 39.3 kB / 454.2 MB, free: 12.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.234e-05/0.2372, allocations: 202.8 kB / 454.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.09e-05/0.2373, allocations: 192.2 kB / 454.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.2374, allocations: 92.22 kB / 454.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.21e-05/0.2375, allocations: 346.7 kB / 455 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.2377, allocations: 120.8 kB / 455.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/0.238, allocations: 293.9 kB / 455.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005241/0.2385, allocations: 460.6 kB / 455.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.2385, allocations: 2.188 kB / 455.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007696/0.2393, allocations: 0.4917 MB / 456.4 MB, free: 11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.2393, allocations: 7.891 kB / 456.4 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.2393, allocations: 5.344 kB / 456.4 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.2394, allocations: 9.031 kB / 456.4 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004841/0.2398, allocations: 139.9 kB / 456.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.2399, allocations: 15.03 kB / 456.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.2401, allocations: 21.56 kB / 456.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.578e-05/0.2401, allocations: 28.91 kB / 456.6 MB, free: 10.97 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.0001379/0.2403, allocations: 172.8 kB / 456.7 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.2404, allocations: 39.33 kB / 456.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002072/0.2406, allocations: 129.2 kB / 456.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.2406, allocations: 5.469 kB / 456.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.2406, allocations: 3.844 kB / 456.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.2406, allocations: 4.109 kB / 456.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001576/0.2422, allocations: 1.128 MB / 458.1 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.2422, allocations: 4.094 kB / 458.1 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005422/0.2428, allocations: 119.7 kB / 458.2 MB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.2428, allocations: 5.719 kB / 458.2 MB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.23e-05/0.2428, allocations: 17.77 kB / 458.2 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.2428, allocations: 10.75 kB / 458.2 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.2428, allocations: 3.625 kB / 458.2 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008714/0.2437, allocations: 1 MB / 459.2 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.2437, allocations: 33.77 kB / 459.2 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.456e-05/0.2438, allocations: 22.39 kB / 459.3 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003991/0.2442, allocations: 15.69 kB / 459.3 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.681e-05/0.2443, allocations: 39.12 kB / 459.3 MB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.2443, allocations: 18.78 kB / 459.3 MB, free: 9.117 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001274/0.2444, allocations: 169.3 kB / 459.5 MB, free: 9.012 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2444, allocations: 0 / 459.5 MB, free: 9.012 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006573/0.2451, allocations: 99.38 kB / 459.6 MB, free: 8.996 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.0001059/0.2452, allocations: 119 kB / 459.7 MB, free: 8.891 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005878/0.2458, allocations: 339.8 kB / 460 MB, free: 8.805 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2458, allocations: 2.281 kB / 460 MB, free: 8.805 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002679/0.2461, allocations: 171 kB / 460.2 MB, free: 8.746 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.2471, allocations: 83.23 kB / 460.3 MB, free: 8.719 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.2488, allocations: 1.183 MB / 461.5 MB, free: 7.859 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.249, allocations: 212.7 kB / 461.7 MB, free: 7.766 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001796/0.2492, allocations: 49.11 kB / 461.7 MB, free: 7.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.986e-05/0.2493, allocations: 37.23 kB / 461.8 MB, free: 7.738 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2493, allocations: 1.219 kB / 461.8 MB, free: 7.738 MB / 366.1 MB Notification: Performance of Templates: time 0.009253/0.2585, allocations: 3.808 MB / 465.6 MB, free: 7.273 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_trunk_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.2219424322247505]