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.0009762/0.0009762, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.002265/0.002265, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9748/0.9748, allocations: 177 MB / 204.8 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] 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.2574/0.2574, allocations: 34.86 MB / 296.3 MB, free: 0.5586 MB / 266.7 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.264e-06/2.264e-06, allocations: 3.984 kB / 378.7 MB, free: 2.148 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.791e-05, allocations: 7.094 kB / 378.7 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003063/0.003091, allocations: 3.135 MB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.004476, allocations: 1.063 MB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.004633, allocations: 11.94 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001639/0.004797, allocations: 67.31 kB / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.004966, allocations: 130.8 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006935/0.00566, allocations: 183.4 kB / 383.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003644/0.006024, allocations: 473.6 kB / 383.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.006184, allocations: 79.98 kB / 383.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.006388, allocations: 263.4 kB / 384.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.006549, allocations: 139.6 kB / 384.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.012e-05/0.006589, allocations: 32 kB / 384.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.006694, allocations: 59.97 kB / 384.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.878e-05/0.006743, allocations: 79.66 kB / 384.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.82e-05/0.006841, allocations: 139.7 kB / 384.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003249/0.007166, allocations: 322.7 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.007169, allocations: 0 / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.00717, allocations: 0 / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.007177, allocations: 0 / 384.9 MB, free: 11.96 MB / 362.7 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.0007812/0.007958, allocations: 0.7182 MB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.007995, allocations: 12.03 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002435/0.008238, allocations: 92.64 kB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.008503, allocations: 251.3 kB / 385.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.008527, allocations: 25.38 kB / 386 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.012e-05/0.008577, allocations: 40.33 kB / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003906/0.008968, allocations: 333.7 kB / 386.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.008984, allocations: 8.078 kB / 386.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/0.009008, allocations: 19.94 kB / 386.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.00902, allocations: 12 kB / 386.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002415/0.009261, allocations: 155 kB / 386.5 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.01067, allocations: 1.607 MB / 388.1 MB, free: 8.523 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004226/0.01109, allocations: 358.7 kB / 388.5 MB, free: 8.098 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.01121, allocations: 110 kB / 388.6 MB, free: 7.965 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.01123, allocations: 8 kB / 388.6 MB, free: 7.957 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.01126, allocations: 53.33 kB / 388.6 MB, free: 7.895 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 2.825e-06/0.01126, allocations: 3.984 kB / 388.6 MB, free: 7.891 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.001651/0.01291, allocations: 1.436 MB / 390.1 MB, free: 6.293 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003233/0.01324, allocations: 187.9 kB / 390.3 MB, free: 6.066 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.01341, allocations: 292.2 kB / 390.5 MB, free: 5.758 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.01343, allocations: 33.7 kB / 390.6 MB, free: 5.719 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.829e-05/0.01353, allocations: 255.4 kB / 390.8 MB, free: 5.465 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.216e-05/0.01361, allocations: 182.4 kB / 391 MB, free: 5.285 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.932e-05/0.0137, allocations: 112 kB / 391.1 MB, free: 5.168 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.01383, allocations: 0.5195 MB / 391.6 MB, free: 4.637 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.01394, allocations: 65.27 kB / 391.7 MB, free: 4.574 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.01415, allocations: 310.6 kB / 392 MB, free: 4.164 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/0.0145, allocations: 443.8 kB / 392.4 MB, free: 3.625 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.0145, allocations: 4 kB / 392.4 MB, free: 3.621 MB / 362.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0004356/0.01494, allocations: 432.9 kB / 392.9 MB, free: 3.191 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.01496, allocations: 10.66 kB / 392.9 MB, free: 3.184 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.01497, allocations: 4 kB / 392.9 MB, free: 3.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.01499, allocations: 12 kB / 392.9 MB, free: 3.168 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.01525, allocations: 139.8 kB / 393 MB, free: 3.031 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.01526, allocations: 11.94 kB / 393 MB, free: 3.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.01537, allocations: 16 kB / 393.1 MB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.01539, allocations: 24.72 kB / 393.1 MB, free: 2.98 MB / 362.7 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.0001109/0.01551, allocations: 204.3 kB / 393.3 MB, free: 2.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.732e-05/0.0156, allocations: 55.75 kB / 393.3 MB, free: 2.715 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.01576, allocations: 115.4 kB / 393.4 MB, free: 2.598 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.01576, allocations: 7.984 kB / 393.5 MB, free: 2.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.01577, allocations: 4 kB / 393.5 MB, free: 2.586 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.01578, allocations: 0 / 393.5 MB, free: 2.586 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.01684, allocations: 1.311 MB / 394.8 MB, free: 1.188 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.01685, allocations: 4 kB / 394.8 MB, free: 1.184 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002639/0.01711, allocations: 119.8 kB / 394.9 MB, free: 1.066 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.01711, allocations: 7.938 kB / 394.9 MB, free: 1.059 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.01714, allocations: 15.98 kB / 394.9 MB, free: 1.043 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.01714, allocations: 4 kB / 394.9 MB, free: 1.039 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.01714, allocations: 8.25 kB / 394.9 MB, free: 1.031 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006606/0.01781, allocations: 1.195 MB / 396.1 MB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/0.01784, allocations: 35.77 kB / 396.2 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.322e-05/0.01787, allocations: 19.92 kB / 396.2 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.01805, allocations: 12 kB / 396.2 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.537e-05/0.0181, allocations: 43.81 kB / 396.2 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.01812, allocations: 20 kB / 396.2 MB, free: 15.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.509e-05/0.01821, allocations: 197.1 kB / 396.4 MB, free: 15.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01821, allocations: 0 / 396.4 MB, free: 15.44 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003931/0.01861, allocations: 100 kB / 396.5 MB, free: 15.34 MB / 378.7 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 9.752e-05/0.01871, allocations: 115.2 kB / 396.6 MB, free: 15.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003339/0.01904, allocations: 281.2 kB / 396.9 MB, free: 14.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.01904, allocations: 0 / 396.9 MB, free: 14.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.01917, allocations: 140.4 kB / 397.1 MB, free: 14.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008385/0.02001, allocations: 82.03 kB / 397.1 MB, free: 14.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.02145, allocations: 1.224 MB / 398.4 MB, free: 13.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.13e-05/0.02154, allocations: 114 kB / 398.5 MB, free: 13.28 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.02166, allocations: 47.28 kB / 398.5 MB, free: 13.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.161e-05/0.02173, allocations: 36.5 kB / 398.6 MB, free: 13.2 MB / 378.7 MB Notification: Performance of SimCode: time 1.222e-06/0.02173, allocations: 0 / 398.6 MB, free: 13.2 MB / 378.7 MB Notification: Performance of Templates: time 0.005907/0.02764, allocations: 3.856 MB / 402.4 MB, free: 9.406 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.327794819138944]