Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001561/0.001561, allocations: 116.2 kB / 18.5 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001821/0.001821, allocations: 201 kB / 21.45 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 71.86 kB / 373.8 MB, free: 9.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1117, allocations: 53.31 MB / 427.1 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.2299/0.3416, allocations: 18.11 MB / 445.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01475/0.3563, allocations: 6.069 MB / 451.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004185/0.3605, allocations: 141.6 kB / 451.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01259/0.3731, allocations: 6.318 MB / 457.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00894/0.382, allocations: 2.885 MB / 460.7 MB, free: 8.523 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007038/0.3891, allocations: 2.284 MB / 462.9 MB, free: 6.984 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02166/0.4107, allocations: 9.691 MB / 472.6 MB, free: 1.762 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0122/0.4229, allocations: 6.9 MB / 479.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006844/0.4298, allocations: 3.214 MB / 482.8 MB, free: 9.062 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007582/0.4374, allocations: 4.468 MB / 487.2 MB, free: 4.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003026/0.4404, allocations: 0.7148 MB / 487.9 MB, free: 3.863 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006357/0.4467, allocations: 1.947 MB / 489.9 MB, free: 1.914 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005465/0.4522, allocations: 3.888 MB / 493.8 MB, free: 14.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007464/0.4597, allocations: 4.127 MB / 497.9 MB, free: 9.867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01972/0.4794, allocations: 13.21 MB / 0.4991 GB, free: 12.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.325e-05/0.4794, allocations: 4 kB / 0.4991 GB, free: 12.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 8.747e-06/0.4794, allocations: 4 kB / 0.4991 GB, free: 12.6 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005355/0.4799, allocations: 0 / 0.4991 GB, free: 12.6 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: 2348 * Number of variables: 2348 Notification: Performance of Generate backend data structure: time 0.02849/0.5084, allocations: 9.137 MB / 0.5081 GB, free: 3.367 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.5085, allocations: 8.031 kB / 0.5081 GB, free: 3.359 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04981/0.5583, allocations: 4.899 MB / 0.5128 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0188/0.5771, allocations: 6.41 MB / 0.5191 GB, free: 7.965 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005378/0.5776, allocations: 435.7 kB / 0.5195 GB, free: 7.539 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003074/0.5807, allocations: 0.5821 MB / 0.5201 GB, free: 6.957 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04276/0.6235, allocations: 17.05 MB / 0.5367 GB, free: 4.953 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004981/0.624, allocations: 75.42 kB / 0.5368 GB, free: 4.879 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002603/0.6266, allocations: 271.8 kB / 0.5371 GB, free: 4.613 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005417/0.632, allocations: 2.656 MB / 0.5397 GB, free: 1.957 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03638/0.6684, allocations: 14.78 MB / 0.5541 GB, free: 3.164 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1039/0.7722, allocations: 64.36 MB / 0.617 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4727/1.245, allocations: 8.479 MB / 0.6252 GB, free: 157.1 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007449/1.252, allocations: 4.702 MB / 0.6298 GB, free: 155.5 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03065/1.283, allocations: 18.66 MB / 0.648 GB, free: 147.1 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.75e-05/1.283, allocations: 63.94 kB / 0.6481 GB, free: 147.1 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=281): time 7.414e-06/1.283, allocations: 0 / 0.6481 GB, free: 147.1 MB / 0.5138 GB Notification: Performance of matching and sorting (n=374): time 0.2518/1.535, allocations: 74.28 MB / 0.7206 GB, free: 85.06 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/1.535, allocations: 380.6 kB / 0.721 GB, free: 84.61 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01028/1.545, allocations: 6.377 MB / 0.7272 GB, free: 78.33 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001278/1.547, allocations: 81.7 kB / 0.7273 GB, free: 78.25 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003349/1.55, allocations: 4.935 MB / 0.7321 GB, free: 73.7 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002196/1.552, allocations: 1.438 MB / 0.7335 GB, free: 72.28 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005605/1.558, allocations: 1.991 MB / 0.7355 GB, free: 70.28 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.307e-05/1.558, allocations: 305.1 kB / 0.7358 GB, free: 69.98 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007448/1.565, allocations: 5.992 MB / 0.7416 GB, free: 63.98 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009757/1.575, allocations: 11.02 MB / 0.7524 GB, free: 50.52 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0186/1.594, allocations: 17.96 MB / 0.7699 GB, free: 30.12 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002048/1.594, allocations: 52 kB / 0.77 GB, free: 30.07 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.04845/1.642, allocations: 23.29 MB / 0.7927 GB, free: 6.723 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002921/1.643, allocations: 81 kB / 0.7928 GB, free: 6.645 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003556/1.643, allocations: 172 kB / 0.793 GB, free: 6.477 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0231/1.666, allocations: 7.438 MB / 0.8002 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009479/1.676, allocations: 2.195 MB / 0.8024 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2872/1.963, allocations: 38.11 MB / 0.8396 GB, free: 158.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008906/1.972, allocations: 0.7471 MB / 0.8403 GB, free: 158.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001771/1.973, allocations: 0.5251 MB / 0.8408 GB, free: 158.4 MB / 0.545 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.007685/1.981, allocations: 3.433 MB / 0.8442 GB, free: 157.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001885/1.983, allocations: 0.6003 MB / 0.8448 GB, free: 157.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03184/2.015, allocations: 16.88 MB / 0.8613 GB, free: 151.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.639e-05/2.015, allocations: 53.5 kB / 0.8613 GB, free: 151.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-05/2.015, allocations: 15.25 kB / 0.8613 GB, free: 151.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.945e-05/2.015, allocations: 15.19 kB / 0.8613 GB, free: 151.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05424/2.069, allocations: 31.96 MB / 0.8925 GB, free: 132.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-05/2.069, allocations: 4 kB / 0.8925 GB, free: 132.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003319/2.073, allocations: 0.6039 MB / 0.8931 GB, free: 131.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02021/2.093, allocations: 7.01 MB / 0.9 GB, free: 124.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001403/2.094, allocations: 71.92 kB / 0.9001 GB, free: 124.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04223/2.136, allocations: 36.3 MB / 0.9355 GB, free: 88.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.922e-06/2.136, allocations: 11.92 kB / 0.9355 GB, free: 88.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04005/2.177, allocations: 24.56 MB / 0.9595 GB, free: 64.13 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002744/2.179, allocations: 0.6544 MB / 0.9601 GB, free: 63.46 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002679/2.182, allocations: 67.94 kB / 0.9602 GB, free: 63.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005523/2.187, allocations: 446.7 kB / 0.9606 GB, free: 62.96 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001615/2.189, allocations: 250.6 kB / 0.9609 GB, free: 62.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004187/2.19, allocations: 92 kB / 0.961 GB, free: 62.63 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005784/2.195, allocations: 4.041 MB / 0.9649 GB, free: 58.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/2.195, allocations: 0 / 0.9649 GB, free: 58.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009614/2.205, allocations: 2.279 MB / 0.9671 GB, free: 56.33 MB / 0.545 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.001038/2.206, allocations: 291.9 kB / 0.9674 GB, free: 56.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01856/2.225, allocations: 14.21 MB / 0.9813 GB, free: 41.86 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/2.225, allocations: 0 / 0.9813 GB, free: 41.86 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00858/2.233, allocations: 6.158 MB / 0.9873 GB, free: 35.66 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005126/2.238, allocations: 0.8844 MB / 0.9882 GB, free: 34.81 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02831/2.267, allocations: 20.15 MB / 1.008 GB, free: 14.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007833/2.274, allocations: 5.265 MB / 1.013 GB, free: 9.316 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00775/2.282, allocations: 3.016 MB / 1.016 GB, free: 6.293 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001957/2.284, allocations: 383.4 kB / 1.016 GB, free: 5.918 MB / 0.545 GB Notification: Performance of SimCode: time 1.203e-06/2.284, allocations: 0 / 1.016 GB, free: 5.918 MB / 0.545 GB Notification: Performance of Templates: time 0.3711/2.655, allocations: 109.8 MB / 1.124 GB, free: 96.11 MB / 0.545 GB " [Timeout remaining time 657] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarFourbar/PlanarFourbar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.415232279337943]