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.001746/0.001746, allocations: 112.8 kB / 17.78 MB, free: 5.27 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.002423/0.002423, allocations: 184.1 kB / 18.7 MB, free: 4.359 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.402/1.402, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2037/0.2037, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 67.89 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3661, allocations: 60.81 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01319/0.3794, allocations: 12.32 MB / 0.5309 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00926/0.3887, allocations: 3.848 MB / 0.5347 GB, free: 7.891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00235/0.3911, allocations: 64.75 kB / 0.5347 GB, free: 7.879 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003099/0.3943, allocations: 1.31 MB / 0.536 GB, free: 6.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005393/0.3997, allocations: 1.799 MB / 0.5378 GB, free: 5.758 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.401, allocations: 422.1 kB / 0.5382 GB, free: 5.496 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005239/0.4062, allocations: 3.578 MB / 0.5417 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002912/0.4092, allocations: 2.018 MB / 0.5437 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002224/0.4114, allocations: 1.201 MB / 0.5448 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002252/0.4137, allocations: 1.748 MB / 0.5465 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004975/0.4142, allocations: 236 kB / 0.5468 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00176/0.416, allocations: 0.8386 MB / 0.5476 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001391/0.4174, allocations: 1.593 MB / 0.5491 GB, free: 12.99 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001973/0.4193, allocations: 1.894 MB / 0.551 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006704/0.4261, allocations: 6.131 MB / 0.557 GB, free: 4.934 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.098e-05/0.4261, allocations: 0 / 0.557 GB, free: 4.934 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.248e-06/0.4261, allocations: 0 / 0.557 GB, free: 4.934 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001978/0.4263, allocations: 3.938 kB / 0.557 GB, free: 4.93 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.008012/0.4343, allocations: 4.058 MB / 0.5609 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.4344, allocations: 12.02 kB / 0.5609 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01071/0.4451, allocations: 3.072 MB / 0.5639 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004033/0.4492, allocations: 1.929 MB / 0.5658 GB, free: 11.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.4493, allocations: 189 kB / 0.566 GB, free: 11.54 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006725/0.45, allocations: 251.7 kB / 0.5663 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02208/0.4721, allocations: 10.18 MB / 0.5762 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001791/0.4724, allocations: 23.81 kB / 0.5762 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001256/0.4736, allocations: 127.8 kB / 0.5763 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006049/0.4797, allocations: 2.459 MB / 0.5787 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02553/0.5053, allocations: 9.357 MB / 0.5879 GB, free: 4.711 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05597/0.5613, allocations: 31.44 MB / 0.6186 GB, free: 4.441 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006655/0.568, allocations: 3.357 MB / 0.6219 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/0.5697, allocations: 1.076 MB / 0.6229 GB, free: 15.78 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001227/0.571, allocations: 1.303 MB / 0.6242 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.956e-05/0.5711, allocations: 51.88 kB / 0.6242 GB, free: 14.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=185): time 7.404e-06/0.5711, allocations: 0 / 0.6242 GB, free: 14.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=191): time 0.02207/0.5932, allocations: 9.099 MB / 0.6331 GB, free: 4.996 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/0.5933, allocations: 64.72 kB / 0.6332 GB, free: 4.918 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00506/0.5983, allocations: 2.607 MB / 0.6357 GB, free: 2.289 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000126/0.5985, allocations: 53.7 kB / 0.6358 GB, free: 2.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002268/0.6008, allocations: 2.67 MB / 0.6384 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007571/0.6015, allocations: 0.7093 MB / 0.6391 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001503/0.603, allocations: 0.9646 MB / 0.64 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.477e-05/0.6032, allocations: 309 kB / 0.6403 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002364/0.6055, allocations: 1.548 MB / 0.6418 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004278/0.6098, allocations: 4.391 MB / 0.6461 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006909/0.6167, allocations: 6.559 MB / 0.6525 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.679e-05/0.6168, allocations: 28 kB / 0.6525 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.009016/0.6258, allocations: 5.854 MB / 0.6583 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.038e-05/0.6259, allocations: 44 kB / 0.6583 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001455/0.6261, allocations: 100 kB / 0.6584 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003693/0.6265, allocations: 173.6 kB / 0.6586 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003138/0.6296, allocations: 1.076 MB / 0.6596 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001613/0.6312, allocations: 1.8 MB / 0.6614 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002683/0.6339, allocations: 207.9 kB / 0.6616 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004737/0.6344, allocations: 296 kB / 0.6619 GB, free: 4.496 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.003406/0.6378, allocations: 1.985 MB / 0.6638 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004082/0.6383, allocations: 248.8 kB / 0.664 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003861/0.6421, allocations: 2.537 MB / 0.6665 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.944e-05/0.6422, allocations: 20 kB / 0.6665 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.6422, allocations: 0 / 0.6665 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.6422, allocations: 7.969 kB / 0.6665 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01257/0.6548, allocations: 7.929 MB / 0.6743 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-05/0.6548, allocations: 16.06 kB / 0.6743 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.6559, allocations: 255.6 kB / 0.6745 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001578/0.656, allocations: 56.97 kB / 0.6746 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/0.6562, allocations: 39.98 kB / 0.6746 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/0.6575, allocations: 1.629 MB / 0.6762 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.005e-05/0.6575, allocations: 15.94 kB / 0.6762 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005074/0.6626, allocations: 4.004 MB / 0.6801 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007076/0.6633, allocations: 305.8 kB / 0.6804 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004243/0.6638, allocations: 43.91 kB / 0.6805 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008995/0.6647, allocations: 56.02 kB / 0.6805 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000206/0.6649, allocations: 128.6 kB / 0.6807 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/0.665, allocations: 63.98 kB / 0.6807 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002605/0.6676, allocations: 1.6 MB / 0.6823 GB, free: 15.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6676, allocations: 0 / 0.6823 GB, free: 15.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003351/0.671, allocations: 0.8046 MB / 0.6831 GB, free: 14.21 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.0004191/0.6714, allocations: 175.1 kB / 0.6832 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005359/0.6768, allocations: 3.884 MB / 0.687 GB, free: 10.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.6768, allocations: 4.25 kB / 0.687 GB, free: 10.16 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00169/0.6785, allocations: 1.229 MB / 0.6882 GB, free: 8.918 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002082/0.6806, allocations: 358.6 kB / 0.6886 GB, free: 8.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01391/0.6945, allocations: 8.408 MB / 0.6968 GB, free: 8 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004094/0.6987, allocations: 3.134 MB / 0.6998 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003696/0.7024, allocations: 1.706 MB / 0.7015 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005455/0.7029, allocations: 187.4 kB / 0.7017 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of SimCode: time 6.51e-07/0.703, allocations: 0 / 0.7017 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of Templates: time 0.04364/0.7466, allocations: 20.96 MB / 0.7222 GB, free: 6.062 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins/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