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.001008/0.001008, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001703/0.001703, allocations: 165.3 kB / 25.61 MB, free: 8.902 MB / 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.923/0.923, allocations: 177 MB / 205.9 MB, free: 4.457 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.167/0.167, allocations: 34.88 MB / 297.4 MB, free: 13.32 MB / 282.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 1.583e-06/1.583e-06, allocations: 0 / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.807e-05, allocations: 4.141 kB / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004146/0.004174, allocations: 3.086 MB / 383.1 MB, free: 19.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.005567, allocations: 1.059 MB / 384.1 MB, free: 18.6 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.005724, allocations: 15.88 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.005885, allocations: 63.31 kB / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000156/0.006041, allocations: 138.8 kB / 384.3 MB, free: 18.39 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003913/0.006432, allocations: 179.4 kB / 384.5 MB, free: 18.21 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002703/0.006702, allocations: 485.5 kB / 385 MB, free: 17.73 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.006838, allocations: 83.97 kB / 385.1 MB, free: 17.64 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.007, allocations: 247.5 kB / 385.3 MB, free: 17.4 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.007126, allocations: 139.6 kB / 385.4 MB, free: 17.27 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.061e-05/0.007157, allocations: 32 kB / 385.5 MB, free: 17.23 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.119e-05/0.007238, allocations: 55.97 kB / 385.5 MB, free: 17.18 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.546e-05/0.007273, allocations: 75.67 kB / 385.6 MB, free: 17.11 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.023e-05/0.007344, allocations: 139.7 kB / 385.7 MB, free: 16.97 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.007591, allocations: 322.7 kB / 386 MB, free: 16.65 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.007594, allocations: 0 / 386 MB, free: 16.65 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.007595, allocations: 0 / 386 MB, free: 16.65 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.007601, allocations: 4 kB / 386.1 MB, free: 16.65 MB / 314.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.0006528/0.008253, allocations: 0.7298 MB / 386.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.008289, allocations: 12.03 kB / 386.8 MB, free: 15.87 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002108/0.0085, allocations: 96.62 kB / 386.9 MB, free: 15.78 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.008715, allocations: 239.5 kB / 387.1 MB, free: 15.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.008736, allocations: 33.38 kB / 387.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.896e-05/0.008775, allocations: 48.3 kB / 387.2 MB, free: 15.44 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.009025, allocations: 297.8 kB / 387.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.009044, allocations: 20.11 kB / 387.5 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.009065, allocations: 19.94 kB / 387.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.009072, allocations: 8 kB / 387.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.00922, allocations: 127.7 kB / 387.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009328/0.01015, allocations: 1.564 MB / 389.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002758/0.01043, allocations: 342.8 kB / 389.6 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.756e-05/0.0105, allocations: 102.1 kB / 389.7 MB, free: 12.76 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.01052, allocations: 8 kB / 389.7 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.01053, allocations: 49.27 kB / 389.7 MB, free: 12.69 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 1.593e-06/0.01054, allocations: 0 / 389.7 MB, free: 12.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.001138/0.01167, allocations: 1.152 MB / 390.9 MB, free: 11.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.01171, allocations: 191.9 kB / 391.1 MB, free: 11.15 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.01181, allocations: 296.1 kB / 391.3 MB, free: 10.85 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.01183, allocations: 33.7 kB / 391.4 MB, free: 10.81 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.638e-05/0.01189, allocations: 255.4 kB / 391.6 MB, free: 10.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.478e-05/0.01196, allocations: 190.3 kB / 391.8 MB, free: 10.36 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.005e-05/0.01203, allocations: 103.9 kB / 391.9 MB, free: 10.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.653e-05/0.01208, allocations: 0.5195 MB / 392.4 MB, free: 9.723 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.711e-05/0.01214, allocations: 53.27 kB / 392.5 MB, free: 9.672 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.01226, allocations: 302.5 kB / 392.8 MB, free: 9.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.01247, allocations: 420.6 kB / 393.2 MB, free: 8.754 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.01248, allocations: 4 kB / 393.2 MB, free: 8.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0003092/0.01279, allocations: 384.8 kB / 393.6 MB, free: 8.367 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.0128, allocations: 8 kB / 393.6 MB, free: 8.359 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.01281, allocations: 8 kB / 393.6 MB, free: 8.352 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.01282, allocations: 8.438 kB / 393.6 MB, free: 8.344 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.01305, allocations: 139.8 kB / 393.7 MB, free: 8.207 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.01306, allocations: 15.92 kB / 393.8 MB, free: 8.191 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.01317, allocations: 27.95 kB / 393.8 MB, free: 8.164 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.01319, allocations: 16 kB / 393.8 MB, free: 8.148 MB / 314.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 8.431e-05/0.01327, allocations: 200.3 kB / 394 MB, free: 7.941 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.462e-05/0.01336, allocations: 51.81 kB / 394 MB, free: 7.891 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.01347, allocations: 111.4 kB / 394.1 MB, free: 7.777 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.01348, allocations: 8 kB / 394.2 MB, free: 7.77 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.01348, allocations: 3.938 kB / 394.2 MB, free: 7.766 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.01349, allocations: 11.98 kB / 394.2 MB, free: 7.754 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008176/0.0143, allocations: 1.241 MB / 395.4 MB, free: 6.434 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.01431, allocations: 4 kB / 395.4 MB, free: 6.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.01457, allocations: 116.2 kB / 395.5 MB, free: 6.316 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.01457, allocations: 12 kB / 395.5 MB, free: 6.305 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.01459, allocations: 12 kB / 395.6 MB, free: 6.293 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.01459, allocations: 11.88 kB / 395.6 MB, free: 6.281 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.01459, allocations: 4 kB / 395.6 MB, free: 6.277 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004367/0.01503, allocations: 1.164 MB / 396.7 MB, free: 5.039 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.348e-05/0.01505, allocations: 31.81 kB / 396.8 MB, free: 5.008 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.01508, allocations: 15.98 kB / 396.8 MB, free: 4.992 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.01527, allocations: 15.94 kB / 396.8 MB, free: 4.977 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.01531, allocations: 43.88 kB / 396.8 MB, free: 4.934 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.01533, allocations: 16.28 kB / 396.9 MB, free: 4.918 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.942e-05/0.01537, allocations: 197.1 kB / 397 MB, free: 4.723 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01537, allocations: 0 / 397 MB, free: 4.723 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000397/0.01577, allocations: 103.9 kB / 397.1 MB, free: 4.621 MB / 314.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 7.393e-05/0.01585, allocations: 115.1 kB / 397.3 MB, free: 4.496 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002137/0.01606, allocations: 260 kB / 397.5 MB, free: 4.242 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01606, allocations: 0 / 397.5 MB, free: 4.242 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.167e-05/0.01615, allocations: 136.3 kB / 397.6 MB, free: 4.105 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005701/0.01672, allocations: 93.36 kB / 397.7 MB, free: 4.023 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.01778, allocations: 1.218 MB / 399 MB, free: 2.715 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.208e-05/0.01785, allocations: 110 kB / 399.1 MB, free: 2.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.01796, allocations: 51.28 kB / 399.1 MB, free: 2.539 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.01809, allocations: 146.2 kB / 399.3 MB, free: 2.395 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.0181, allocations: 0 / 399.3 MB, free: 2.395 MB / 314.7 MB Notification: Performance of Templates: time 0.0058/0.0239, allocations: 4.295 MB / 403.6 MB, free: 14.19 MB / 330.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.1695836698636413]