Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.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) 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(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001284, allocations: 102.6 kB / 18.4 MB, free: 4.648 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.001355/0.001355, allocations: 190.1 kB / 19.34 MB, free: 3.723 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.275/1.275, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.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.001242/0.001242, allocations: 51.92 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07156/0.07281, allocations: 46.61 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.1612/0.234, allocations: 18.58 MB / 394.4 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01198/0.246, allocations: 6.14 MB / 400.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003743/0.2498, allocations: 147.3 kB / 400.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01153/0.2614, allocations: 6.276 MB / 407 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007193/0.2686, allocations: 2.855 MB / 409.8 MB, free: 9.004 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004753/0.2734, allocations: 2.288 MB / 412.1 MB, free: 7.457 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01123/0.2846, allocations: 8.836 MB / 420.9 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008939/0.2936, allocations: 8.424 MB / 429.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005325/0.299, allocations: 3.233 MB / 432.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005703/0.3047, allocations: 4.195 MB / 436.8 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001738/0.3065, allocations: 0.7148 MB / 437.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00369/0.3102, allocations: 1.904 MB / 439.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003346/0.3135, allocations: 3.862 MB / 443.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004874/0.3184, allocations: 4.158 MB / 447.4 MB, free: 7.734 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01322/0.3316, allocations: 13.25 MB / 460.7 MB, free: 10.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3317, allocations: 3.938 kB / 460.7 MB, free: 10.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3317, allocations: 0 / 460.7 MB, free: 10.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002637/0.332, allocations: 0 / 460.7 MB, free: 10.44 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2349 * Number of variables: 2349 Notification: Performance of Generate backend data structure: time 0.0179/0.3499, allocations: 8.946 MB / 469.6 MB, free: 1.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.3499, allocations: 12.03 kB / 469.6 MB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04681/0.3968, allocations: 4.844 MB / 474.5 MB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01471/0.4115, allocations: 6.704 MB / 481.2 MB, free: 5.758 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003089/0.4118, allocations: 435.7 kB / 481.6 MB, free: 5.332 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001429/0.4133, allocations: 0.5819 MB / 482.2 MB, free: 4.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02933/0.4426, allocations: 17.06 MB / 499.3 MB, free: 2.734 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002466/0.4429, allocations: 79.27 kB / 499.3 MB, free: 2.656 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007154/0.4436, allocations: 267.8 kB / 499.6 MB, free: 2.395 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004423/0.448, allocations: 2.654 MB / 0.4905 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02947/0.4775, allocations: 14.79 MB / 0.5049 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3743/0.8518, allocations: 64.34 MB / 0.5678 GB, free: 109.6 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0232/0.8751, allocations: 8.779 MB / 0.5763 GB, free: 109 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005281/0.8804, allocations: 5.064 MB / 0.5813 GB, free: 107.7 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02152/0.9019, allocations: 18.64 MB / 0.5995 GB, free: 99.31 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.902, allocations: 77.77 kB / 0.5996 GB, free: 99.25 MB / 478.1 MB Notification: Performance of pre-optimization done (n=281): time 5.63e-06/0.902, allocations: 0 / 0.5996 GB, free: 99.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=374): time 0.2467/1.149, allocations: 74.07 MB / 0.6719 GB, free: 32.42 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.31e-05/1.149, allocations: 376.6 kB / 0.6722 GB, free: 31.97 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006871/1.156, allocations: 6.42 MB / 0.6785 GB, free: 25.54 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007789/1.156, allocations: 81.7 kB / 0.6786 GB, free: 25.46 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001917/1.158, allocations: 4.754 MB / 0.6832 GB, free: 20.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001178/1.16, allocations: 1.377 MB / 0.6846 GB, free: 19.34 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002537/1.162, allocations: 1.982 MB / 0.6865 GB, free: 17.34 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.437e-05/1.162, allocations: 313.1 kB / 0.6868 GB, free: 17.04 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006446/1.169, allocations: 5.988 MB / 0.6927 GB, free: 11.04 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008611/1.177, allocations: 11.02 MB / 0.7034 GB, free: 13.65 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02087/1.198, allocations: 17.97 MB / 0.721 GB, free: 9.312 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001313/1.198, allocations: 48 kB / 0.721 GB, free: 9.266 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.0492/1.248, allocations: 23.34 MB / 0.7438 GB, free: 1.879 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001782/1.248, allocations: 80.25 kB / 0.7439 GB, free: 1.801 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000237/1.248, allocations: 172 kB / 0.744 GB, free: 1.633 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1938/1.442, allocations: 7.448 MB / 0.7513 GB, free: 173.2 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00814/1.45, allocations: 2.19 MB / 0.7535 GB, free: 173.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04557/1.496, allocations: 38.09 MB / 0.7906 GB, free: 157.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008197/1.504, allocations: 0.7541 MB / 0.7914 GB, free: 157.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001183/1.505, allocations: 0.5253 MB / 0.7919 GB, free: 157.1 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 785 * Number of states: 0 () * Number of discrete variables: 51 (sensorJoint4.arrowColor[3],sensorJoint4.arrowColor[2],sensorJoint4.arrowColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute4cut.cylinderColor[3],revolute4cut.cylinderColor[2],revolute4cut.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1091): * Single equations (assignments): 1084 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,68,84.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,24)} Notification: Performance of prepare postOptimizeDAE: time 0.004522/1.51, allocations: 3.438 MB / 0.7953 GB, free: 155.6 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001138/1.511, allocations: 0.5733 MB / 0.7958 GB, free: 155.6 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03072/1.541, allocations: 16.95 MB / 0.8124 GB, free: 141.2 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.072e-05/1.541, allocations: 26.94 kB / 0.8124 GB, free: 141.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.395e-06/1.541, allocations: 0 / 0.8124 GB, free: 141.2 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00314/1.545, allocations: 1.666 MB / 0.814 GB, free: 139.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009895/1.546, allocations: 56 kB / 0.8141 GB, free: 139.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004021/1.55, allocations: 454.8 kB / 0.8145 GB, free: 139.3 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009603/1.551, allocations: 337.4 kB / 0.8148 GB, free: 139 MB / 0.5138 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02555/1.576, allocations: 15.42 MB / 0.8299 GB, free: 123.8 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01627/1.593, allocations: 15.9 MB / 0.8454 GB, free: 107.8 MB / 0.5138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004717/1.597, allocations: 5.043 MB / 0.8503 GB, free: 102.7 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.00476/1.602, allocations: 4.084 MB / 0.8543 GB, free: 98.66 MB / 0.5138 GB Notification: Performance of Backend: time 2.8e-07/1.602, allocations: 2.719 kB / 0.8543 GB, free: 98.66 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01594/1.618, allocations: 10.52 MB / 0.8646 GB, free: 88.24 MB / 0.5138 GB Notification: Performance of SimCode: time 0.02096/1.639, allocations: 16.33 MB / 0.8805 GB, free: 71.9 MB / 0.5138 GB Notification: Performance of Templates: time 0.3252/1.964, allocations: 128.6 MB / 1.006 GB, free: 125.1 MB / 0.5138 GB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarFourbar/PlanarFourbar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches