Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001888/0.001888, allocations: 179.6 kB / 16.08 MB, free: 5.539 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.714/1.714, allocations: 205.6 MB / 222.4 MB, free: 13.54 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008194/0.0008195, allocations: 94.25 kB / 270.8 MB, free: 13.05 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3679/0.3679, allocations: 43.68 MB / 362.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003587, allocations: 8 kB / 432.3 MB, free: 19.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1393, allocations: 58.86 MB / 491.2 MB, free: 8.125 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.007245/0.1467, allocations: 3.53 MB / 494.7 MB, free: 4.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003728/0.1505, allocations: 1.294 MB / 496 MB, free: 3.211 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000681/0.1512, allocations: 15.94 kB / 496 MB, free: 3.195 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004631/0.1517, allocations: 67.41 kB / 496.1 MB, free: 3.129 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.1527, allocations: 174.5 kB / 496.2 MB, free: 2.957 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009265/0.1537, allocations: 163.8 kB / 496.4 MB, free: 2.797 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001708/0.1554, allocations: 0.7433 MB / 497.1 MB, free: 2.051 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006667/0.1561, allocations: 210.9 kB / 497.3 MB, free: 1.84 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008087/0.157, allocations: 262.9 kB / 497.6 MB, free: 1.582 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008391/0.1578, allocations: 298.6 kB / 497.9 MB, free: 1.289 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002033/0.1581, allocations: 32 kB / 497.9 MB, free: 1.258 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003713/0.1584, allocations: 55.98 kB / 498 MB, free: 1.203 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002315/0.1587, allocations: 119.4 kB / 498.1 MB, free: 1.086 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006528/0.1594, allocations: 343.9 kB / 498.4 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.1607, allocations: 0.7121 MB / 499.1 MB, free: 28 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1608, allocations: 0 / 499.1 MB, free: 28 kB / 330.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.1608, allocations: 0 / 499.1 MB, free: 28 kB / 330.7 MB Notification: Performance of Transformations before backend: time 3.96e-05/0.1608, allocations: 0 / 499.1 MB, free: 28 kB / 330.7 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.003238/0.1641, allocations: 0.9081 MB / 0.4883 GB, free: 15.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/0.1642, allocations: 8.031 kB / 0.4883 GB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002756/0.1645, allocations: 76.09 kB / 0.4884 GB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008937/0.1654, allocations: 405.6 kB / 0.4888 GB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.431e-05/0.1655, allocations: 41.69 kB / 0.4888 GB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001999/0.1657, allocations: 68.28 kB / 0.4889 GB, free: 14.44 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002211/0.1679, allocations: 0.6385 MB / 0.4895 GB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.66e-05/0.168, allocations: 15.89 kB / 0.4895 GB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.152e-05/0.1681, allocations: 28 kB / 0.4896 GB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.823e-05/0.1682, allocations: 12 kB / 0.4896 GB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002494/0.1707, allocations: 0.5645 MB / 0.4901 GB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005679/0.1764, allocations: 2.173 MB / 0.4923 GB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002464/0.1789, allocations: 0.7147 MB / 0.493 GB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/0.1802, allocations: 359.2 kB / 0.4933 GB, free: 9.723 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002039/0.1804, allocations: 101.8 kB / 0.4934 GB, free: 9.602 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.732e-05/0.1805, allocations: 46.89 kB / 0.4934 GB, free: 9.547 MB / 346.7 MB Notification: Performance of pre-optimization done (n=82): time 4.689e-06/0.1805, allocations: 4 kB / 0.4934 GB, free: 9.543 MB / 346.7 MB Notification: Performance of matching and sorting (n=115): time 0.01544/0.1959, allocations: 4.604 MB / 0.4979 GB, free: 4.586 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001809/0.1962, allocations: 222.2 kB / 0.4982 GB, free: 4.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006797/0.1969, allocations: 361.8 kB / 0.4985 GB, free: 3.961 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.197, allocations: 45.77 kB / 0.4985 GB, free: 3.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003197/0.1974, allocations: 276.9 kB / 0.4988 GB, free: 3.633 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005667/0.1979, allocations: 402 kB / 0.4992 GB, free: 3.234 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.203e-05/0.1981, allocations: 24 kB / 0.4992 GB, free: 3.211 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002734/0.1983, allocations: 378.8 kB / 0.4996 GB, free: 2.832 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/0.1997, allocations: 339.5 kB / 0.4999 GB, free: 2.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001541/0.2013, allocations: 0.52 MB / 0.5004 GB, free: 1.914 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002549/0.2038, allocations: 0.9014 MB / 0.5013 GB, free: 0.9453 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.2039, allocations: 0 / 0.5013 GB, free: 0.9453 MB / 346.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003831/0.2077, allocations: 1.027 MB / 0.5023 GB, free: 15.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.02e-05/0.2078, allocations: 12.38 kB / 0.5023 GB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.169e-05/0.2079, allocations: 7.938 kB / 0.5023 GB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.41e-05/0.208, allocations: 16 kB / 0.5023 GB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/0.2099, allocations: 291.6 kB / 0.5026 GB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.104e-05/0.2099, allocations: 11.94 kB / 0.5026 GB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.2111, allocations: 59.97 kB / 0.5027 GB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/0.2112, allocations: 52.05 kB / 0.5027 GB, free: 15.46 MB / 362.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 (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.0005694/0.2118, allocations: 229.5 kB / 0.5029 GB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004394/0.2123, allocations: 75.09 kB / 0.503 GB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007307/0.213, allocations: 222.9 kB / 0.5032 GB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.197e-05/0.2131, allocations: 12 kB / 0.5032 GB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.85e-05/0.2131, allocations: 4 kB / 0.5032 GB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.895e-05/0.2131, allocations: 3.984 kB / 0.5032 GB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006682/0.2198, allocations: 2.39 MB / 0.5056 GB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/0.2199, allocations: 288 / 0.5056 GB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002043/0.222, allocations: 260 kB / 0.5058 GB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-05/0.222, allocations: 8 kB / 0.5058 GB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001254/0.2221, allocations: 35.92 kB / 0.5059 GB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.579e-05/0.2222, allocations: 11.94 kB / 0.5059 GB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.404e-05/0.2222, allocations: 7.938 kB / 0.5059 GB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004869/0.2271, allocations: 1.955 MB / 0.5078 GB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006408/0.2278, allocations: 192.2 kB / 0.508 GB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002507/0.2281, allocations: 35.92 kB / 0.508 GB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/0.2294, allocations: 55.97 kB / 0.5081 GB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002834/0.2297, allocations: 80.33 kB / 0.5081 GB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.2298, allocations: 39.98 kB / 0.5082 GB, free: 9.691 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000468/0.2303, allocations: 243.2 kB / 0.5084 GB, free: 9.457 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.597e-06/0.2303, allocations: 0 / 0.5084 GB, free: 9.457 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001672/0.232, allocations: 203.9 kB / 0.5086 GB, free: 9.258 MB / 362.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 (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.0002941/0.2323, allocations: 144.4 kB / 0.5087 GB, free: 9.105 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003042/0.2354, allocations: 0.8705 MB / 0.5096 GB, free: 8.234 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.2354, allocations: 0 / 0.5096 GB, free: 8.234 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001713/0.2371, allocations: 0.4954 MB / 0.5101 GB, free: 7.734 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/0.2396, allocations: 130.4 kB / 0.5102 GB, free: 7.609 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006567/0.2462, allocations: 2.727 MB / 0.5129 GB, free: 4.805 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009076/0.2471, allocations: 0.9403 MB / 0.5138 GB, free: 3.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008975/0.248, allocations: 101.7 kB / 0.5139 GB, free: 3.738 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003268/0.2484, allocations: 63.42 kB / 0.5139 GB, free: 3.676 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.2484, allocations: 0 / 0.5139 GB, free: 3.676 MB / 362.7 MB Notification: Performance of Templates: time 0.2506/0.499, allocations: 6.671 MB / 0.5205 GB, free: 43.2 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/AllComponents/AllComponents.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches