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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 116.9 kB / 18.41 MB, free: 4.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 190.9 kB / 21.34 MB, free: 1.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 247 MB, free: 4.184 MB / 190.1 MB " [Timeout remaining time 178] 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=5002,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=5002,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 55.89 kB / 358.7 MB, free: 8.289 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1054, allocations: 49.43 MB / 408.1 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.02043/0.1258, allocations: 18.18 MB / 426.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2605/0.3863, allocations: 6.038 MB / 432.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004554/0.391, allocations: 143.3 kB / 432.5 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01267/0.4036, allocations: 6.272 MB / 438.7 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01066/0.4144, allocations: 2.841 MB / 441.6 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005257/0.4197, allocations: 2.28 MB / 443.8 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0153/0.435, allocations: 9.486 MB / 453.3 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.011/0.4461, allocations: 8.418 MB / 461.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007611/0.4537, allocations: 3.183 MB / 464.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007835/0.4616, allocations: 4.165 MB / 469.1 MB, free: 9.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002444/0.4641, allocations: 0.7148 MB / 469.8 MB, free: 8.785 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005108/0.4692, allocations: 1.913 MB / 471.7 MB, free: 6.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005356/0.4746, allocations: 3.818 MB / 475.5 MB, free: 3.117 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007418/0.482, allocations: 4.146 MB / 479.7 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01862/0.5007, allocations: 13.26 MB / 493 MB, free: 1.957 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.5007, allocations: 0 / 493 MB, free: 1.957 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.5007, allocations: 0 / 493 MB, free: 1.957 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004262/0.5012, allocations: 3.938 kB / 493 MB, free: 1.953 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: 2348 * Number of variables: 2348 Notification: Performance of Generate backend data structure: time 0.02555/0.5267, allocations: 9.136 MB / 0.4903 GB, free: 8.848 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.5268, allocations: 8.031 kB / 0.4903 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05191/0.5787, allocations: 4.9 MB / 0.4951 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01741/0.5962, allocations: 6.518 MB / 0.5015 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004117/0.5966, allocations: 436.7 kB / 0.5019 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002624/0.5993, allocations: 0.5787 MB / 0.5025 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03728/0.6366, allocations: 17.05 MB / 0.5191 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003142/0.6369, allocations: 83.36 kB / 0.5192 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001047/0.638, allocations: 273.1 kB / 0.5195 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004833/0.6428, allocations: 2.65 MB / 0.522 GB, free: 7.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03354/0.6764, allocations: 14.78 MB / 0.5365 GB, free: 8.879 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09659/0.773, allocations: 64.36 MB / 0.5993 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4152/1.188, allocations: 8.776 MB / 0.6079 GB, free: 152.3 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006727/1.195, allocations: 5.069 MB / 0.6128 GB, free: 152.3 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02873/1.224, allocations: 18.65 MB / 0.6311 GB, free: 145.7 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.189e-05/1.224, allocations: 65.94 kB / 0.6311 GB, free: 145.6 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=281): time 6.402e-06/1.224, allocations: 0 / 0.6311 GB, free: 145.6 MB / 0.4982 GB Notification: Performance of matching and sorting (n=374): time 0.2459/1.47, allocations: 74.38 MB / 0.7038 GB, free: 87.93 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/1.47, allocations: 376.6 kB / 0.7041 GB, free: 87.48 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007746/1.478, allocations: 6.382 MB / 0.7103 GB, free: 81.2 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0009136/1.479, allocations: 84.98 kB / 0.7104 GB, free: 81.11 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.002449/1.481, allocations: 4.937 MB / 0.7152 GB, free: 76.57 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001775/1.483, allocations: 1.439 MB / 0.7167 GB, free: 75.15 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002821/1.486, allocations: 1.987 MB / 0.7186 GB, free: 73.15 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 4.997e-05/1.486, allocations: 305.1 kB / 0.7189 GB, free: 72.85 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006297/1.492, allocations: 5.992 MB / 0.7247 GB, free: 66.85 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008381/1.5, allocations: 11.02 MB / 0.7355 GB, free: 53.39 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01638/1.517, allocations: 17.95 MB / 0.753 GB, free: 32.99 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001214/1.517, allocations: 52 kB / 0.7531 GB, free: 32.94 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.04293/1.56, allocations: 23.37 MB / 0.7759 GB, free: 9.523 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 9.479e-05/1.56, allocations: 80 kB / 0.776 GB, free: 9.445 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001604/1.56, allocations: 172 kB / 0.7761 GB, free: 9.277 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02185/1.582, allocations: 7.445 MB / 0.7834 GB, free: 1.816 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007991/1.59, allocations: 2.187 MB / 0.7855 GB, free: 15.62 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2957/1.886, allocations: 38.13 MB / 0.8228 GB, free: 139.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009137/1.895, allocations: 0.7464 MB / 0.8235 GB, free: 139.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002148/1.897, allocations: 0.5275 MB / 0.824 GB, free: 139.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.007749/1.905, allocations: 3.433 MB / 0.8274 GB, free: 137.8 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001966/1.907, allocations: 0.6025 MB / 0.828 GB, free: 137.8 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03118/1.938, allocations: 16.96 MB / 0.8445 GB, free: 132.3 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.547e-05/1.938, allocations: 47.55 kB / 0.8446 GB, free: 132.3 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.089e-05/1.938, allocations: 22.59 kB / 0.8446 GB, free: 132.3 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.396e-05/1.939, allocations: 18.38 kB / 0.8446 GB, free: 132.3 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04911/1.988, allocations: 32.03 MB / 0.8759 GB, free: 109.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.809e-05/1.988, allocations: 0 / 0.8759 GB, free: 109.6 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003238/1.991, allocations: 0.6033 MB / 0.8765 GB, free: 109 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02026/2.011, allocations: 7.019 MB / 0.8833 GB, free: 102 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009872/2.012, allocations: 64.95 kB / 0.8834 GB, free: 102 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04077/2.053, allocations: 36.3 MB / 0.9188 GB, free: 65.54 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/2.053, allocations: 4 kB / 0.9189 GB, free: 65.53 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03951/2.093, allocations: 24.64 MB / 0.9429 GB, free: 41.16 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001777/2.094, allocations: 0.6576 MB / 0.9436 GB, free: 40.49 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002875/2.097, allocations: 60 kB / 0.9436 GB, free: 40.43 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005996/2.103, allocations: 449.9 kB / 0.944 GB, free: 40 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001594/2.105, allocations: 251.2 kB / 0.9443 GB, free: 39.75 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007775/2.106, allocations: 95.98 kB / 0.9444 GB, free: 39.66 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005989/2.112, allocations: 4.047 MB / 0.9483 GB, free: 35.62 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.9e-07/2.112, allocations: 0 / 0.9483 GB, free: 35.62 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008447/2.12, allocations: 2.29 MB / 0.9506 GB, free: 33.34 MB / 0.5138 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.0011/2.121, allocations: 289.8 kB / 0.9508 GB, free: 33.09 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01956/2.141, allocations: 14.9 MB / 0.9654 GB, free: 18.16 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/2.141, allocations: 1.812 kB / 0.9654 GB, free: 18.16 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.009681/2.151, allocations: 6.727 MB / 0.972 GB, free: 11.38 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005869/2.157, allocations: 0.8779 MB / 0.9728 GB, free: 10.54 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2449/2.402, allocations: 20.82 MB / 0.9932 GB, free: 160.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009842/2.411, allocations: 5.224 MB / 0.9983 GB, free: 160 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002845/2.414, allocations: 440 kB / 0.9987 GB, free: 160 MB / 0.5294 GB Notification: Performance of SimCode: time 8.21e-07/2.414, allocations: 2.781 kB / 0.9987 GB, free: 160 MB / 0.5294 GB Notification: Performance of Templates: time 0.4349/2.849, allocations: 209.7 MB / 1.203 GB, free: 168.6 MB / 0.545 GB " [Timeout remaining time 657] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarFourbar/PlanarFourbar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 22.53583255794365]