Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.95/0.95, allocations: 177.1 MB / 205 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2568/0.2568, allocations: 32.81 MB / 294.3 MB, free: 1.254 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Translational.AllComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.804e-05/2.946e-05, allocations: 6.25 kB / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005194/0.005223, allocations: 4.082 MB / 380.1 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003372/0.008596, allocations: 1.157 MB / 381.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009038/0.009499, allocations: 19.88 kB / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000526/0.01003, allocations: 102.9 kB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008648/0.01089, allocations: 221.9 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.01193, allocations: 235.4 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001455/0.01338, allocations: 0.8284 MB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004959/0.01388, allocations: 168 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001357/0.01524, allocations: 467 kB / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004283/0.01567, allocations: 259.2 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.362e-05/0.01576, allocations: 60 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000214/0.01597, allocations: 91.91 kB / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.01609, allocations: 155.4 kB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002405/0.01633, allocations: 243.4 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000943/0.01727, allocations: 0.5603 MB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.01728, allocations: 0 / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.01728, allocations: 0 / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.697e-05/0.01731, allocations: 0 / 384.6 MB, free: 12.01 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.001551/0.01886, allocations: 1.045 MB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.01891, allocations: 12.03 kB / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004543/0.01937, allocations: 180.4 kB / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005811/0.01995, allocations: 382.2 kB / 386.2 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.004e-05/0.02, allocations: 49.69 kB / 386.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.899e-05/0.02009, allocations: 72.28 kB / 386.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.02114, allocations: 0.5033 MB / 386.8 MB, free: 9.676 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/0.02117, allocations: 12.12 kB / 386.8 MB, free: 9.664 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.846e-05/0.02121, allocations: 27.94 kB / 386.9 MB, free: 9.637 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.02123, allocations: 16 kB / 386.9 MB, free: 9.621 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000429/0.02166, allocations: 265.6 kB / 387.1 MB, free: 9.359 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/0.0236, allocations: 2.158 MB / 389.3 MB, free: 7.098 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007579/0.02436, allocations: 0.5471 MB / 389.8 MB, free: 6.461 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002269/0.02459, allocations: 199.2 kB / 390 MB, free: 6.238 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.02469, allocations: 32.42 kB / 390.1 MB, free: 6.207 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.02473, allocations: 49.83 kB / 390.1 MB, free: 6.145 MB / 362.7 MB Notification: Performance of pre-optimization done (n=83): time 2.995e-06/0.02473, allocations: 0 / 390.1 MB, free: 6.145 MB / 362.7 MB Notification: Performance of matching and sorting (n=116): time 0.003936/0.02867, allocations: 3.321 MB / 393.4 MB, free: 2.598 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003794/0.02904, allocations: 222.2 kB / 393.7 MB, free: 2.332 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/0.02935, allocations: 442.5 kB / 394.1 MB, free: 1.883 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.02939, allocations: 41.7 kB / 394.1 MB, free: 1.836 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.02953, allocations: 332.2 kB / 394.5 MB, free: 1.504 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/0.02975, allocations: 424.4 kB / 394.9 MB, free: 1.086 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.02991, allocations: 192.6 kB / 395.1 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.03007, allocations: 0.5547 MB / 395.6 MB, free: 332 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/0.0303, allocations: 146.5 kB / 395.8 MB, free: 184 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/0.03064, allocations: 410.7 kB / 396.2 MB, free: 15.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000647/0.03128, allocations: 0.6306 MB / 396.8 MB, free: 14.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.03129, allocations: 4 kB / 396.8 MB, free: 14.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.0009361/0.03223, allocations: 0.7385 MB / 397.5 MB, free: 14.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.03225, allocations: 9.875 kB / 397.5 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.03226, allocations: 4 kB / 397.5 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/0.03229, allocations: 15.94 kB / 397.6 MB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005909/0.03288, allocations: 275.6 kB / 397.8 MB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/0.0329, allocations: 15.94 kB / 397.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/0.03316, allocations: 40.39 kB / 397.9 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.448e-05/0.03321, allocations: 40 kB / 397.9 MB, free: 13.83 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.0002174/0.03343, allocations: 220.3 kB / 398.1 MB, free: 13.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/0.0336, allocations: 119.5 kB / 398.3 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002648/0.03387, allocations: 179.2 kB / 398.4 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.03388, allocations: 19.92 kB / 398.4 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.03389, allocations: 0 / 398.4 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.0339, allocations: 7.984 kB / 398.5 MB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002275/0.03617, allocations: 2.036 MB / 400.5 MB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.03618, allocations: 4 kB / 400.5 MB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009064/0.03709, allocations: 236 kB / 400.7 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.0371, allocations: 12 kB / 400.7 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.825e-05/0.03715, allocations: 31.98 kB / 400.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/0.03715, allocations: 8 kB / 400.8 MB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.03716, allocations: 7.938 kB / 400.8 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.0386, allocations: 1.775 MB / 402.6 MB, free: 9.027 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002602/0.03886, allocations: 131.4 kB / 402.7 MB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.78e-05/0.03893, allocations: 20 kB / 402.7 MB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003071/0.03923, allocations: 35.98 kB / 402.7 MB, free: 8.844 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.03937, allocations: 96.38 kB / 402.8 MB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-05/0.03941, allocations: 39.98 kB / 402.9 MB, free: 8.711 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001805/0.03959, allocations: 271.1 kB / 403.1 MB, free: 8.449 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03959, allocations: 0 / 403.1 MB, free: 8.449 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006399/0.04023, allocations: 196 kB / 403.3 MB, free: 8.258 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.0002109/0.04044, allocations: 139.8 kB / 403.5 MB, free: 8.113 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008594/0.0413, allocations: 0.5528 MB / 404 MB, free: 7.551 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.0413, allocations: 3.938 kB / 404 MB, free: 7.547 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003594/0.04166, allocations: 322.7 kB / 404.3 MB, free: 7.234 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009396/0.0426, allocations: 160.1 kB / 404.5 MB, free: 7.078 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003132/0.04573, allocations: 1.849 MB / 406.3 MB, free: 5.125 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.04592, allocations: 185.2 kB / 406.5 MB, free: 4.926 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003717/0.04629, allocations: 97.98 kB / 406.6 MB, free: 4.828 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.04644, allocations: 68.48 kB / 406.7 MB, free: 4.762 MB / 378.7 MB Notification: Performance of SimCode: time 2.124e-06/0.04644, allocations: 0 / 406.7 MB, free: 4.762 MB / 378.7 MB Notification: Performance of Templates: time 0.0133/0.05974, allocations: 7.745 MB / 414.4 MB, free: 13.13 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.372987432871014]