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.002556/0.002556, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.003003/0.003003, allocations: 156.8 kB / 24.27 MB, free: 156 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 1.579/1.579, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 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.3598/0.3598, allocations: 34.26 MB / 295.2 MB, free: 0.6406 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.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 2.033e-06/2.033e-06, allocations: 0 / 377.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.88e-05/3.084e-05, allocations: 2.312 kB / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006065/0.006096, allocations: 4.046 MB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002362/0.008458, allocations: 1.157 MB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002763/0.008734, allocations: 19.88 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002617/0.008996, allocations: 98.95 kB / 382.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004846/0.00948, allocations: 221.9 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006219/0.0101, allocations: 235.3 kB / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001102/0.0112, allocations: 0.8285 MB / 383.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003373/0.01154, allocations: 156 kB / 383.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006795/0.01222, allocations: 471 kB / 384.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004318/0.01265, allocations: 263.2 kB / 384.6 MB, free: 11.42 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.01276, allocations: 64 kB / 384.7 MB, free: 11.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002039/0.01297, allocations: 87.92 kB / 384.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.01313, allocations: 155.4 kB / 384.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003087/0.01344, allocations: 247.3 kB / 385.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.01449, allocations: 0.802 MB / 386 MB, free: 10.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.0145, allocations: 0 / 386 MB, free: 10.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.0145, allocations: 0 / 386 MB, free: 10.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.01451, allocations: 0 / 386 MB, free: 10.07 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002102/0.01661, allocations: 1.083 MB / 387.1 MB, free: 8.953 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.01665, allocations: 8.031 kB / 387.1 MB, free: 8.945 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007237/0.01737, allocations: 188.4 kB / 387.3 MB, free: 8.762 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007026/0.01808, allocations: 386.2 kB / 387.6 MB, free: 8.355 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.898e-05/0.01812, allocations: 41.69 kB / 387.7 MB, free: 8.316 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.01825, allocations: 68.33 kB / 387.7 MB, free: 8.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.01948, allocations: 0.6315 MB / 388.4 MB, free: 7.582 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.588e-05/0.01954, allocations: 20.08 kB / 388.4 MB, free: 7.562 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.813e-05/0.01959, allocations: 23.94 kB / 388.4 MB, free: 7.539 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.01961, allocations: 16 kB / 388.4 MB, free: 7.523 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.02069, allocations: 475.5 kB / 388.9 MB, free: 7.059 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003941/0.02463, allocations: 2.341 MB / 391.2 MB, free: 4.613 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.02602, allocations: 0.7104 MB / 392 MB, free: 3.816 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000615/0.02663, allocations: 315.2 kB / 392.3 MB, free: 3.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/0.02675, allocations: 32.42 kB / 392.3 MB, free: 3.449 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.042e-05/0.0268, allocations: 53.83 kB / 392.3 MB, free: 3.383 MB / 362.7 MB Notification: Performance of pre-optimization done (n=83): time 3.076e-06/0.02681, allocations: 0 / 392.3 MB, free: 3.383 MB / 362.7 MB Notification: Performance of matching and sorting (n=116): time 0.008181/0.03499, allocations: 3.937 MB / 396.3 MB, free: 15.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001632/0.03515, allocations: 226.2 kB / 396.5 MB, free: 14.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006134/0.03576, allocations: 0.5023 MB / 397 MB, free: 14.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.333e-05/0.03583, allocations: 45.7 kB / 397.1 MB, free: 14.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002993/0.03613, allocations: 344.2 kB / 397.4 MB, free: 14.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005417/0.03667, allocations: 460.3 kB / 397.8 MB, free: 13.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003265/0.037, allocations: 220.6 kB / 398.1 MB, free: 13.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003739/0.03737, allocations: 0.5899 MB / 398.6 MB, free: 12.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006312/0.038, allocations: 298.4 kB / 398.9 MB, free: 12.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009171/0.03892, allocations: 0.569 MB / 399.5 MB, free: 11.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/0.04051, allocations: 0.95 MB / 400.5 MB, free: 10.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.04052, allocations: 0 / 400.5 MB, free: 10.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001892/0.04241, allocations: 1.012 MB / 401.5 MB, free: 9.742 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.04243, allocations: 8 kB / 401.5 MB, free: 9.734 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.04244, allocations: 4 kB / 401.5 MB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.66e-05/0.04248, allocations: 15.94 kB / 401.5 MB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.04355, allocations: 267.6 kB / 401.8 MB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.624e-05/0.04358, allocations: 19.92 kB / 401.8 MB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003929/0.04397, allocations: 32 kB / 401.8 MB, free: 9.402 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.409e-05/0.04405, allocations: 43.98 kB / 401.8 MB, free: 9.359 MB / 378.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.000377/0.04443, allocations: 276.2 kB / 402.1 MB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00028/0.04471, allocations: 119.6 kB / 402.2 MB, free: 8.961 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005113/0.04522, allocations: 211.1 kB / 402.4 MB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/0.04524, allocations: 23.92 kB / 402.5 MB, free: 8.727 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.379e-05/0.04527, allocations: 8.047 kB / 402.5 MB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.167e-05/0.04529, allocations: 7.984 kB / 402.5 MB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004304/0.04959, allocations: 2.416 MB / 404.9 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.944e-06/0.0496, allocations: 4 kB / 404.9 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.05067, allocations: 239.6 kB / 405.1 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.435e-05/0.05069, allocations: 8.281 kB / 405.1 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.996e-05/0.05076, allocations: 35.98 kB / 405.2 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.07e-05/0.05077, allocations: 8 kB / 405.2 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.05077, allocations: 7.938 kB / 405.2 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003068/0.05384, allocations: 2.22 MB / 407.4 MB, free: 3.633 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003118/0.05415, allocations: 127.5 kB / 407.5 MB, free: 3.508 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.05426, allocations: 24 kB / 407.6 MB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005534/0.05481, allocations: 31.98 kB / 407.6 MB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001995/0.05501, allocations: 92.38 kB / 407.7 MB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-05/0.05508, allocations: 39.98 kB / 407.7 MB, free: 3.324 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003785/0.05546, allocations: 323 kB / 408 MB, free: 3.012 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05546, allocations: 0 / 408 MB, free: 3.012 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008947/0.05635, allocations: 199.9 kB / 408.2 MB, free: 2.816 MB / 378.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.0002245/0.05658, allocations: 135.9 kB / 408.4 MB, free: 2.676 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001703/0.05828, allocations: 0.8491 MB / 409.2 MB, free: 1.816 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.05828, allocations: 0.875 kB / 409.2 MB, free: 1.816 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008282/0.05911, allocations: 465.6 kB / 409.7 MB, free: 1.363 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/0.06049, allocations: 155.8 kB / 409.8 MB, free: 1.219 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003763/0.06426, allocations: 1.97 MB / 411.8 MB, free: 15.14 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000451/0.06471, allocations: 357.1 kB / 412.1 MB, free: 14.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004438/0.06515, allocations: 98.55 kB / 412.2 MB, free: 14.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000202/0.06535, allocations: 68.48 kB / 412.3 MB, free: 14.61 MB / 394.7 MB Notification: Performance of SimCode: time 1.282e-06/0.06535, allocations: 0 / 412.3 MB, free: 14.61 MB / 394.7 MB Notification: Performance of Templates: time 0.0166/0.08196, allocations: 7.356 MB / 419.7 MB, free: 7.359 MB / 394.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.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.200855409959331]