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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 112.8 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 189.2 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 225.6 MB / 249.8 MB, free: 3.48 MB / 190.1 MB " [Timeout remaining time 178] 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.2283/0.2283, allocations: 44.92 MB / 349.6 MB, free: 1.781 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 67.64 kB / 491.8 MB, free: 30.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1283, allocations: 64.26 MB / 0.543 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005865/0.1341, allocations: 4.124 MB / 0.547 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002542/0.1367, allocations: 1.082 MB / 0.5481 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004578/0.1371, allocations: 15.94 kB / 0.5481 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000331/0.1375, allocations: 98.95 kB / 0.5482 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005471/0.138, allocations: 194.2 kB / 0.5484 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006869/0.1387, allocations: 199.6 kB / 0.5486 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009438/0.1396, allocations: 0.7784 MB / 0.5493 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003529/0.14, allocations: 179.8 kB / 0.5495 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004371/0.1404, allocations: 307 kB / 0.5498 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004218/0.1409, allocations: 346.4 kB / 0.5501 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.965e-05/0.1409, allocations: 60 kB / 0.5502 GB, free: 12.74 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/0.1411, allocations: 83.98 kB / 0.5502 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.1413, allocations: 147.5 kB / 0.5504 GB, free: 12.51 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003357/0.1416, allocations: 346.2 kB / 0.5507 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009602/0.1426, allocations: 0.7663 MB / 0.5515 GB, free: 11.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.1426, allocations: 0 / 0.5515 GB, free: 11.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.1426, allocations: 0 / 0.5515 GB, free: 11.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.725e-05/0.1426, allocations: 0 / 0.5515 GB, free: 11.4 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002202/0.1448, allocations: 1.02 MB / 0.5525 GB, free: 10.33 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.1448, allocations: 8.031 kB / 0.5525 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/0.1449, allocations: 102.7 kB / 0.5526 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.1451, allocations: 84.42 kB / 0.5526 GB, free: 10.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005881/0.1457, allocations: 410.1 kB / 0.553 GB, free: 9.691 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.677e-05/0.1457, allocations: 41.69 kB / 0.5531 GB, free: 9.648 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.1458, allocations: 68.33 kB / 0.5531 GB, free: 9.582 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.1471, allocations: 0.6227 MB / 0.5538 GB, free: 8.934 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.025e-05/0.1471, allocations: 11.94 kB / 0.5538 GB, free: 8.922 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.483e-05/0.1472, allocations: 27.98 kB / 0.5538 GB, free: 8.895 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/0.1472, allocations: 16 kB / 0.5538 GB, free: 8.879 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.1484, allocations: 0.5255 MB / 0.5543 GB, free: 8.352 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003456/0.1518, allocations: 2.154 MB / 0.5564 GB, free: 6.078 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.1532, allocations: 0.6679 MB / 0.5571 GB, free: 5.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006567/0.1538, allocations: 328.7 kB / 0.5574 GB, free: 5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/0.154, allocations: 101.8 kB / 0.5575 GB, free: 4.883 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.497e-05/0.1541, allocations: 50.94 kB / 0.5575 GB, free: 4.824 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 4.839e-06/0.1541, allocations: 3.984 kB / 0.5575 GB, free: 4.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=115): time 0.009067/0.1631, allocations: 4.542 MB / 0.562 GB, free: 15.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001658/0.1633, allocations: 226.2 kB / 0.5622 GB, free: 15.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004914/0.1638, allocations: 361.9 kB / 0.5625 GB, free: 15.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.158e-05/0.1639, allocations: 45.7 kB / 0.5626 GB, free: 15.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/0.1641, allocations: 273.4 kB / 0.5628 GB, free: 14.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004023/0.1645, allocations: 428.3 kB / 0.5632 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002654/0.1648, allocations: 182.9 kB / 0.5634 GB, free: 14.37 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.165, allocations: 378.8 kB / 0.5638 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000655/0.1656, allocations: 314.4 kB / 0.5641 GB, free: 13.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008558/0.1665, allocations: 0.5043 MB / 0.5646 GB, free: 13.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00154/0.168, allocations: 0.8748 MB / 0.5654 GB, free: 12.17 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.168, allocations: 0 / 0.5654 GB, free: 12.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001978/0.17, allocations: 1.004 MB / 0.5664 GB, free: 11.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.17, allocations: 8.438 kB / 0.5664 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.1701, allocations: 8 kB / 0.5664 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.698e-05/0.1701, allocations: 12 kB / 0.5664 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.1712, allocations: 283.6 kB / 0.5667 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.368e-05/0.1712, allocations: 15.94 kB / 0.5667 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005087/0.1717, allocations: 47.97 kB / 0.5668 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.529e-05/0.1718, allocations: 40.27 kB / 0.5668 GB, free: 10.75 MB / 430.1 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 (144): * Single equations (assignments): 144 * 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.0003548/0.1721, allocations: 233.5 kB / 0.567 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/0.1724, allocations: 83.47 kB / 0.5671 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004705/0.1728, allocations: 215.1 kB / 0.5673 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.1729, allocations: 12 kB / 0.5673 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.1729, allocations: 0 / 0.5673 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.791e-05/0.1729, allocations: 11.97 kB / 0.5673 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003986/0.1769, allocations: 2.337 MB / 0.5696 GB, free: 7.758 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.1769, allocations: 4.281 kB / 0.5696 GB, free: 7.754 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.178, allocations: 255.6 kB / 0.5699 GB, free: 7.504 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.42e-05/0.178, allocations: 11.94 kB / 0.5699 GB, free: 7.492 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.389e-05/0.1781, allocations: 31.98 kB / 0.5699 GB, free: 7.461 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.164e-05/0.1781, allocations: 12.06 kB / 0.5699 GB, free: 7.449 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.1781, allocations: 4 kB / 0.5699 GB, free: 7.445 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002727/0.1808, allocations: 1.91 MB / 0.5718 GB, free: 5.484 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003905/0.1812, allocations: 200.7 kB / 0.572 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.1813, allocations: 31.88 kB / 0.572 GB, free: 5.238 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006637/0.182, allocations: 39.97 kB / 0.572 GB, free: 5.199 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.1821, allocations: 92.33 kB / 0.5721 GB, free: 5.109 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.035e-05/0.1822, allocations: 35.98 kB / 0.5722 GB, free: 5.074 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002853/0.1825, allocations: 247.2 kB / 0.5724 GB, free: 4.832 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1825, allocations: 0 / 0.5724 GB, free: 4.832 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008762/0.1834, allocations: 196 kB / 0.5726 GB, free: 4.641 MB / 430.1 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 (115): * Single equations (assignments): 115 * 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.003118/0.1865, allocations: 2.485 MB / 0.575 GB, free: 2.105 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001711/0.1882, allocations: 0.8041 MB / 0.5758 GB, free: 1.301 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.1882, allocations: 0 / 0.5758 GB, free: 1.301 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009018/0.1891, allocations: 474.6 kB / 0.5763 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.1904, allocations: 136.3 kB / 0.5764 GB, free: 0.707 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/0.2019, allocations: 7.228 MB / 0.5834 GB, free: 9.164 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007704/0.2027, allocations: 0.9516 MB / 0.5844 GB, free: 8.188 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005069/0.2032, allocations: 101.8 kB / 0.5845 GB, free: 8.086 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004291/0.2036, allocations: 267.3 kB / 0.5847 GB, free: 7.824 MB / 446.1 MB Notification: Performance of SimCode: time 1.443e-06/0.2036, allocations: 0 / 0.5847 GB, free: 7.824 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04412/0.2477, allocations: 13.93 MB / 0.5983 GB, free: 10.05 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.596/9.844, allocations: 7.938 kB / 0.5983 GB, free: 10.04 MB / 462.1 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219824 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 13.397147950250655]