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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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: 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_4.0.0_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_4.0.0_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 106.1 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 195.3 kB / 19.23 MB, free: 3.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 242.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2078/0.2078, allocations: 44.18 MB / 337.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 76.89 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.114, allocations: 60.83 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005074/0.1191, allocations: 4.102 MB / 474 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002249/0.1214, allocations: 1.063 MB / 475.1 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003945/0.1218, allocations: 15.94 kB / 475.1 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.1221, allocations: 102.9 kB / 475.2 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004412/0.1226, allocations: 202.2 kB / 475.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005706/0.1232, allocations: 187.6 kB / 475.6 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000758/0.124, allocations: 0.7784 MB / 476.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003546/0.1243, allocations: 243.3 kB / 476.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003486/0.1247, allocations: 298.9 kB / 476.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003454/0.1251, allocations: 338.5 kB / 477.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.149e-05/0.1252, allocations: 56 kB / 477.3 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.1253, allocations: 95.92 kB / 477.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.1255, allocations: 143.5 kB / 477.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003062/0.1258, allocations: 354.2 kB / 477.9 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006863/0.1265, allocations: 0.7515 MB / 478.6 MB, free: 5.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1265, allocations: 0 / 478.6 MB, free: 5.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1265, allocations: 0 / 478.6 MB, free: 5.652 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.1265, allocations: 4 kB / 478.6 MB, free: 5.648 MB / 350.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.001874/0.1284, allocations: 0.9936 MB / 479.6 MB, free: 4.605 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.1285, allocations: 8.031 kB / 479.6 MB, free: 4.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.1286, allocations: 76.09 kB / 479.7 MB, free: 4.523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004694/0.1291, allocations: 409.7 kB / 480.1 MB, free: 4.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/0.1291, allocations: 37.69 kB / 480.1 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.1292, allocations: 72.28 kB / 480.2 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.1304, allocations: 0.6229 MB / 480.8 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.371e-05/0.1304, allocations: 15.89 kB / 480.8 MB, free: 3.309 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.291e-05/0.1305, allocations: 24 kB / 480.9 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.1305, allocations: 16 kB / 480.9 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.1316, allocations: 0.5255 MB / 481.4 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002995/0.1346, allocations: 2.165 MB / 483.6 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.1359, allocations: 0.703 MB / 484.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005913/0.1365, allocations: 339.2 kB / 484.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001413/0.1366, allocations: 105.8 kB / 484.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.1367, allocations: 46.94 kB / 484.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 3.426e-06/0.1367, allocations: 0 / 484.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=115): time 0.00802/0.1447, allocations: 4.492 MB / 489.2 MB, free: 10.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.1449, allocations: 226.1 kB / 489.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000389/0.1453, allocations: 362 kB / 489.8 MB, free: 9.688 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.703e-05/0.1453, allocations: 41.7 kB / 489.9 MB, free: 9.641 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.1455, allocations: 272.9 kB / 490.1 MB, free: 9.367 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002956/0.1458, allocations: 406 kB / 490.5 MB, free: 8.965 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002435/0.1461, allocations: 178.9 kB / 490.7 MB, free: 8.785 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1462, allocations: 382.8 kB / 491.1 MB, free: 8.402 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006235/0.1468, allocations: 318.6 kB / 491.4 MB, free: 8.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007582/0.1476, allocations: 0.5043 MB / 491.9 MB, free: 7.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.1491, allocations: 0.8728 MB / 492.8 MB, free: 6.582 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.1491, allocations: 4 kB / 492.8 MB, free: 6.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00182/0.1509, allocations: 0.9997 MB / 493.8 MB, free: 5.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.151, allocations: 7.938 kB / 493.8 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.151, allocations: 8 kB / 493.8 MB, free: 5.555 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.951e-05/0.151, allocations: 8.438 kB / 493.8 MB, free: 5.547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.152, allocations: 283.6 kB / 494.1 MB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.984e-05/0.1521, allocations: 17.41 kB / 494.1 MB, free: 5.254 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005084/0.1526, allocations: 51.97 kB / 494.1 MB, free: 5.203 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.601e-05/0.1527, allocations: 40 kB / 494.2 MB, free: 5.164 MB / 366.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.0003267/0.153, allocations: 229.5 kB / 494.4 MB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002498/0.1533, allocations: 79.09 kB / 494.5 MB, free: 4.852 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004501/0.1537, allocations: 218.8 kB / 494.7 MB, free: 4.621 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.1538, allocations: 12 kB / 494.7 MB, free: 4.609 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/0.1538, allocations: 4 kB / 494.7 MB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.103e-05/0.1538, allocations: 7.969 kB / 494.7 MB, free: 4.598 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003861/0.1577, allocations: 2.351 MB / 497.1 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.1577, allocations: 4.281 kB / 497.1 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.1588, allocations: 255.7 kB / 497.3 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.612e-05/0.1588, allocations: 8 kB / 497.3 MB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.189e-05/0.1589, allocations: 39.98 kB / 497.4 MB, free: 1.848 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.616e-05/0.1589, allocations: 8 kB / 497.4 MB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.78e-06/0.1589, allocations: 7.938 kB / 497.4 MB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002642/0.1615, allocations: 1.897 MB / 499.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003382/0.1619, allocations: 204.2 kB / 499.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.162, allocations: 27.94 kB / 499.5 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006604/0.1627, allocations: 43.97 kB / 499.5 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/0.1629, allocations: 88.33 kB / 499.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.685e-05/0.1629, allocations: 35.98 kB / 499.7 MB, free: 15.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002824/0.1632, allocations: 247.2 kB / 499.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.72e-07/0.1632, allocations: 0 / 499.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000937/0.1642, allocations: 196 kB / 0.4884 GB, free: 15.05 MB / 382.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.0001957/0.1644, allocations: 141 kB / 0.4885 GB, free: 14.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002016/0.1664, allocations: 0.8983 MB / 0.4894 GB, free: 14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.1664, allocations: 0 / 0.4894 GB, free: 14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000843/0.1673, allocations: 494.6 kB / 0.4899 GB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.1686, allocations: 140 kB / 0.49 GB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003604/0.1722, allocations: 2.24 MB / 0.4922 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005454/0.1728, allocations: 0.94 MB / 0.4931 GB, free: 10.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002694/0.173, allocations: 71.41 kB / 0.4932 GB, free: 10.04 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1731, allocations: 0 / 0.4932 GB, free: 10.04 MB / 382.1 MB Notification: Performance of Templates: time 0.01404/0.1871, allocations: 8.913 MB / 0.5019 GB, free: 1.129 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches