Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001533/0.001533, allocations: 111.8 kB / 19.17 MB, free: 3.891 MB / 14.72 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.001844/0.001844, allocations: 208.9 kB / 22.13 MB, free: 0.9375 MB / 14.72 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.584/1.584, allocations: 230.2 MB / 255.1 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2342/0.2342, allocations: 46.89 MB / 358.1 MB, free: 10.55 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Translational.AllComponents") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 75.88 kB / 0.4923 GB, free: 8.105 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1345, allocations: 65.99 MB / 0.5568 GB, free: 5.984 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005692/0.1402, allocations: 4.183 MB / 0.5609 GB, free: 1.773 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002264/0.1424, allocations: 1.184 MB / 0.562 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002595/0.1427, allocations: 15.94 kB / 0.562 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002288/0.1429, allocations: 102.9 kB / 0.5621 GB, free: 480 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004062/0.1433, allocations: 210.1 kB / 0.5623 GB, free: 268 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005155/0.1438, allocations: 227.6 kB / 0.5626 GB, free: 40 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008821/0.1447, allocations: 0.8017 MB / 0.5633 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002924/0.145, allocations: 171.5 kB / 0.5635 GB, free: 15.06 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004497/0.1455, allocations: 326.8 kB / 0.5638 GB, free: 14.74 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004479/0.1459, allocations: 342.5 kB / 0.5641 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.663e-05/0.146, allocations: 60 kB / 0.5642 GB, free: 14.35 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.1462, allocations: 91.92 kB / 0.5643 GB, free: 14.26 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.1464, allocations: 147.4 kB / 0.5644 GB, free: 14.11 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003552/0.1467, allocations: 358.1 kB / 0.5648 GB, free: 13.76 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008757/0.1476, allocations: 0.7857 MB / 0.5655 GB, free: 12.97 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1476, allocations: 0 / 0.5655 GB, free: 12.97 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1476, allocations: 4 kB / 0.5655 GB, free: 12.97 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.1476, allocations: 0 / 0.5655 GB, free: 12.97 MB / 430.1 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.001898/0.1495, allocations: 1.028 MB / 0.5665 GB, free: 11.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.1495, allocations: 8.031 kB / 0.5665 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006686/0.1502, allocations: 148.3 kB / 0.5667 GB, free: 11.74 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005815/0.1508, allocations: 438 kB / 0.5671 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.308e-05/0.1508, allocations: 49.62 kB / 0.5672 GB, free: 11.22 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.1509, allocations: 64.33 kB / 0.5672 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.1521, allocations: 0.6155 MB / 0.5678 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.008e-05/0.1521, allocations: 19.88 kB / 0.5678 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.208e-05/0.1522, allocations: 24 kB / 0.5679 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.1522, allocations: 12 kB / 0.5679 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.1534, allocations: 0.5151 MB / 0.5684 GB, free: 9.945 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003329/0.1567, allocations: 2.171 MB / 0.5705 GB, free: 7.656 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.158, allocations: 0.6525 MB / 0.5711 GB, free: 6.938 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006258/0.1586, allocations: 315.1 kB / 0.5714 GB, free: 6.609 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001582/0.1588, allocations: 105.8 kB / 0.5715 GB, free: 6.488 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.1588, allocations: 46.94 kB / 0.5716 GB, free: 6.434 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 1.904e-06/0.1588, allocations: 0 / 0.5716 GB, free: 6.434 MB / 430.1 MB Notification: Performance of matching and sorting (n=116): time 0.008637/0.1674, allocations: 4.542 MB / 0.576 GB, free: 1.547 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/0.1676, allocations: 222.3 kB / 0.5762 GB, free: 1.277 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004636/0.168, allocations: 393.8 kB / 0.5766 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.74e-05/0.1681, allocations: 45.7 kB / 0.5766 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.1683, allocations: 281.5 kB / 0.5769 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003784/0.1687, allocations: 428.3 kB / 0.5773 GB, free: 128 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002918/0.169, allocations: 182.9 kB / 0.5775 GB, free: 15.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002312/0.1692, allocations: 386.8 kB / 0.5779 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006472/0.1699, allocations: 310.4 kB / 0.5782 GB, free: 15.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008198/0.1707, allocations: 0.4965 MB / 0.5786 GB, free: 14.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002008/0.1727, allocations: 0.8589 MB / 0.5795 GB, free: 13.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.1727, allocations: 4 kB / 0.5795 GB, free: 13.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003515/0.1762, allocations: 0.9914 MB / 0.5805 GB, free: 12.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/0.1763, allocations: 8 kB / 0.5805 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/0.1763, allocations: 4 kB / 0.5805 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.669e-05/0.1763, allocations: 12 kB / 0.5805 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001749/0.1781, allocations: 284 kB / 0.5807 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-05/0.1781, allocations: 16.27 kB / 0.5808 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009079/0.179, allocations: 35.98 kB / 0.5808 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/0.1792, allocations: 51.92 kB / 0.5808 GB, free: 12.36 MB / 446.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 (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.000601/0.1798, allocations: 233.5 kB / 0.5811 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004619/0.1802, allocations: 87.41 kB / 0.5812 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000809/0.1811, allocations: 223 kB / 0.5814 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.882e-05/0.1811, allocations: 16 kB / 0.5814 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.366e-05/0.1811, allocations: 0 / 0.5814 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-05/0.1811, allocations: 7.984 kB / 0.5814 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006409/0.1875, allocations: 2.332 MB / 0.5837 GB, free: 9.355 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/0.1876, allocations: 4 kB / 0.5837 GB, free: 9.352 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001916/0.1895, allocations: 247.7 kB / 0.5839 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.917e-05/0.1895, allocations: 11.94 kB / 0.5839 GB, free: 9.098 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/0.1896, allocations: 27.92 kB / 0.5839 GB, free: 9.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.799e-05/0.1896, allocations: 13.91 kB / 0.584 GB, free: 9.059 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/0.1896, allocations: 8 kB / 0.584 GB, free: 9.051 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004413/0.1941, allocations: 1.878 MB / 0.5858 GB, free: 7.129 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005822/0.1946, allocations: 212.4 kB / 0.586 GB, free: 6.902 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002008/0.1948, allocations: 24 kB / 0.586 GB, free: 6.879 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/0.196, allocations: 39.98 kB / 0.5861 GB, free: 6.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002645/0.1963, allocations: 88.38 kB / 0.5861 GB, free: 6.754 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/0.1964, allocations: 32 kB / 0.5862 GB, free: 6.723 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005508/0.197, allocations: 267.1 kB / 0.5864 GB, free: 6.465 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.197, allocations: 192 / 0.5864 GB, free: 6.465 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001531/0.1985, allocations: 199.9 kB / 0.5866 GB, free: 6.27 MB / 446.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 (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.0003173/0.1988, allocations: 143.1 kB / 0.5868 GB, free: 6.121 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002646/0.2015, allocations: 0.7962 MB / 0.5875 GB, free: 5.324 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.2015, allocations: 0 / 0.5875 GB, free: 5.324 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001472/0.2029, allocations: 455.2 kB / 0.588 GB, free: 4.879 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002225/0.2052, allocations: 148.7 kB / 0.5881 GB, free: 4.742 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006292/0.2115, allocations: 2.255 MB / 0.5903 GB, free: 2.398 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009645/0.2124, allocations: 0.9518 MB / 0.5912 GB, free: 1.418 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004736/0.2129, allocations: 75.41 kB / 0.5913 GB, free: 1.348 MB / 446.1 MB Notification: Performance of SimCode: time 8.12e-07/0.2129, allocations: 0 / 0.5913 GB, free: 1.348 MB / 446.1 MB Notification: Performance of Templates: time 0.3372/0.5501, allocations: 9.282 MB / 0.6004 GB, free: 33.52 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 8.852661886019632]