Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 164.8 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.425/1.425, allocations: 177.2 MB / 204.9 MB, free: 9.07 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 55.16 kB / 325.6 MB, free: 272 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08811/0.08971, allocations: 53.34 MB / 378.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.01852/0.1082, allocations: 15.6 MB / 394.5 MB, free: 40 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01143/0.1197, allocations: 5.839 MB / 400.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001592/0.1213, allocations: 167.1 kB / 400.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01136/0.1326, allocations: 6.075 MB / 406.6 MB, free: 3.926 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006149/0.1388, allocations: 2.907 MB / 409.5 MB, free: 1.008 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004275/0.143, allocations: 2.245 MB / 411.7 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0126/0.1557, allocations: 9.709 MB / 421.4 MB, free: 5.031 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007004/0.1627, allocations: 6.193 MB / 427.6 MB, free: 14.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004154/0.1668, allocations: 3.253 MB / 430.9 MB, free: 11.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005695/0.1725, allocations: 4.163 MB / 435.1 MB, free: 7.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001119/0.1736, allocations: 0.7188 MB / 435.8 MB, free: 6.582 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003111/0.1767, allocations: 1.799 MB / 437.6 MB, free: 4.781 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003633/0.1804, allocations: 3.884 MB / 441.5 MB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003645/0.184, allocations: 3.14 MB / 444.6 MB, free: 13.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01382/0.1978, allocations: 13.27 MB / 457.9 MB, free: 416 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.1978, allocations: 7.984 kB / 457.9 MB, free: 408 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1978, allocations: 0 / 457.9 MB, free: 408 kB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001991/0.198, allocations: 3.938 kB / 457.9 MB, free: 404 kB / 414.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.01788/0.2159, allocations: 9.062 MB / 466.9 MB, free: 7.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.216, allocations: 12.03 kB / 467 MB, free: 7.238 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04925/0.2652, allocations: 5.048 MB / 472 MB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3309/0.5962, allocations: 6.319 MB / 478.3 MB, free: 76.66 MB / 430.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002739/0.5964, allocations: 433.8 kB / 478.7 MB, free: 76.51 MB / 430.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001569/0.598, allocations: 0.5907 MB / 479.3 MB, free: 76.35 MB / 430.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02663/0.6246, allocations: 17.29 MB / 496.6 MB, free: 68.43 MB / 430.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001913/0.6248, allocations: 81.98 kB / 496.7 MB, free: 68.36 MB / 430.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005939/0.6254, allocations: 268.4 kB / 497 MB, free: 68.14 MB / 430.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003469/0.6289, allocations: 2.66 MB / 499.6 MB, free: 65.49 MB / 430.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02208/0.651, allocations: 14.76 MB / 0.5023 GB, free: 50.74 MB / 430.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06178/0.7127, allocations: 59.53 MB / 0.5605 GB, free: 6.547 MB / 446.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02479/0.7375, allocations: 8.269 MB / 0.5685 GB, free: 14.28 MB / 462.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0067/0.7442, allocations: 4.73 MB / 0.5732 GB, free: 9.547 MB / 462.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02961/0.7738, allocations: 17.02 MB / 0.5898 GB, free: 8.613 MB / 478.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.127e-05/0.7739, allocations: 60.56 kB / 0.5898 GB, free: 8.547 MB / 478.2 MB Notification: Performance of pre-optimization done (n=281): time 5.971e-06/0.7739, allocations: 4 kB / 0.5898 GB, free: 8.543 MB / 478.2 MB Notification: Performance of matching and sorting (n=374): time 0.274/1.048, allocations: 76.43 MB / 0.6645 GB, free: 12.29 MB / 0.5451 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002236/1.048, allocations: 372.6 kB / 0.6648 GB, free: 11.84 MB / 0.5451 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008965/1.057, allocations: 6.116 MB / 0.6708 GB, free: 5.742 MB / 0.5451 GB Notification: Performance of collectPreVariables (initialization): time 0.0009235/1.058, allocations: 85.69 kB / 0.6709 GB, free: 5.652 MB / 0.5451 GB Notification: Performance of collectInitialEqns (initialization): time 0.003935/1.062, allocations: 4.964 MB / 0.6757 GB, free: 0.6445 MB / 0.5451 GB Notification: Performance of collectInitialBindings (initialization): time 0.1992/1.261, allocations: 1.437 MB / 0.6771 GB, free: 189 MB / 0.5451 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003948/1.265, allocations: 1.991 MB / 0.6791 GB, free: 188.9 MB / 0.5451 GB Notification: Performance of setup shared object (initialization): time 4.716e-05/1.265, allocations: 302.4 kB / 0.6794 GB, free: 188.6 MB / 0.5451 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008713/1.274, allocations: 5.993 MB / 0.6852 GB, free: 187 MB / 0.5451 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01031/1.284, allocations: 11.23 MB / 0.6962 GB, free: 177.9 MB / 0.5451 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01741/1.302, allocations: 17.96 MB / 0.7137 GB, free: 165.6 MB / 0.5451 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001691/1.302, allocations: 46.88 kB / 0.7138 GB, free: 165.6 MB / 0.5451 GB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.04234/1.344, allocations: 23.25 MB / 0.7365 GB, free: 149.3 MB / 0.5451 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001654/1.344, allocations: 83.12 kB / 0.7366 GB, free: 149.2 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002143/1.344, allocations: 179.3 kB / 0.7367 GB, free: 149 MB / 0.5451 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02147/1.366, allocations: 7.435 MB / 0.744 GB, free: 141.6 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007691/1.374, allocations: 2.183 MB / 0.7461 GB, free: 139.4 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04429/1.418, allocations: 37.31 MB / 0.7826 GB, free: 102 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008388/1.426, allocations: 0.7381 MB / 0.7833 GB, free: 101.3 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001462/1.428, allocations: 0.5273 MB / 0.7838 GB, free: 100.8 MB / 0.5451 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.00552/1.433, allocations: 3.435 MB / 0.7871 GB, free: 97.43 MB / 0.5451 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001429/1.435, allocations: 0.5593 MB / 0.7877 GB, free: 97.07 MB / 0.5451 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03062/1.465, allocations: 16.84 MB / 0.8041 GB, free: 80.16 MB / 0.5451 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-05/1.465, allocations: 45.8 kB / 0.8042 GB, free: 80.12 MB / 0.5451 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.685e-05/1.465, allocations: 19.98 kB / 0.8042 GB, free: 80.1 MB / 0.5451 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-05/1.465, allocations: 15.94 kB / 0.8042 GB, free: 80.08 MB / 0.5451 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04802/1.513, allocations: 29.43 MB / 0.833 GB, free: 50.36 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.182e-05/1.514, allocations: 4 kB / 0.833 GB, free: 50.35 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003246/1.517, allocations: 0.6084 MB / 0.8336 GB, free: 49.74 MB / 0.5451 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02001/1.537, allocations: 7.01 MB / 0.8404 GB, free: 42.71 MB / 0.5451 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006866/1.537, allocations: 63.75 kB / 0.8405 GB, free: 42.66 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04048/1.578, allocations: 35.52 MB / 0.8752 GB, free: 6.84 MB / 0.5451 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/1.578, allocations: 11.88 kB / 0.8752 GB, free: 6.828 MB / 0.5451 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2378/1.816, allocations: 24.5 MB / 0.8991 GB, free: 166.9 MB / 0.5451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001507/1.817, allocations: 0.5295 MB / 0.8996 GB, free: 166.8 MB / 0.5451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00109/1.818, allocations: 64.5 kB / 0.8997 GB, free: 166.8 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004149/1.822, allocations: 448.6 kB / 0.9001 GB, free: 166.7 MB / 0.5451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001029/1.823, allocations: 262.7 kB / 0.9003 GB, free: 166.7 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003563/1.824, allocations: 102.9 kB / 0.9004 GB, free: 166.7 MB / 0.5451 GB Notification: Performance of sorting global known variables: time 0.004432/1.828, allocations: 3.653 MB / 0.904 GB, free: 165.5 MB / 0.5451 GB Notification: Performance of sort global known variables: time 9e-08/1.828, allocations: 0 / 0.904 GB, free: 165.5 MB / 0.5451 GB Notification: Performance of remove unused functions: time 0.008175/1.836, allocations: 2.278 MB / 0.9062 GB, free: 165.2 MB / 0.5451 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (revolute1.phi,revolute1.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 (243): * Single equations (assignments): 236 * 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,62,84.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009864/1.837, allocations: 286 kB / 0.9065 GB, free: 165.1 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.01886/1.856, allocations: 14.2 MB / 0.9204 GB, free: 158.5 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/1.856, allocations: 0 / 0.9204 GB, free: 158.5 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.009218/1.865, allocations: 6.154 MB / 0.9264 GB, free: 153.2 MB / 0.5451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006132/1.872, allocations: 0.8087 MB / 0.9272 GB, free: 152.6 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02974/1.901, allocations: 20.26 MB / 0.947 GB, free: 134.3 MB / 0.5451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00753/1.909, allocations: 4.784 MB / 0.9516 GB, free: 129.5 MB / 0.5451 GB Notification: Performance of simCode: alias equations: time 0.007089/1.916, allocations: 2.978 MB / 0.9545 GB, free: 126.6 MB / 0.5451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002083/1.918, allocations: 364.4 kB / 0.9549 GB, free: 126.3 MB / 0.5451 GB Notification: Performance of SimCode: time 1.062e-06/1.918, allocations: 0 / 0.9549 GB, free: 126.3 MB / 0.5451 GB Notification: Performance of Templates: time 0.1356/2.054, allocations: 104.8 MB / 1.057 GB, free: 22.05 MB / 0.5451 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarFourbar/PlanarFourbar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.022539664059877]