Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.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 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 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 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.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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.Planar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 110.6 kB / 17.09 MB, free: 5.984 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.001009/0.001009, allocations: 199.3 kB / 18.02 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2003/0.2003, allocations: 43.52 MB / 314.8 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 73.44 kB / 442.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1052, allocations: 57.79 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01764/0.1228, allocations: 15.73 MB / 0.5039 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009868/0.1327, allocations: 4.498 MB / 0.5083 GB, free: 7.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002294/0.1351, allocations: 83.81 kB / 0.5084 GB, free: 7.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004382/0.1395, allocations: 2.254 MB / 0.5106 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004723/0.1443, allocations: 2.066 MB / 0.5126 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.1457, allocations: 0.6161 MB / 0.5132 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005496/0.1512, allocations: 4.475 MB / 0.5176 GB, free: 13.94 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004217/0.1555, allocations: 3.217 MB / 0.5207 GB, free: 10.67 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002464/0.158, allocations: 1.666 MB / 0.5224 GB, free: 8.996 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003164/0.1611, allocations: 2.289 MB / 0.5246 GB, free: 6.699 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009438/0.1621, allocations: 348 kB / 0.5249 GB, free: 6.359 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002437/0.1645, allocations: 1.045 MB / 0.5259 GB, free: 5.312 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002066/0.1666, allocations: 2.053 MB / 0.5279 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002194/0.1688, allocations: 2.496 MB / 0.5304 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2347/0.4036, allocations: 8.037 MB / 0.5382 GB, free: 10.69 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.4036, allocations: 1.953 kB / 0.5382 GB, free: 10.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4036, allocations: 0 / 0.5382 GB, free: 10.69 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003407/0.404, allocations: 0.6875 kB / 0.5382 GB, free: 10.69 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: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.01602/0.42, allocations: 5.267 MB / 0.5434 GB, free: 8.578 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.4201, allocations: 15.42 kB / 0.5434 GB, free: 8.574 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01119/0.4312, allocations: 3.184 MB / 0.5465 GB, free: 8.242 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005947/0.4372, allocations: 2.484 MB / 0.5489 GB, free: 7.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002715/0.4375, allocations: 262.1 kB / 0.5492 GB, free: 7.652 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001928/0.4394, allocations: 343.2 kB / 0.5495 GB, free: 7.648 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02234/0.4618, allocations: 12.66 MB / 0.5619 GB, free: 4.391 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001993/0.462, allocations: 34.88 kB / 0.5619 GB, free: 4.391 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001497/0.4635, allocations: 155.9 kB / 0.5621 GB, free: 4.328 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004538/0.4681, allocations: 3.034 MB / 0.565 GB, free: 3.172 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02338/0.4915, allocations: 11.33 MB / 0.5761 GB, free: 12.28 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06776/0.5593, allocations: 42.08 MB / 0.6172 GB, free: 1.75 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009886/0.5692, allocations: 4.713 MB / 0.6218 GB, free: 12.81 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003429/0.5727, allocations: 2.436 MB / 0.6242 GB, free: 10.37 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001209/0.5739, allocations: 1.329 MB / 0.6255 GB, free: 8.832 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.238e-05/0.574, allocations: 48.56 kB / 0.6255 GB, free: 8.773 MB / 478.1 MB Notification: Performance of pre-optimization done (n=250): time 5.58e-06/0.574, allocations: 0 / 0.6255 GB, free: 8.773 MB / 478.1 MB Notification: Performance of matching and sorting (n=268): time 0.04888/0.6229, allocations: 19.52 MB / 0.6446 GB, free: 5.152 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.692e-05/0.623, allocations: 103.1 kB / 0.6447 GB, free: 5.031 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006659/0.6297, allocations: 3.264 MB / 0.6479 GB, free: 1.762 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002851/0.63, allocations: 61.7 kB / 0.6479 GB, free: 1.695 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002495/0.6325, allocations: 3.275 MB / 0.6511 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001221/0.6337, allocations: 0.9809 MB / 0.6521 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002213/0.636, allocations: 1.218 MB / 0.6533 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.804e-05/0.6361, allocations: 303.7 kB / 0.6535 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003764/0.6398, allocations: 2.496 MB / 0.656 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005954/0.6458, allocations: 5.89 MB / 0.6617 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01057/0.6564, allocations: 9.193 MB / 0.6707 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-05/0.6565, allocations: 32 kB / 0.6707 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of matching and sorting (n=813) (initialization): time 0.0173/0.6738, allocations: 9.181 MB / 0.6797 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.674, allocations: 59.98 kB / 0.6798 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001639/0.6741, allocations: 118.7 kB / 0.6799 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00323/0.6774, allocations: 1.058 MB / 0.6809 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004945/0.6823, allocations: 1.392 MB / 0.6823 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007986/0.6903, allocations: 5.54 MB / 0.6877 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004405/0.6948, allocations: 331 kB / 0.688 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001105/0.6959, allocations: 355.9 kB / 0.6883 GB, free: 5.863 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 539 * Number of states: 0 () * Number of discrete variables: 42 (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 (751): * Single equations (assignments): 744 * 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.005771/0.7017, allocations: 2.493 MB / 0.6908 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008447/0.7025, allocations: 315.9 kB / 0.6911 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01035/0.7129, allocations: 5.382 MB / 0.6963 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.095e-05/0.713, allocations: 12.84 kB / 0.6963 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.713, allocations: 0 / 0.6963 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001727/0.7147, allocations: 0.7156 MB / 0.697 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007521/0.7155, allocations: 39.98 kB / 0.6971 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001544/0.717, allocations: 146.4 kB / 0.6972 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004055/0.7174, allocations: 133.8 kB / 0.6973 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008749/0.7262, allocations: 4.902 MB / 0.7021 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009841/0.7361, allocations: 7.045 MB / 0.709 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002579/0.7387, allocations: 1.929 MB / 0.7109 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004429/0.7431, allocations: 2.002 MB / 0.7129 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of Backend: time 1.162e-06/0.7432, allocations: 0 / 0.7129 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01081/0.754, allocations: 4.591 MB / 0.7173 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02269/0.7767, allocations: 10.45 MB / 0.7275 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of Templates: time 0.2886/1.065, allocations: 47.95 MB / 0.7744 GB, free: 208.8 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches