Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 112.7 kB / 18.45 MB, free: 4.645 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.001363/0.001363, allocations: 185.2 kB / 19.38 MB, free: 3.723 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.256/1.256, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.195/0.195, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 59.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3077, allocations: 60.82 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01369/0.3215, allocations: 12.32 MB / 0.5316 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009212/0.3307, allocations: 3.923 MB / 0.5354 GB, free: 7.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002772/0.3336, allocations: 69.5 kB / 0.5355 GB, free: 7.816 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003424/0.337, allocations: 1.306 MB / 0.5368 GB, free: 6.922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005232/0.3423, allocations: 1.757 MB / 0.5385 GB, free: 5.727 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.344, allocations: 491.2 kB / 0.539 GB, free: 5.422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005867/0.3498, allocations: 3.594 MB / 0.5425 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003478/0.3534, allocations: 2.021 MB / 0.5444 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002663/0.356, allocations: 1.201 MB / 0.5456 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002858/0.3589, allocations: 1.717 MB / 0.5473 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007767/0.3597, allocations: 236 kB / 0.5475 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.3618, allocations: 0.9517 MB / 0.5484 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001647/0.3635, allocations: 1.601 MB / 0.55 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0025/0.366, allocations: 1.894 MB / 0.5519 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006887/0.3729, allocations: 6.241 MB / 0.5579 GB, free: 4.629 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.373, allocations: 4 kB / 0.558 GB, free: 4.625 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.373, allocations: 0 / 0.558 GB, free: 4.625 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001593/0.3731, allocations: 0 / 0.558 GB, free: 4.625 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.00755/0.3807, allocations: 4.155 MB / 0.562 GB, free: 412 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.3807, allocations: 8.031 kB / 0.562 GB, free: 404 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01005/0.3908, allocations: 3.072 MB / 0.565 GB, free: 13.31 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004872/0.3957, allocations: 1.901 MB / 0.5669 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001793/0.3959, allocations: 189 kB / 0.5671 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009199/0.3969, allocations: 259.8 kB / 0.5673 GB, free: 10.92 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01623/0.4131, allocations: 10.48 MB / 0.5775 GB, free: 8 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001147/0.4133, allocations: 35.64 kB / 0.5776 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004027/0.4137, allocations: 119.8 kB / 0.5777 GB, free: 15.85 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004069/0.4178, allocations: 2.549 MB / 0.5802 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01847/0.4363, allocations: 9.919 MB / 0.5899 GB, free: 3.375 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04958/0.4859, allocations: 34.27 MB / 0.6233 GB, free: 276 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00928/0.4952, allocations: 5.186 MB / 0.6284 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00306/0.4983, allocations: 2.291 MB / 0.6306 GB, free: 8.562 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001704/0.5001, allocations: 1.884 MB / 0.6325 GB, free: 6.348 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.705e-05/0.5001, allocations: 56.5 kB / 0.6325 GB, free: 6.281 MB / 494.1 MB Notification: Performance of pre-optimization done (n=229): time 5.18e-06/0.5001, allocations: 0 / 0.6325 GB, free: 6.281 MB / 494.1 MB Notification: Performance of matching and sorting (n=235): time 0.03163/0.5318, allocations: 13.99 MB / 0.6462 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.5319, allocations: 77.34 kB / 0.6463 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003897/0.5358, allocations: 2.627 MB / 0.6488 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004614/0.5363, allocations: 57.7 kB / 0.6489 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001772/0.538, allocations: 2.635 MB / 0.6515 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001038/0.5391, allocations: 0.844 MB / 0.6523 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001407/0.5405, allocations: 1.048 MB / 0.6533 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.5406, allocations: 301.1 kB / 0.6536 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00315/0.5438, allocations: 2.2 MB / 0.6557 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005435/0.5492, allocations: 5.079 MB / 0.6607 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009538/0.5588, allocations: 7.965 MB / 0.6685 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.236e-05/0.5589, allocations: 28 kB / 0.6685 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01439/0.5733, allocations: 7.891 MB / 0.6762 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.353e-05/0.5735, allocations: 52.06 kB / 0.6763 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001373/0.5736, allocations: 103.9 kB / 0.6764 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002208/0.5758, allocations: 0.7889 MB / 0.6771 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004081/0.5799, allocations: 1.189 MB / 0.6783 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005704/0.5857, allocations: 4.515 MB / 0.6827 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003428/0.5891, allocations: 291.8 kB / 0.683 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006155/0.5898, allocations: 300 kB / 0.6833 GB, free: 15.19 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * 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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (635): * Single equations (assignments): 628 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003251/0.593, allocations: 2.024 MB / 0.6852 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004255/0.5934, allocations: 256.6 kB / 0.6855 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00738/0.6008, allocations: 4.729 MB / 0.6901 GB, free: 8.145 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.665e-05/0.6009, allocations: 43.98 kB / 0.6901 GB, free: 8.102 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.601, allocations: 7.938 kB / 0.6902 GB, free: 8.094 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.609e-05/0.601, allocations: 7.969 kB / 0.6902 GB, free: 8.086 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01746/0.6185, allocations: 10.5 MB / 0.7004 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.807e-05/0.6185, allocations: 8 kB / 0.7004 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001527/0.6201, allocations: 363.4 kB / 0.7008 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001937/0.622, allocations: 0.656 MB / 0.7014 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002124/0.6222, allocations: 43.98 kB / 0.7014 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005038/0.6273, allocations: 3.906 MB / 0.7053 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.137e-05/0.6273, allocations: 19.86 kB / 0.7053 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01006/0.6374, allocations: 7.14 MB / 0.7123 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008383/0.6383, allocations: 301.7 kB / 0.7125 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004232/0.6387, allocations: 44.05 kB / 0.7126 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/0.64, allocations: 143.8 kB / 0.7127 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003384/0.6403, allocations: 129 kB / 0.7128 GB, free: 408 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/0.6405, allocations: 71.97 kB / 0.7129 GB, free: 336 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002598/0.6431, allocations: 1.619 MB / 0.7145 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6431, allocations: 0 / 0.7145 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004657/0.6478, allocations: 0.9297 MB / 0.7154 GB, free: 13.77 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.w) * 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 (178): * Single equations (assignments): 171 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005745/0.6484, allocations: 178.8 kB / 0.7156 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008418/0.6568, allocations: 5.391 MB / 0.7208 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-05/0.6568, allocations: 0.875 kB / 0.7208 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003068/0.6599, allocations: 2.023 MB / 0.7228 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002117/0.6621, allocations: 360.2 kB / 0.7232 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2715/0.9336, allocations: 9.753 MB / 0.7327 GB, free: 184.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004295/0.938, allocations: 3.173 MB / 0.7358 GB, free: 184.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001153/0.9391, allocations: 248.5 kB / 0.736 GB, free: 184.1 MB / 0.5762 GB Notification: Performance of SimCode: time 9.82e-07/0.9392, allocations: 0 / 0.736 GB, free: 184.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.0835/1.023, allocations: 70.76 MB / 0.8051 GB, free: 127.3 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches