Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009998/0.0009998, allocations: 175.9 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.201/1.201, allocations: 205.4 MB / 222.9 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006772/0.0006772, allocations: 88.94 kB / 271.2 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2822/0.2822, allocations: 43.56 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003423, allocations: 12 kB / 432 MB, free: 5.801 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1027, allocations: 58.85 MB / 490.8 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.179/0.2817, allocations: 23.6 MB / 0.5024 GB, free: 33.79 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01007/0.2918, allocations: 5.969 MB / 0.5082 GB, free: 29.78 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002739/0.2946, allocations: 110.5 kB / 0.5083 GB, free: 29.76 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001896/0.2965, allocations: 1.038 MB / 0.5093 GB, free: 29.38 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006663/0.3032, allocations: 3.336 MB / 0.5126 GB, free: 28 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.3045, allocations: 477.8 kB / 0.513 GB, free: 27.82 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00186/0.3064, allocations: 1.906 MB / 0.5149 GB, free: 27.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002105/0.3085, allocations: 2.212 MB / 0.5171 GB, free: 26.25 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005925/0.3091, allocations: 0.524 MB / 0.5176 GB, free: 26.06 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006888/0.3098, allocations: 0.7902 MB / 0.5183 GB, free: 25.82 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.3099, allocations: 56.72 kB / 0.5184 GB, free: 25.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007746/0.3107, allocations: 0.5464 MB / 0.5189 GB, free: 25.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003761/0.3111, allocations: 0.6281 MB / 0.5195 GB, free: 25.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004352/0.3116, allocations: 0.6983 MB / 0.5202 GB, free: 25.05 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.3128, allocations: 1.913 MB / 0.5221 GB, free: 24.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3128, allocations: 0 / 0.5221 GB, free: 24.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3128, allocations: 0 / 0.5221 GB, free: 24.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.163e-05/0.3128, allocations: 0 / 0.5221 GB, free: 24.64 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.002287/0.3151, allocations: 1.705 MB / 0.5238 GB, free: 23.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.3152, allocations: 9.531 kB / 0.5238 GB, free: 23.61 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008899/0.3161, allocations: 270.3 kB / 0.524 GB, free: 23.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.3175, allocations: 1.117 MB / 0.5251 GB, free: 22.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.392e-05/0.3176, allocations: 94.64 kB / 0.5252 GB, free: 22.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.3177, allocations: 125.6 kB / 0.5253 GB, free: 22.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004058/0.3218, allocations: 2.984 MB / 0.5282 GB, free: 21.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.978e-05/0.3219, allocations: 9.938 kB / 0.5282 GB, free: 21.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.322, allocations: 54.5 kB / 0.5283 GB, free: 21.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004855/0.3225, allocations: 440 kB / 0.5287 GB, free: 21.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003682/0.3262, allocations: 2.152 MB / 0.5308 GB, free: 20.65 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009349/0.3356, allocations: 10.75 MB / 0.5413 GB, free: 13.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003404/0.339, allocations: 1.234 MB / 0.5425 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005177/0.3395, allocations: 406.8 kB / 0.5429 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003275/0.3428, allocations: 3.012 MB / 0.5459 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.3428, allocations: 38.89 kB / 0.5459 GB, free: 10.76 MB / 378.7 MB Notification: Performance of pre-optimization done (n=51): time 2.414e-06/0.3429, allocations: 1.062 kB / 0.5459 GB, free: 10.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.00993/0.3528, allocations: 3.757 MB / 0.5496 GB, free: 8.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.3529, allocations: 91.09 kB / 0.5496 GB, free: 8.828 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/0.3544, allocations: 1.196 MB / 0.5508 GB, free: 8.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/0.3545, allocations: 36.45 kB / 0.5509 GB, free: 8.121 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004813/0.3549, allocations: 0.9361 MB / 0.5518 GB, free: 7.289 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.3551, allocations: 217.8 kB / 0.552 GB, free: 7.105 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.3551, allocations: 30.12 kB / 0.552 GB, free: 7.082 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.404e-05/0.3552, allocations: 369 kB / 0.5524 GB, free: 6.734 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006545/0.3559, allocations: 414.6 kB / 0.5527 GB, free: 6.535 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000871/0.3568, allocations: 1.249 MB / 0.554 GB, free: 5.156 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/0.3585, allocations: 1.794 MB / 0.5557 GB, free: 3.461 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-05/0.3585, allocations: 13.16 kB / 0.5557 GB, free: 3.457 MB / 378.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002433/0.361, allocations: 1.721 MB / 0.5574 GB, free: 2.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.361, allocations: 18.72 kB / 0.5574 GB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.797e-05/0.361, allocations: 28.92 kB / 0.5575 GB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001784/0.3612, allocations: 82.02 kB / 0.5575 GB, free: 2.547 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009683/0.3622, allocations: 366.3 kB / 0.5579 GB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/0.3633, allocations: 1.699 MB / 0.5595 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008129/0.3641, allocations: 75.19 kB / 0.5596 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-05/0.3642, allocations: 84.78 kB / 0.5597 GB, free: 0.8086 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007459/0.3649, allocations: 0.643 MB / 0.5603 GB, free: 396 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.3651, allocations: 118.2 kB / 0.5604 GB, free: 328 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.3661, allocations: 0.7084 MB / 0.5611 GB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.3662, allocations: 7.625 kB / 0.5611 GB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.3662, allocations: 3.938 kB / 0.5611 GB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.3662, allocations: 3.984 kB / 0.5611 GB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003359/0.3696, allocations: 2.234 MB / 0.5633 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.3696, allocations: 7.984 kB / 0.5633 GB, free: 14.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003961/0.37, allocations: 99.83 kB / 0.5634 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001641/0.3702, allocations: 56.83 kB / 0.5635 GB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/0.3702, allocations: 16 kB / 0.5635 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/0.3717, allocations: 1.753 MB / 0.5652 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.3717, allocations: 7.938 kB / 0.5652 GB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.3731, allocations: 1.095 MB / 0.5663 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003111/0.3734, allocations: 219.6 kB / 0.5665 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.3735, allocations: 23.92 kB / 0.5665 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003554/0.3739, allocations: 23.98 kB / 0.5665 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.873e-05/0.374, allocations: 51.89 kB / 0.5666 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/0.374, allocations: 20 kB / 0.5666 GB, free: 10.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009802/0.375, allocations: 0.756 MB / 0.5674 GB, free: 9.715 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.375, allocations: 4 kB / 0.5674 GB, free: 9.711 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001354/0.3763, allocations: 296 kB / 0.5676 GB, free: 9.422 MB / 394.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002366/0.3766, allocations: 131.2 kB / 0.5678 GB, free: 9.285 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001726/0.3783, allocations: 1.089 MB / 0.5688 GB, free: 8.195 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.3783, allocations: 0 / 0.5688 GB, free: 8.195 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005454/0.3789, allocations: 415.3 kB / 0.5692 GB, free: 7.777 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.3805, allocations: 180 kB / 0.5694 GB, free: 7.605 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00491/0.3854, allocations: 3.532 MB / 0.5728 GB, free: 3.984 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/0.3865, allocations: 1.451 MB / 0.5743 GB, free: 2.504 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/0.3867, allocations: 87.42 kB / 0.5743 GB, free: 2.418 MB / 394.7 MB Notification: Performance of SimCode: time 5.61e-07/0.3867, allocations: 0 / 0.5743 GB, free: 2.418 MB / 394.7 MB Notification: Performance of Templates: time 0.02787/0.4146, allocations: 22.24 MB / 0.5961 GB, free: 12.21 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches