Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009941/0.0009942, allocations: 201.6 kB / 17.43 MB, free: 4.371 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 229.5 MB / 247.7 MB, free: 6.352 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007395/0.0007397, allocations: 105.3 kB / 299.8 MB, free: 5.355 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3471/0.3471, allocations: 45.01 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002486/0.0002486, allocations: 8 kB / 470.8 MB, free: 7.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3021, allocations: 63.09 MB / 0.5214 GB, free: 38.48 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01625/0.3184, allocations: 23.69 MB / 0.5445 GB, free: 21.7 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01195/0.3304, allocations: 9.439 MB / 0.5537 GB, free: 13.65 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005066/0.3355, allocations: 107.3 kB / 0.5538 GB, free: 13.64 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007517/0.3363, allocations: 167.6 kB / 0.554 GB, free: 13.56 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003194/0.3395, allocations: 0.847 MB / 0.5548 GB, free: 13.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.3411, allocations: 485.6 kB / 0.5553 GB, free: 13.01 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004052/0.3452, allocations: 2.354 MB / 0.5576 GB, free: 12.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004115/0.3493, allocations: 2.739 MB / 0.5602 GB, free: 10.76 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001437/0.3508, allocations: 0.5248 MB / 0.5608 GB, free: 10.57 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001802/0.3526, allocations: 0.7915 MB / 0.5615 GB, free: 10.32 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004343/0.3531, allocations: 58.44 kB / 0.5616 GB, free: 10.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/0.3548, allocations: 0.5176 MB / 0.5621 GB, free: 10.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001129/0.3559, allocations: 0.616 MB / 0.5627 GB, free: 9.836 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001318/0.3573, allocations: 0.7318 MB / 0.5634 GB, free: 9.301 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002418/0.3597, allocations: 2.328 MB / 0.5657 GB, free: 7.715 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3597, allocations: 0 / 0.5657 GB, free: 7.715 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3597, allocations: 1.219 kB / 0.5657 GB, free: 7.715 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.899e-05/0.3597, allocations: 0 / 0.5657 GB, free: 7.715 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.002595/0.3623, allocations: 1.686 MB / 0.5673 GB, free: 6.465 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.3624, allocations: 13.28 kB / 0.5673 GB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009523/0.3634, allocations: 273.2 kB / 0.5676 GB, free: 6.328 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001611/0.365, allocations: 1.032 MB / 0.5686 GB, free: 5.602 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.696e-05/0.365, allocations: 106.8 kB / 0.5687 GB, free: 5.512 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.3652, allocations: 120 kB / 0.5688 GB, free: 5.395 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004029/0.3692, allocations: 2.992 MB / 0.5717 GB, free: 2.207 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.608e-05/0.3693, allocations: 11.84 kB / 0.5718 GB, free: 2.195 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.3694, allocations: 59.91 kB / 0.5718 GB, free: 2.137 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004597/0.3699, allocations: 438 kB / 0.5722 GB, free: 1.707 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00362/0.3735, allocations: 2.152 MB / 0.5743 GB, free: 15.55 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01114/0.3847, allocations: 10.75 MB / 0.5848 GB, free: 4.523 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003416/0.3881, allocations: 1.231 MB / 0.586 GB, free: 3.273 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005604/0.3887, allocations: 410.2 kB / 0.5864 GB, free: 2.871 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00384/0.3925, allocations: 2.996 MB / 0.5894 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.3926, allocations: 43 kB / 0.5894 GB, free: 15.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=51): time 2.504e-06/0.3926, allocations: 0 / 0.5894 GB, free: 15.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=57): time 0.01021/0.4028, allocations: 3.752 MB / 0.5931 GB, free: 11.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.4029, allocations: 81.67 kB / 0.5931 GB, free: 11.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/0.4044, allocations: 1.178 MB / 0.5943 GB, free: 10.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.4044, allocations: 37.7 kB / 0.5943 GB, free: 10.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005734/0.405, allocations: 0.9395 MB / 0.5952 GB, free: 9.422 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.4051, allocations: 221 kB / 0.5955 GB, free: 9.203 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-05/0.4052, allocations: 32 kB / 0.5955 GB, free: 9.172 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.4053, allocations: 373.9 kB / 0.5958 GB, free: 8.801 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005633/0.4059, allocations: 403.7 kB / 0.5962 GB, free: 8.406 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.407, allocations: 1.25 MB / 0.5974 GB, free: 6.746 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/0.4087, allocations: 1.795 MB / 0.5992 GB, free: 4.539 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.238e-05/0.4087, allocations: 8 kB / 0.5992 GB, free: 4.531 MB / 410.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002287/0.411, allocations: 1.726 MB / 0.6009 GB, free: 2.797 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.4111, allocations: 19.94 kB / 0.6009 GB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.41e-05/0.4111, allocations: 28 kB / 0.6009 GB, free: 2.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001923/0.4113, allocations: 92.86 kB / 0.601 GB, free: 2.656 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009655/0.4123, allocations: 355.4 kB / 0.6014 GB, free: 2.309 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/0.4136, allocations: 1.694 MB / 0.603 GB, free: 492 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007913/0.4144, allocations: 75.89 kB / 0.6031 GB, free: 416 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9e-05/0.4145, allocations: 88.06 kB / 0.6032 GB, free: 328 kB / 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.0008848/0.4154, allocations: 0.6324 MB / 0.6038 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.4155, allocations: 114.5 kB / 0.6039 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.4166, allocations: 0.7107 MB / 0.6046 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.4166, allocations: 4 kB / 0.6046 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4166, allocations: 3.938 kB / 0.6046 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.4166, allocations: 3.984 kB / 0.6046 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002975/0.4196, allocations: 2.231 MB / 0.6068 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.4196, allocations: 8 kB / 0.6068 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000351/0.42, allocations: 100.4 kB / 0.6069 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001675/0.4202, allocations: 68.77 kB / 0.607 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.4202, allocations: 15.94 kB / 0.607 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001377/0.4216, allocations: 1.749 MB / 0.6087 GB, free: 10.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.4216, allocations: 8.094 kB / 0.6087 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.4229, allocations: 1.087 MB / 0.6097 GB, free: 9.238 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/0.4231, allocations: 183.6 kB / 0.6099 GB, free: 9.039 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.4232, allocations: 24 kB / 0.6099 GB, free: 9.016 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003577/0.4236, allocations: 27.97 kB / 0.61 GB, free: 8.988 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.177e-05/0.4237, allocations: 43.83 kB / 0.61 GB, free: 8.945 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.292e-05/0.4237, allocations: 20 kB / 0.61 GB, free: 8.926 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009334/0.4247, allocations: 0.7519 MB / 0.6108 GB, free: 8.168 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4247, allocations: 0 / 0.6108 GB, free: 8.168 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001286/0.426, allocations: 304 kB / 0.6111 GB, free: 7.871 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.0002234/0.4262, allocations: 129.7 kB / 0.6112 GB, free: 7.738 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001674/0.4279, allocations: 1.097 MB / 0.6123 GB, free: 6.637 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4279, allocations: 0 / 0.6123 GB, free: 6.637 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005165/0.4284, allocations: 411.8 kB / 0.6126 GB, free: 6.223 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/0.4299, allocations: 180.8 kB / 0.6128 GB, free: 6.047 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004951/0.4349, allocations: 3.554 MB / 0.6163 GB, free: 2.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001359/0.4362, allocations: 1.451 MB / 0.6177 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001069/0.4373, allocations: 409.7 kB / 0.6181 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.4375, allocations: 75.44 kB / 0.6182 GB, free: 464 kB / 426.7 MB Notification: Performance of SimCode: time 7.22e-07/0.4375, allocations: 4 kB / 0.6182 GB, free: 460 kB / 426.7 MB Notification: Performance of Templates: time 0.01963/0.4572, allocations: 9.934 MB / 0.6279 GB, free: 6.578 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches