Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 101.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002168/0.002168, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.141/2.141, allocations: 222.9 MB / 242.5 MB, free: 13.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3792/0.3792, allocations: 44.18 MB / 336.8 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 67.67 kB / 408.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1851, allocations: 60.84 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.007216/0.1924, allocations: 2.831 MB / 472 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00296/0.1954, allocations: 0.9425 MB / 472.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005718/0.196, allocations: 4 kB / 473 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000447/0.1965, allocations: 39.69 kB / 473 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006399/0.1972, allocations: 87.25 kB / 473.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009287/0.1982, allocations: 131.7 kB / 473.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000825/0.199, allocations: 358.3 kB / 473.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003406/0.1994, allocations: 77.67 kB / 473.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003335/0.1997, allocations: 127.5 kB / 473.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004005/0.2002, allocations: 147.3 kB / 473.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.181e-05/0.2003, allocations: 16 kB / 473.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002228/0.2005, allocations: 39.92 kB / 474 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.818e-05/0.2006, allocations: 55.77 kB / 474 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002999/0.2009, allocations: 155.2 kB / 474.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004976/0.2015, allocations: 271.6 kB / 474.4 MB, free: 9.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.2015, allocations: 4 kB / 474.4 MB, free: 9.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2015, allocations: 0 / 474.4 MB, free: 9.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.2015, allocations: 0 / 474.4 MB, free: 9.531 MB / 350.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.001776/0.2033, allocations: 0.6198 MB / 475 MB, free: 8.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/0.2034, allocations: 8.031 kB / 475.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003966/0.2038, allocations: 52.53 kB / 475.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005058/0.2043, allocations: 268.3 kB / 475.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.354e-05/0.2043, allocations: 28.97 kB / 475.4 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.74e-05/0.2045, allocations: 36.31 kB / 475.4 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007363/0.2052, allocations: 298.7 kB / 475.7 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.389e-05/0.2052, allocations: 3.906 kB / 475.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.041e-05/0.2053, allocations: 12 kB / 475.7 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.2053, allocations: 8 kB / 475.7 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005359/0.2059, allocations: 199.8 kB / 475.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002685/0.2086, allocations: 1.292 MB / 477.2 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008023/0.2094, allocations: 337.1 kB / 477.6 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.2097, allocations: 108.3 kB / 477.7 MB, free: 6.023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.803e-05/0.2097, allocations: 8 kB / 477.7 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.2098, allocations: 42.5 kB / 477.7 MB, free: 5.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 2.805e-06/0.2098, allocations: 0 / 477.7 MB, free: 5.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003994/0.2138, allocations: 1.586 MB / 479.3 MB, free: 4.168 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.214, allocations: 158.2 kB / 479.5 MB, free: 3.977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/0.2143, allocations: 224.9 kB / 479.7 MB, free: 3.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.397e-05/0.2144, allocations: 37.7 kB / 479.7 MB, free: 3.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/0.2147, allocations: 176.2 kB / 479.9 MB, free: 3.531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.2148, allocations: 145.8 kB / 480 MB, free: 3.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001789/0.215, allocations: 86.16 kB / 480.1 MB, free: 3.297 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.2152, allocations: 346.8 kB / 480.5 MB, free: 2.949 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/0.2155, allocations: 93.08 kB / 480.5 MB, free: 2.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004362/0.216, allocations: 247.5 kB / 480.8 MB, free: 2.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007671/0.2167, allocations: 374 kB / 481.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.2168, allocations: 0 / 481.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001103/0.2179, allocations: 410 kB / 481.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.2179, allocations: 15.97 kB / 481.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.218, allocations: 4 kB / 481.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.377e-05/0.218, allocations: 8 kB / 481.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006555/0.2187, allocations: 115.8 kB / 481.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.457e-05/0.2187, allocations: 8 kB / 481.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003633/0.2191, allocations: 19.98 kB / 481.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.571e-05/0.2191, allocations: 16 kB / 481.7 MB, free: 1.531 MB / 350.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.0002667/0.2194, allocations: 161.7 kB / 481.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/0.2197, allocations: 35.62 kB / 481.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003384/0.22, allocations: 123.3 kB / 482 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.22, allocations: 7.938 kB / 482.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.2201, allocations: 0 / 482.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.2201, allocations: 4 kB / 482.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/0.2225, allocations: 1.03 MB / 483.1 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.2226, allocations: 7.984 kB / 483.1 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000725/0.2233, allocations: 96.38 kB / 483.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.565e-05/0.2233, allocations: 4.125 kB / 483.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.313e-05/0.2234, allocations: 23.94 kB / 483.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.28e-05/0.2234, allocations: 11.88 kB / 483.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.2234, allocations: 4 kB / 483.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.2248, allocations: 0.8227 MB / 484.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.2249, allocations: 108.7 kB / 484.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.773e-05/0.225, allocations: 15.98 kB / 484.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005925/0.2256, allocations: 12 kB / 484.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.291e-05/0.2257, allocations: 31.84 kB / 484.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.609e-05/0.2258, allocations: 16 kB / 484.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000233/0.226, allocations: 156.5 kB / 484.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.226, allocations: 4 kB / 484.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001106/0.2271, allocations: 80 kB / 484.5 MB, free: 14.63 MB / 366.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.0002079/0.2274, allocations: 115.8 kB / 484.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008199/0.2282, allocations: 284.9 kB / 484.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.2282, allocations: 8 kB / 484.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003191/0.2285, allocations: 123.8 kB / 485 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/0.2302, allocations: 72.86 kB / 485.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003442/0.2337, allocations: 1.398 MB / 486.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005977/0.2343, allocations: 0.7845 MB / 487.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.2345, allocations: 31.44 kB / 487.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.2345, allocations: 0 / 487.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of Templates: time 0.01063/0.2452, allocations: 3.916 MB / 491.2 MB, free: 7.812 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches