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.001234/0.001235, allocations: 116.5 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.00136/0.001361, allocations: 198 kB / 18.03 MB, free: 5.055 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.4/1.4, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.2048/0.2048, allocations: 43.52 MB / 314.8 MB, free: 448 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.001516/0.001516, allocations: 73.45 kB / 442.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09771/0.09924, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01622/0.1155, allocations: 15.73 MB / 0.5039 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01025/0.1258, allocations: 4.509 MB / 0.5083 GB, free: 7.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003122/0.1289, allocations: 79.88 kB / 0.5084 GB, free: 7.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005193/0.1342, allocations: 2.25 MB / 0.5106 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005467/0.1397, allocations: 2.121 MB / 0.5127 GB, free: 2.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.1413, allocations: 0.6238 MB / 0.5133 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005934/0.1472, allocations: 4.463 MB / 0.5176 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004415/0.1517, allocations: 3.22 MB / 0.5208 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003271/0.155, allocations: 1.674 MB / 0.5224 GB, free: 8.926 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003859/0.1588, allocations: 2.285 MB / 0.5247 GB, free: 6.633 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001152/0.16, allocations: 351.9 kB / 0.525 GB, free: 6.289 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002886/0.1629, allocations: 1.045 MB / 0.526 GB, free: 5.242 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002593/0.1655, allocations: 2.053 MB / 0.528 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003928/0.1695, allocations: 2.493 MB / 0.5304 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2378/0.4073, allocations: 8.073 MB / 0.5383 GB, free: 10.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.4073, allocations: 1.562 kB / 0.5383 GB, free: 10.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4073, allocations: 0 / 0.5383 GB, free: 10.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002799/0.4076, allocations: 0.7188 kB / 0.5383 GB, free: 10.57 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.01338/0.421, allocations: 5.405 MB / 0.5436 GB, free: 8.312 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/0.4211, allocations: 11.73 kB / 0.5436 GB, free: 8.309 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.012/0.4331, allocations: 3.232 MB / 0.5468 GB, free: 7.941 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00634/0.4395, allocations: 2.49 MB / 0.5492 GB, free: 7.352 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002481/0.4397, allocations: 259.9 kB / 0.5495 GB, free: 7.344 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001408/0.4412, allocations: 339 kB / 0.5498 GB, free: 7.344 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02031/0.4615, allocations: 12.66 MB / 0.5622 GB, free: 4.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001148/0.4616, allocations: 30.83 kB / 0.5622 GB, free: 4.156 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004571/0.4621, allocations: 163.3 kB / 0.5623 GB, free: 4.094 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004271/0.4664, allocations: 3.035 MB / 0.5653 GB, free: 2.922 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01875/0.4851, allocations: 11.32 MB / 0.5764 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05883/0.544, allocations: 42.18 MB / 0.6176 GB, free: 1.461 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009444/0.5535, allocations: 4.709 MB / 0.6222 GB, free: 12.52 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003433/0.5569, allocations: 2.44 MB / 0.6245 GB, free: 10.08 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001297/0.5582, allocations: 1.316 MB / 0.6258 GB, free: 8.551 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.959e-05/0.5583, allocations: 55.94 kB / 0.6259 GB, free: 8.488 MB / 478.1 MB Notification: Performance of pre-optimization done (n=250): time 6.803e-06/0.5583, allocations: 0 / 0.6259 GB, free: 8.488 MB / 478.1 MB Notification: Performance of matching and sorting (n=268): time 0.04548/0.6038, allocations: 19.67 MB / 0.6451 GB, free: 4.734 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.6039, allocations: 99.11 kB / 0.6452 GB, free: 4.617 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005157/0.609, allocations: 3.27 MB / 0.6484 GB, free: 1.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002729/0.6093, allocations: 64.75 kB / 0.6484 GB, free: 1.273 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00213/0.6115, allocations: 3.413 MB / 0.6518 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009758/0.6125, allocations: 1.019 MB / 0.6528 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001859/0.6143, allocations: 1.226 MB / 0.654 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.715e-05/0.6144, allocations: 303.1 kB / 0.6542 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003714/0.6181, allocations: 2.495 MB / 0.6567 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005865/0.624, allocations: 5.89 MB / 0.6624 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01042/0.6345, allocations: 9.195 MB / 0.6714 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.262e-05/0.6346, allocations: 34.62 kB / 0.6714 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of matching and sorting (n=813) (initialization): time 0.01642/0.651, allocations: 9.204 MB / 0.6804 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.073e-05/0.6511, allocations: 56 kB / 0.6805 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001523/0.6513, allocations: 120 kB / 0.6806 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003108/0.6544, allocations: 1.055 MB / 0.6816 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004494/0.6589, allocations: 1.396 MB / 0.683 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007509/0.6664, allocations: 5.553 MB / 0.6884 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003841/0.6703, allocations: 327.8 kB / 0.6887 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007335/0.671, allocations: 348 kB / 0.6891 GB, free: 5.266 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.004396/0.6754, allocations: 2.493 MB / 0.6915 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006048/0.676, allocations: 333.8 kB / 0.6918 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00934/0.6854, allocations: 5.379 MB / 0.6971 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.149e-05/0.6854, allocations: 11.95 kB / 0.6971 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.6854, allocations: 4 kB / 0.6971 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00147/0.6869, allocations: 0.7369 MB / 0.6978 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006082/0.6875, allocations: 39.98 kB / 0.6978 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/0.689, allocations: 142.1 kB / 0.698 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003821/0.6894, allocations: 137.5 kB / 0.6981 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008552/0.698, allocations: 4.914 MB / 0.7029 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009328/0.7073, allocations: 7.057 MB / 0.7098 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002447/0.7098, allocations: 1.925 MB / 0.7117 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004124/0.7139, allocations: 2.008 MB / 0.7136 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of Backend: time 4.61e-07/0.7139, allocations: 0 / 0.7136 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009417/0.7234, allocations: 4.592 MB / 0.7181 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02237/0.7457, allocations: 10.61 MB / 0.7285 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.2929/1.039, allocations: 47.77 MB / 0.7751 GB, free: 209.3 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