Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001106/0.001106, allocations: 113.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001107/0.001107, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2114/0.2114, allocations: 46.11 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 76.2 kB / 482 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3647, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01644/0.3812, allocations: 14.95 MB / 0.5463 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01089/0.3922, allocations: 4.42 MB / 0.5506 GB, free: 14.28 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003292/0.3955, allocations: 79.81 kB / 0.5507 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004803/0.4003, allocations: 2.223 MB / 0.5528 GB, free: 11.97 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005981/0.4064, allocations: 2.038 MB / 0.5548 GB, free: 9.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.4082, allocations: 0.6122 MB / 0.5554 GB, free: 9.316 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006241/0.4145, allocations: 4.311 MB / 0.5596 GB, free: 4.996 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004798/0.4193, allocations: 3.154 MB / 0.5627 GB, free: 1.797 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003012/0.4223, allocations: 1.592 MB / 0.5643 GB, free: 204 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00353/0.4259, allocations: 2.227 MB / 0.5664 GB, free: 13.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001166/0.4271, allocations: 344 kB / 0.5668 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002757/0.4298, allocations: 1.034 MB / 0.5678 GB, free: 12.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002742/0.4326, allocations: 1.964 MB / 0.5697 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005048/0.4377, allocations: 2.38 MB / 0.572 GB, free: 8.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01227/0.45, allocations: 7.736 MB / 0.5796 GB, free: 480 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.45, allocations: 0 / 0.5796 GB, free: 480 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.45, allocations: 0 / 0.5796 GB, free: 480 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003269/0.4504, allocations: 4 kB / 0.5796 GB, free: 476 kB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.01443/0.4648, allocations: 5.057 MB / 0.5845 GB, free: 11.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.4649, allocations: 8.031 kB / 0.5845 GB, free: 11.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01193/0.4768, allocations: 3.188 MB / 0.5876 GB, free: 8.129 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006799/0.4837, allocations: 2.374 MB / 0.59 GB, free: 5.703 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000322/0.484, allocations: 254.6 kB / 0.5902 GB, free: 5.453 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001879/0.4859, allocations: 327.7 kB / 0.5905 GB, free: 5.133 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02769/0.5136, allocations: 12.24 MB / 0.6025 GB, free: 8.355 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002144/0.5139, allocations: 35.64 kB / 0.6025 GB, free: 8.32 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001556/0.5155, allocations: 159.8 kB / 0.6027 GB, free: 8.164 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005767/0.5212, allocations: 2.844 MB / 0.6054 GB, free: 5.312 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02582/0.5471, allocations: 11.13 MB / 0.6163 GB, free: 10.17 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07299/0.6201, allocations: 40.49 MB / 0.6558 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009899/0.6301, allocations: 4.689 MB / 0.6604 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003489/0.6336, allocations: 2.435 MB / 0.6628 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001216/0.6348, allocations: 1.315 MB / 0.6641 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/0.6349, allocations: 56.56 kB / 0.6641 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 5.62e-06/0.6349, allocations: 0 / 0.6641 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of matching and sorting (n=267): time 0.04547/0.6804, allocations: 18.69 MB / 0.6824 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.6805, allocations: 73.41 kB / 0.6825 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005215/0.6857, allocations: 3.167 MB / 0.6856 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006838/0.6864, allocations: 61.7 kB / 0.6856 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002879/0.6893, allocations: 3.11 MB / 0.6887 GB, free: 14.34 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001528/0.6909, allocations: 0.9752 MB / 0.6896 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001908/0.6928, allocations: 1.187 MB / 0.6908 GB, free: 12.16 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.6929, allocations: 301.1 kB / 0.691 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004043/0.697, allocations: 2.471 MB / 0.6935 GB, free: 9.383 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007731/0.7047, allocations: 5.727 MB / 0.6991 GB, free: 2.051 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01313/0.7179, allocations: 8.988 MB / 0.7078 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001319/0.7181, allocations: 32 kB / 0.7079 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01866/0.7368, allocations: 9.004 MB / 0.7167 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001393/0.7369, allocations: 52 kB / 0.7167 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002512/0.7372, allocations: 116 kB / 0.7168 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003325/0.7405, allocations: 1.051 MB / 0.7178 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00483/0.7454, allocations: 1.349 MB / 0.7192 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00782/0.7532, allocations: 5.551 MB / 0.7246 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00404/0.7573, allocations: 319.8 kB / 0.7249 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00105/0.7584, allocations: 336 kB / 0.7252 GB, free: 5.52 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,axis2.arrowLine.twoHeadedArrow,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],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],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.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 (729): * Single equations (assignments): 722 * 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 {(4,11,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004841/0.7632, allocations: 2.421 MB / 0.7276 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008955/0.7642, allocations: 308 kB / 0.7279 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3132/1.077, allocations: 5.359 MB / 0.7331 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.215e-05/1.077, allocations: 9.328 kB / 0.7331 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/1.077, allocations: 7.547 kB / 0.7331 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007095/1.078, allocations: 336.8 kB / 0.7334 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005146/1.079, allocations: 46.28 kB / 0.7335 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/1.08, allocations: 138.2 kB / 0.7336 GB, free: 176 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003225/1.08, allocations: 143.3 kB / 0.7337 GB, free: 176 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008044/1.088, allocations: 4.729 MB / 0.7384 GB, free: 174.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00724/1.096, allocations: 6.945 MB / 0.7451 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001839/1.097, allocations: 1.923 MB / 0.747 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002364/1.1, allocations: 1.938 MB / 0.7489 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of Backend: time 1.312e-06/1.1, allocations: 3.688 kB / 0.7489 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007116/1.107, allocations: 4.516 MB / 0.7533 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of SimCode: time 0.01513/1.122, allocations: 10.1 MB / 0.7632 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.06559/1.188, allocations: 47.29 MB / 0.8094 GB, free: 113.8 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches