Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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.00156/0.00156, allocations: 110.9 kB / 17.74 MB, free: 5.328 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.001762/0.001762, allocations: 190.6 kB / 18.68 MB, free: 4.398 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.337/1.337, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009867/0.0009867, allocations: 56.05 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.209, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.01775/0.2268, allocations: 18.17 MB / 419.6 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01097/0.2378, allocations: 6.048 MB / 425.6 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002229/0.24, allocations: 147.5 kB / 425.8 MB, free: 412 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01023/0.2502, allocations: 6.266 MB / 432 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005544/0.2558, allocations: 2.921 MB / 435 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003947/0.2598, allocations: 2.28 MB / 437.2 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01097/0.2708, allocations: 9.496 MB / 446.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008878/0.2797, allocations: 8.422 MB / 455.2 MB, free: 2.867 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004068/0.2838, allocations: 3.21 MB / 458.4 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004698/0.2885, allocations: 4.164 MB / 462.5 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001101/0.2896, allocations: 0.7148 MB / 463.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003097/0.2927, allocations: 1.924 MB / 465.2 MB, free: 8.832 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00307/0.2958, allocations: 3.85 MB / 469 MB, free: 4.973 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003978/0.2998, allocations: 4.15 MB / 473.2 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01214/0.3119, allocations: 13.26 MB / 486.4 MB, free: 3.488 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.3119, allocations: 0 / 486.4 MB, free: 3.488 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.312, allocations: 0 / 486.4 MB, free: 3.488 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002148/0.3122, allocations: 0 / 486.4 MB, free: 3.488 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2348 * Number of variables: 2348 Notification: Performance of Generate backend data structure: time 0.01559/0.3278, allocations: 9.141 MB / 495.6 MB, free: 10.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.3278, allocations: 15.83 kB / 495.6 MB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04304/0.3709, allocations: 4.895 MB / 0.4888 GB, free: 5.324 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01392/0.3848, allocations: 6.523 MB / 0.4951 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000278/0.3851, allocations: 431.7 kB / 0.4955 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001113/0.3862, allocations: 0.5896 MB / 0.4961 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02574/0.412, allocations: 17.04 MB / 0.5128 GB, free: 11.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001849/0.4122, allocations: 83.36 kB / 0.5128 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006422/0.4128, allocations: 263.8 kB / 0.5131 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004196/0.417, allocations: 2.662 MB / 0.5157 GB, free: 8.719 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02549/0.4425, allocations: 14.79 MB / 0.5301 GB, free: 9.906 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3722/0.8148, allocations: 64.35 MB / 0.593 GB, free: 77.25 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01936/0.8342, allocations: 8.781 MB / 0.6016 GB, free: 68.36 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004464/0.8387, allocations: 5.063 MB / 0.6065 GB, free: 63.29 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02101/0.8597, allocations: 18.64 MB / 0.6247 GB, free: 44.68 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.43e-05/0.8598, allocations: 60.56 kB / 0.6248 GB, free: 44.61 MB / 462.1 MB Notification: Performance of pre-optimization done (n=281): time 6.242e-06/0.8598, allocations: 0 / 0.6248 GB, free: 44.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=374): time 0.2375/1.097, allocations: 74.38 MB / 0.6974 GB, free: 2.574 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001562/1.098, allocations: 384.6 kB / 0.6978 GB, free: 2.117 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008827/1.106, allocations: 6.377 MB / 0.704 GB, free: 11.84 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0005029/1.107, allocations: 85.7 kB / 0.7041 GB, free: 11.75 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003083/1.11, allocations: 4.93 MB / 0.7089 GB, free: 7.125 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001434/1.111, allocations: 1.438 MB / 0.7103 GB, free: 5.676 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003054/1.114, allocations: 1.991 MB / 0.7122 GB, free: 3.672 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 8.767e-05/1.115, allocations: 305.1 kB / 0.7125 GB, free: 3.371 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007899/1.122, allocations: 5.996 MB / 0.7184 GB, free: 13.36 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01078/1.133, allocations: 11.02 MB / 0.7291 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2002/1.334, allocations: 17.95 MB / 0.7467 GB, free: 181.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001834/1.334, allocations: 49.09 kB / 0.7467 GB, free: 181.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.03916/1.373, allocations: 23.37 MB / 0.7695 GB, free: 174.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.928e-05/1.373, allocations: 83.44 kB / 0.7696 GB, free: 174.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001234/1.373, allocations: 171.6 kB / 0.7698 GB, free: 174.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02006/1.393, allocations: 7.445 MB / 0.7771 GB, free: 172 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006323/1.4, allocations: 2.191 MB / 0.7792 GB, free: 169.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0413/1.441, allocations: 38.11 MB / 0.8164 GB, free: 131.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007655/1.449, allocations: 0.7472 MB / 0.8171 GB, free: 130.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009385/1.45, allocations: 0.5234 MB / 0.8177 GB, free: 130.3 MB / 0.5294 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.003998/1.454, allocations: 3.432 MB / 0.821 GB, free: 127 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000979/1.455, allocations: 0.61 MB / 0.8216 GB, free: 126.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02897/1.483, allocations: 16.95 MB / 0.8382 GB, free: 109.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.732e-05/1.484, allocations: 19.94 kB / 0.8382 GB, free: 109.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/1.484, allocations: 4.859 kB / 0.8382 GB, free: 109.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/1.485, allocations: 0.6536 MB / 0.8388 GB, free: 109 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001019/1.486, allocations: 59.28 kB / 0.8389 GB, free: 108.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003667/1.489, allocations: 451.2 kB / 0.8393 GB, free: 108.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009476/1.49, allocations: 333.8 kB / 0.8396 GB, free: 108.2 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02399/1.514, allocations: 15.42 MB / 0.8547 GB, free: 92.79 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01603/1.53, allocations: 15.95 MB / 0.8703 GB, free: 76.77 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004726/1.535, allocations: 5.047 MB / 0.8752 GB, free: 71.71 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004518/1.54, allocations: 4.045 MB / 0.8791 GB, free: 67.67 MB / 0.5294 GB Notification: Performance of Backend: time 3.8e-07/1.54, allocations: 0 / 0.8791 GB, free: 67.67 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01546/1.555, allocations: 10.54 MB / 0.8894 GB, free: 57.18 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01844/1.574, allocations: 16.53 MB / 0.9056 GB, free: 40.62 MB / 0.5294 GB Notification: Performance of Templates: time 0.3185/1.892, allocations: 126.6 MB / 1.029 GB, free: 108.6 MB / 0.5294 GB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarFourbar/PlanarFourbar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches