Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.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.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 109.3 kB / 18.45 MB, free: 4.602 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.001512/0.001512, allocations: 179 kB / 19.38 MB, free: 3.684 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.324/1.324, allocations: 222.9 MB / 243.1 MB, free: 15.03 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.208/0.208, allocations: 44.18 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 67.89 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3359, allocations: 60.82 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01369/0.3497, allocations: 12.31 MB / 0.5316 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009318/0.359, allocations: 3.851 MB / 0.5354 GB, free: 7.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002835/0.3619, allocations: 61.59 kB / 0.5354 GB, free: 7.875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003357/0.3653, allocations: 1.307 MB / 0.5367 GB, free: 6.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006054/0.3714, allocations: 1.762 MB / 0.5384 GB, free: 5.781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.373, allocations: 425.5 kB / 0.5388 GB, free: 5.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006353/0.3793, allocations: 3.576 MB / 0.5423 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003863/0.3832, allocations: 2.015 MB / 0.5443 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002941/0.3862, allocations: 1.201 MB / 0.5454 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003095/0.3893, allocations: 1.748 MB / 0.5472 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009357/0.3903, allocations: 240 kB / 0.5474 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002404/0.3927, allocations: 0.8308 MB / 0.5482 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002128/0.3948, allocations: 1.589 MB / 0.5497 GB, free: 13.03 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003255/0.3981, allocations: 1.894 MB / 0.5516 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007779/0.4059, allocations: 6.143 MB / 0.5576 GB, free: 4.957 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4059, allocations: 0 / 0.5576 GB, free: 4.957 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4059, allocations: 4 kB / 0.5576 GB, free: 4.953 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002281/0.4062, allocations: 0 / 0.5576 GB, free: 4.953 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.009222/0.4154, allocations: 4.046 MB / 0.5615 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.4155, allocations: 12.03 kB / 0.5616 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.011/0.4265, allocations: 3.076 MB / 0.5646 GB, free: 13.74 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004233/0.4308, allocations: 1.933 MB / 0.5665 GB, free: 11.76 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001996/0.431, allocations: 193 kB / 0.5666 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001085/0.4321, allocations: 255.7 kB / 0.5669 GB, free: 11.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01789/0.45, allocations: 10.18 MB / 0.5768 GB, free: 0.707 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001235/0.4502, allocations: 19.81 kB / 0.5768 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009274/0.4511, allocations: 119.8 kB / 0.577 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00414/0.4553, allocations: 2.471 MB / 0.5794 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01909/0.4744, allocations: 9.357 MB / 0.5885 GB, free: 4.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04974/0.5242, allocations: 31.44 MB / 0.6192 GB, free: 4.465 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007062/0.5313, allocations: 3.357 MB / 0.6225 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/0.5329, allocations: 1.074 MB / 0.6235 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001091/0.534, allocations: 1.307 MB / 0.6248 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.5341, allocations: 43.88 kB / 0.6249 GB, free: 14.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=185): time 4.398e-06/0.5341, allocations: 0 / 0.6249 GB, free: 14.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=191): time 0.01901/0.5531, allocations: 9.103 MB / 0.6337 GB, free: 5.023 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.5532, allocations: 68.72 kB / 0.6338 GB, free: 4.941 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003302/0.5565, allocations: 2.603 MB / 0.6363 GB, free: 2.316 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001575/0.5567, allocations: 49.7 kB / 0.6364 GB, free: 2.262 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001726/0.5584, allocations: 2.67 MB / 0.639 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000667/0.5591, allocations: 0.7054 MB / 0.6397 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001133/0.5602, allocations: 0.9724 MB / 0.6406 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.5603, allocations: 305.1 kB / 0.6409 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002151/0.5625, allocations: 1.552 MB / 0.6424 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004071/0.5666, allocations: 4.383 MB / 0.6467 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007302/0.5739, allocations: 6.567 MB / 0.6531 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.234e-05/0.574, allocations: 28 kB / 0.6532 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01008/0.5841, allocations: 5.851 MB / 0.6589 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.238e-05/0.5842, allocations: 48 kB / 0.6589 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001582/0.5844, allocations: 100 kB / 0.659 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003688/0.5848, allocations: 176.9 kB / 0.6592 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003153/0.5879, allocations: 1.068 MB / 0.6602 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/0.5896, allocations: 1.797 MB / 0.662 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002744/0.5924, allocations: 207.9 kB / 0.6622 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005905/0.593, allocations: 300 kB / 0.6625 GB, free: 4.523 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (596): * Single equations (assignments): 589 * Array equations: 6 * 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.003488/0.5965, allocations: 1.985 MB / 0.6644 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004794/0.597, allocations: 244.7 kB / 0.6646 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003975/0.601, allocations: 2.537 MB / 0.6671 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.209e-05/0.601, allocations: 24 kB / 0.6671 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.601, allocations: 0 / 0.6671 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/0.601, allocations: 7.969 kB / 0.6672 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01274/0.6138, allocations: 7.933 MB / 0.6749 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.4e-05/0.6139, allocations: 11.94 kB / 0.6749 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009771/0.6149, allocations: 252.5 kB / 0.6752 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001626/0.615, allocations: 64.83 kB / 0.6752 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/0.6152, allocations: 40 kB / 0.6753 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/0.6165, allocations: 1.625 MB / 0.6768 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.056e-06/0.6165, allocations: 11.94 kB / 0.6769 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004898/0.6214, allocations: 4.019 MB / 0.6808 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006295/0.6221, allocations: 301.8 kB / 0.6811 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004288/0.6225, allocations: 43.92 kB / 0.6811 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009275/0.6234, allocations: 55.95 kB / 0.6812 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/0.6237, allocations: 124.6 kB / 0.6813 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/0.6238, allocations: 63.97 kB / 0.6813 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002642/0.6265, allocations: 1.607 MB / 0.6829 GB, free: 15.04 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.61e-07/0.6265, allocations: 0 / 0.6829 GB, free: 15.04 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003562/0.63, allocations: 0.8007 MB / 0.6837 GB, free: 14.23 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (139): * Single equations (assignments): 132 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.0004362/0.6305, allocations: 174.8 kB / 0.6839 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005578/0.6361, allocations: 3.876 MB / 0.6876 GB, free: 10.19 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.6361, allocations: 4 kB / 0.6876 GB, free: 10.19 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001601/0.6377, allocations: 1.233 MB / 0.6889 GB, free: 8.941 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00202/0.6397, allocations: 352.3 kB / 0.6892 GB, free: 8.598 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01505/0.6548, allocations: 8.839 MB / 0.6978 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004105/0.659, allocations: 3.149 MB / 0.7009 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007272/0.6597, allocations: 227.4 kB / 0.7011 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of SimCode: time 9.12e-07/0.6597, allocations: 0 / 0.7011 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.2951/0.9548, allocations: 65.46 MB / 0.765 GB, free: 161.9 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches