Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 182 kB / 17.41 MB, free: 4.281 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 225.7 MB / 243.9 MB, free: 8.449 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008718/0.0008716, allocations: 96.89 kB / 295.1 MB, free: 9.496 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.376/0.376, allocations: 44.32 MB / 390.5 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003349, allocations: 12 kB / 463.2 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3618, allocations: 61.88 MB / 0.5127 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01813/0.3799, allocations: 23.67 MB / 0.5358 GB, free: 21.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01583/0.3958, allocations: 9.053 MB / 0.5447 GB, free: 13.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005534/0.4014, allocations: 108.9 kB / 0.5448 GB, free: 13.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007031/0.4022, allocations: 168.4 kB / 0.545 GB, free: 13.44 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002307/0.4045, allocations: 0.8586 MB / 0.5458 GB, free: 13.08 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000985/0.4055, allocations: 478.6 kB / 0.5462 GB, free: 12.89 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002248/0.4077, allocations: 2.299 MB / 0.5485 GB, free: 12.21 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002724/0.4105, allocations: 2.743 MB / 0.5512 GB, free: 10.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008318/0.4113, allocations: 0.5327 MB / 0.5517 GB, free: 10.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009806/0.4123, allocations: 0.7789 MB / 0.5525 GB, free: 10.22 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.4125, allocations: 53.81 kB / 0.5525 GB, free: 10.22 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/0.4136, allocations: 0.5465 MB / 0.553 GB, free: 10.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005885/0.4142, allocations: 0.6266 MB / 0.5536 GB, free: 9.883 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000612/0.4148, allocations: 0.7305 MB / 0.5544 GB, free: 9.391 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002611/0.4174, allocations: 2.337 MB / 0.5566 GB, free: 8.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4174, allocations: 0.5 kB / 0.5566 GB, free: 8.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.4175, allocations: 1.188 kB / 0.5566 GB, free: 8.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.74e-05/0.4175, allocations: 3.938 kB / 0.5567 GB, free: 8.727 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.00315/0.4207, allocations: 1.7 MB / 0.5583 GB, free: 7.699 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.4207, allocations: 9 kB / 0.5583 GB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.4218, allocations: 268.9 kB / 0.5586 GB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/0.4236, allocations: 1.063 MB / 0.5596 GB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.481e-05/0.4237, allocations: 100.2 kB / 0.5597 GB, free: 6.945 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002133/0.424, allocations: 125.7 kB / 0.5598 GB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005543/0.4295, allocations: 2.987 MB / 0.5627 GB, free: 5.543 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.512e-05/0.4296, allocations: 14.14 kB / 0.5628 GB, free: 5.535 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/0.4297, allocations: 59.91 kB / 0.5628 GB, free: 5.492 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006782/0.4304, allocations: 435.8 kB / 0.5632 GB, free: 5.406 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005082/0.4355, allocations: 2.155 MB / 0.5653 GB, free: 4.746 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01318/0.4487, allocations: 10.75 MB / 0.5758 GB, free: 11.87 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003578/0.4523, allocations: 1.228 MB / 0.577 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006017/0.453, allocations: 411.2 kB / 0.5774 GB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003765/0.4567, allocations: 3.003 MB / 0.5804 GB, free: 6.969 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.4568, allocations: 35 kB / 0.5804 GB, free: 6.926 MB / 394.7 MB Notification: Performance of pre-optimization done (n=51): time 2.294e-06/0.4568, allocations: 0 / 0.5804 GB, free: 6.926 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.01049/0.4673, allocations: 3.748 MB / 0.584 GB, free: 3.059 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.4674, allocations: 93.61 kB / 0.5841 GB, free: 2.949 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/0.4691, allocations: 1.182 MB / 0.5853 GB, free: 1.754 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.4691, allocations: 33.7 kB / 0.5853 GB, free: 1.715 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006424/0.4698, allocations: 0.9355 MB / 0.5862 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.4699, allocations: 229 kB / 0.5865 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.47, allocations: 28 kB / 0.5865 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.4702, allocations: 369.9 kB / 0.5868 GB, free: 148 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000639/0.4708, allocations: 411.7 kB / 0.5872 GB, free: 15.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/0.472, allocations: 1.25 MB / 0.5884 GB, free: 14.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001954/0.474, allocations: 1.795 MB / 0.5902 GB, free: 11.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.051e-05/0.474, allocations: 12 kB / 0.5902 GB, free: 11.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002728/0.4767, allocations: 1.71 MB / 0.5919 GB, free: 10.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/0.4768, allocations: 16 kB / 0.5919 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.277e-05/0.4769, allocations: 32 kB / 0.5919 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002249/0.4771, allocations: 89.38 kB / 0.592 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.4782, allocations: 363.3 kB / 0.5924 GB, free: 9.648 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/0.4798, allocations: 1.701 MB / 0.594 GB, free: 7.812 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009506/0.4807, allocations: 67.98 kB / 0.5941 GB, free: 7.746 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.4809, allocations: 88 kB / 0.5942 GB, free: 7.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001052/0.4819, allocations: 0.6362 MB / 0.5948 GB, free: 7.016 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.4821, allocations: 118.5 kB / 0.5949 GB, free: 6.898 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/0.4833, allocations: 0.7069 MB / 0.5956 GB, free: 6.176 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.4833, allocations: 4 kB / 0.5956 GB, free: 6.172 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.4833, allocations: 11.92 kB / 0.5956 GB, free: 6.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.4834, allocations: 0 / 0.5956 GB, free: 6.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003471/0.4868, allocations: 2.239 MB / 0.5978 GB, free: 3.812 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.4869, allocations: 4 kB / 0.5978 GB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003654/0.4872, allocations: 91.89 kB / 0.5979 GB, free: 3.719 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000181/0.4874, allocations: 72.73 kB / 0.598 GB, free: 3.645 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-05/0.4875, allocations: 12 kB / 0.598 GB, free: 3.633 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001526/0.489, allocations: 1.745 MB / 0.5997 GB, free: 1.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.489, allocations: 4 kB / 0.5997 GB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.4904, allocations: 1.091 MB / 0.6007 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002881/0.4907, allocations: 187.6 kB / 0.6009 GB, free: 392 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.4909, allocations: 20 kB / 0.6009 GB, free: 372 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003889/0.4913, allocations: 23.98 kB / 0.601 GB, free: 348 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.629e-05/0.4914, allocations: 55.89 kB / 0.601 GB, free: 292 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.4914, allocations: 16 kB / 0.601 GB, free: 276 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001043/0.4925, allocations: 0.7519 MB / 0.6018 GB, free: 15.51 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4925, allocations: 0 / 0.6018 GB, free: 15.51 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001476/0.494, allocations: 304 kB / 0.6021 GB, free: 15.21 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002553/0.4942, allocations: 139 kB / 0.6022 GB, free: 15.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001844/0.4961, allocations: 1.093 MB / 0.6033 GB, free: 13.97 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4961, allocations: 4 kB / 0.6033 GB, free: 13.97 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005731/0.4967, allocations: 399 kB / 0.6036 GB, free: 13.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.4981, allocations: 180.7 kB / 0.6038 GB, free: 13.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005415/0.5036, allocations: 3.547 MB / 0.6073 GB, free: 9.762 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001409/0.505, allocations: 1.447 MB / 0.6087 GB, free: 8.285 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001082/0.5061, allocations: 421.8 kB / 0.6091 GB, free: 7.871 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.5063, allocations: 75.44 kB / 0.6092 GB, free: 7.797 MB / 426.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5063, allocations: 0 / 0.6092 GB, free: 7.797 MB / 426.7 MB Notification: Performance of Templates: time 0.0229/0.5292, allocations: 9.942 MB / 0.6189 GB, free: 13.92 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches