Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.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.001494/0.001494, 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.001237/0.001237, allocations: 166.8 kB / 25.61 MB, free: 8.582 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.9719/0.9719, allocations: 177 MB / 205.9 MB, free: 4.465 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.1592/0.1592, allocations: 34.88 MB / 297.4 MB, free: 13.34 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.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.AllComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 380 MB, free: 22.78 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.693e-05, allocations: 2.312 kB / 380 MB, free: 22.78 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004384/0.004411, allocations: 4.032 MB / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.006434, allocations: 1.153 MB / 385.2 MB, free: 17.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005457/0.006979, allocations: 23.81 kB / 385.2 MB, free: 17.55 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003071/0.007287, allocations: 95.02 kB / 385.3 MB, free: 17.45 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007316/0.008018, allocations: 233.9 kB / 385.5 MB, free: 17.22 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008194/0.008838, allocations: 227.5 kB / 385.7 MB, free: 17 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009901/0.009828, allocations: 0.8246 MB / 386.6 MB, free: 16.17 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003792/0.01021, allocations: 164 kB / 386.7 MB, free: 16.01 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009253/0.01113, allocations: 474.9 kB / 387.2 MB, free: 15.54 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005301/0.01166, allocations: 271.2 kB / 387.4 MB, free: 15.28 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001424/0.0118, allocations: 56 kB / 387.5 MB, free: 15.22 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002146/0.01202, allocations: 87.94 kB / 387.6 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.01214, allocations: 151.4 kB / 387.7 MB, free: 14.99 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002681/0.01241, allocations: 247.4 kB / 388 MB, free: 14.75 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007757/0.01318, allocations: 0.5526 MB / 388.5 MB, free: 14.19 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.01319, allocations: 0 / 388.5 MB, free: 14.19 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.01319, allocations: 0 / 388.5 MB, free: 14.19 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.01321, allocations: 0 / 388.5 MB, free: 14.19 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001654/0.01486, allocations: 1.06 MB / 389.6 MB, free: 13.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.0149, allocations: 12.03 kB / 389.6 MB, free: 13.08 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000642/0.01555, allocations: 176.4 kB / 389.8 MB, free: 12.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000577/0.01612, allocations: 366.3 kB / 390.1 MB, free: 12.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.647e-05/0.01617, allocations: 49.67 kB / 390.2 MB, free: 12.47 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.01628, allocations: 72.31 kB / 390.2 MB, free: 12.4 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007521/0.01703, allocations: 479.3 kB / 390.7 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.816e-05/0.01708, allocations: 16.08 kB / 390.7 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.969e-05/0.01713, allocations: 27.94 kB / 390.8 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.01714, allocations: 20 kB / 390.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004899/0.01763, allocations: 216.4 kB / 391 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002473/0.0201, allocations: 2.088 MB / 393.1 MB, free: 9.438 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007946/0.0209, allocations: 0.5085 MB / 393.6 MB, free: 8.844 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002486/0.02115, allocations: 186.2 kB / 393.8 MB, free: 8.637 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.25e-05/0.02124, allocations: 24.44 kB / 393.8 MB, free: 8.613 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.02128, allocations: 57.81 kB / 393.8 MB, free: 8.547 MB / 314.7 MB Notification: Performance of pre-optimization done (n=83): time 3.426e-06/0.02128, allocations: 0 / 393.8 MB, free: 8.547 MB / 314.7 MB Notification: Performance of matching and sorting (n=116): time 0.00477/0.02605, allocations: 2.669 MB / 396.5 MB, free: 5.652 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/0.02612, allocations: 218.3 kB / 396.7 MB, free: 5.391 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003347/0.02645, allocations: 434.3 kB / 397.2 MB, free: 4.949 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.737e-05/0.0265, allocations: 53.75 kB / 397.2 MB, free: 4.891 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.02666, allocations: 332.2 kB / 397.5 MB, free: 4.559 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002545/0.02692, allocations: 436.2 kB / 398 MB, free: 4.129 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002385/0.02716, allocations: 188.5 kB / 398.1 MB, free: 3.938 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.0273, allocations: 0.5701 MB / 398.7 MB, free: 3.355 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/0.02753, allocations: 110.5 kB / 398.8 MB, free: 3.246 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/0.02783, allocations: 382.6 kB / 399.2 MB, free: 2.781 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005998/0.02843, allocations: 0.5586 MB / 399.7 MB, free: 2.133 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.02844, allocations: 4 kB / 399.8 MB, free: 2.129 MB / 314.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.0009314/0.02937, allocations: 0.6721 MB / 400.4 MB, free: 1.449 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.02939, allocations: 8 kB / 400.4 MB, free: 1.441 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.02941, allocations: 4 kB / 400.4 MB, free: 1.438 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.02943, allocations: 8 kB / 400.4 MB, free: 1.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007441/0.03017, allocations: 276 kB / 400.7 MB, free: 1.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.205e-05/0.03019, allocations: 24.33 kB / 400.7 MB, free: 1.137 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/0.03052, allocations: 31.98 kB / 400.8 MB, free: 1.105 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.558e-05/0.03058, allocations: 36 kB / 400.8 MB, free: 1.07 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 145 * 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.0001832/0.03076, allocations: 216.3 kB / 401 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/0.03098, allocations: 115.5 kB / 401.1 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.03122, allocations: 171 kB / 401.3 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.03123, allocations: 16.08 kB / 401.3 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-06/0.03124, allocations: 7.938 kB / 401.3 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.03126, allocations: 15.95 kB / 401.3 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002518/0.03377, allocations: 1.898 MB / 403.2 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.03378, allocations: 8.062 kB / 403.2 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005325/0.03431, allocations: 235.7 kB / 403.5 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.427e-06/0.03432, allocations: 8 kB / 403.5 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.592e-05/0.03437, allocations: 31.98 kB / 403.5 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.03437, allocations: 4 kB / 403.5 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.03438, allocations: 11.94 kB / 403.5 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.03553, allocations: 1.704 MB / 405.2 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/0.03571, allocations: 119.5 kB / 405.3 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.713e-05/0.03577, allocations: 24 kB / 405.4 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/0.03606, allocations: 35.98 kB / 405.4 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.03617, allocations: 88.38 kB / 405.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/0.0362, allocations: 24 kB / 405.5 MB, free: 12.21 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001492/0.03635, allocations: 271 kB / 405.8 MB, free: 11.95 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03635, allocations: 0 / 405.8 MB, free: 11.95 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006059/0.03696, allocations: 192 kB / 406 MB, free: 11.76 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 116 * 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.0001655/0.03712, allocations: 143 kB / 406.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005495/0.03767, allocations: 491.4 kB / 406.6 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.03768, allocations: 4 kB / 406.6 MB, free: 11.11 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002522/0.03793, allocations: 290.4 kB / 406.9 MB, free: 10.83 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007786/0.03871, allocations: 157.9 kB / 407 MB, free: 10.69 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/0.04085, allocations: 1.859 MB / 408.9 MB, free: 8.727 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.041, allocations: 173.2 kB / 409.1 MB, free: 8.539 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002712/0.04127, allocations: 101.9 kB / 409.2 MB, free: 8.438 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002799/0.04155, allocations: 226.1 kB / 409.4 MB, free: 8.215 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.04155, allocations: 0 / 409.4 MB, free: 8.215 MB / 330.7 MB Notification: Performance of Templates: time 0.01128/0.05283, allocations: 8.26 MB / 417.6 MB, free: 92 kB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/AllComponents/AllComponents.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.447454303968698]