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.001031/0.001031, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.00162/0.00162, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9867/0.9867, allocations: 177 MB / 204.8 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] 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 2.515e-06/2.515e-06, allocations: 0 / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.968e-05/4.22e-05, allocations: 9.344 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.1506/0.1506, allocations: 17.54 MB / 290.5 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01305/0.1637, allocations: 5.977 MB / 296.4 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003303/0.167, allocations: 170 kB / 296.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007778/0.1748, allocations: 6.748 MB / 303.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005964/0.1807, allocations: 3.002 MB / 306.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003386/0.1841, allocations: 2.522 MB / 308.9 MB, free: 8.746 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009036/0.1931, allocations: 11.13 MB / 320 MB, free: 1.738 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008138/0.2013, allocations: 7.456 MB / 327.5 MB, free: 10.6 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007072/0.2084, allocations: 4.961 MB / 332.4 MB, free: 5.926 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006031/0.2144, allocations: 4.811 MB / 337.2 MB, free: 1.141 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001772/0.2162, allocations: 0.7383 MB / 338 MB, free: 412 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003205/0.2194, allocations: 1.873 MB / 339.8 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002919/0.2223, allocations: 4.103 MB / 343.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002928/0.2252, allocations: 2.579 MB / 346.5 MB, free: 7.828 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008747/0.234, allocations: 8.41 MB / 354.9 MB, free: 15.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.234, allocations: 8 kB / 354.9 MB, free: 15.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.234, allocations: 0 / 354.9 MB, free: 15.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002641/0.2342, allocations: 0 / 354.9 MB, free: 15.38 MB / 314.7 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.0133/0.2475, allocations: 9.705 MB / 364.6 MB, free: 5.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.2476, allocations: 11.98 kB / 364.7 MB, free: 5.578 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02251/0.2701, allocations: 5.748 MB / 370.4 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009961/0.28, allocations: 5.759 MB / 376.2 MB, free: 9.973 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002559/0.2803, allocations: 435.7 kB / 376.6 MB, free: 9.547 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008739/0.2812, allocations: 0.5859 MB / 377.2 MB, free: 8.961 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01516/0.2963, allocations: 10.55 MB / 387.7 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001445/0.2965, allocations: 71.41 kB / 387.8 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004859/0.297, allocations: 271.8 kB / 388.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002625/0.2996, allocations: 2.659 MB / 390.7 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01245/0.312, allocations: 5.972 MB / 396.7 MB, free: 4.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3211/0.6331, allocations: 65 MB / 461.7 MB, free: 64.33 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0154/0.6485, allocations: 5.485 MB / 467.2 MB, free: 64.16 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00226/0.6508, allocations: 1.517 MB / 468.7 MB, free: 64.11 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01514/0.6659, allocations: 11.18 MB / 479.9 MB, free: 60.98 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.666, allocations: 71.05 kB / 479.9 MB, free: 60.92 MB / 378.8 MB Notification: Performance of pre-optimization done (n=281): time 6.002e-06/0.666, allocations: 0 / 479.9 MB, free: 60.92 MB / 378.8 MB Notification: Performance of matching and sorting (n=374): time 0.1184/0.7844, allocations: 57.38 MB / 0.5247 GB, free: 10.54 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.572e-05/0.7844, allocations: 380.2 kB / 0.5251 GB, free: 10.09 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005149/0.7896, allocations: 5.486 MB / 0.5305 GB, free: 4.824 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005179/0.7901, allocations: 81.7 kB / 0.5305 GB, free: 4.738 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001833/0.7919, allocations: 5.16 MB / 0.5356 GB, free: 15.96 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001398/0.7933, allocations: 1.488 MB / 0.537 GB, free: 14.5 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002518/0.7959, allocations: 2.042 MB / 0.539 GB, free: 12.44 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 9.982e-05/0.796, allocations: 488.5 kB / 0.5395 GB, free: 11.96 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002883/0.7988, allocations: 1.936 MB / 0.5414 GB, free: 10.02 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006831/0.8057, allocations: 9.55 MB / 0.5507 GB, free: 13.16 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01134/0.817, allocations: 12.35 MB / 0.5628 GB, free: 13.9 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.984e-05/0.8171, allocations: 48 kB / 0.5628 GB, free: 13.85 MB / 426.8 MB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.1768/0.9939, allocations: 13.83 MB / 0.5763 GB, free: 132.1 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001358/0.994, allocations: 80.34 kB / 0.5764 GB, free: 132.1 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002467/0.9943, allocations: 172.1 kB / 0.5765 GB, free: 132.1 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01546/1.01, allocations: 5.955 MB / 0.5824 GB, free: 132.1 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005457/1.015, allocations: 2.187 MB / 0.5845 GB, free: 132.1 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01971/1.035, allocations: 15.81 MB / 0.5999 GB, free: 126.3 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006157/1.041, allocations: 0.8671 MB / 0.6008 GB, free: 126.3 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008859/1.042, allocations: 0.5282 MB / 0.6013 GB, free: 126.3 MB / 426.8 MB 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.002339/1.044, allocations: 0.8806 MB / 0.6022 GB, free: 126.2 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001174/1.045, allocations: 0.6659 MB / 0.6028 GB, free: 126.2 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01439/1.06, allocations: 9.048 MB / 0.6116 GB, free: 125.8 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.468e-05/1.06, allocations: 51.86 kB / 0.6117 GB, free: 125.8 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.098e-05/1.06, allocations: 27.31 kB / 0.6117 GB, free: 125.8 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.99e-05/1.06, allocations: 14.86 kB / 0.6117 GB, free: 125.8 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02754/1.088, allocations: 19.12 MB / 0.6304 GB, free: 111.6 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.728e-05/1.088, allocations: 7.625 kB / 0.6304 GB, free: 111.6 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001724/1.089, allocations: 0.6045 MB / 0.631 GB, free: 111 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01158/1.101, allocations: 5.528 MB / 0.6364 GB, free: 105.4 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004439/1.101, allocations: 62.19 kB / 0.6365 GB, free: 105.4 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01652/1.118, allocations: 14.58 MB / 0.6507 GB, free: 90.66 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.118, allocations: 4 kB / 0.6507 GB, free: 90.66 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01734/1.135, allocations: 10.86 MB / 0.6613 GB, free: 79.95 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001659/1.137, allocations: 0.6015 MB / 0.6619 GB, free: 79.35 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006097/1.137, allocations: 60 kB / 0.662 GB, free: 79.29 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002444/1.14, allocations: 0.5342 MB / 0.6625 GB, free: 78.75 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007674/1.141, allocations: 266.5 kB / 0.6627 GB, free: 78.49 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002334/1.141, allocations: 105.6 kB / 0.6628 GB, free: 78.39 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.002862/1.144, allocations: 2.508 MB / 0.6653 GB, free: 75.91 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.9e-07/1.144, allocations: 0 / 0.6653 GB, free: 75.91 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.006365/1.15, allocations: 2.607 MB / 0.6678 GB, free: 73.32 MB / 426.8 MB 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.0006971/1.151, allocations: 302.1 kB / 0.6681 GB, free: 73.04 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.009881/1.161, allocations: 7.846 MB / 0.6758 GB, free: 65.14 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.161, allocations: 4 kB / 0.6758 GB, free: 65.14 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004272/1.165, allocations: 3.529 MB / 0.6792 GB, free: 61.54 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003351/1.168, allocations: 0.8392 MB / 0.68 GB, free: 60.76 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01773/1.186, allocations: 14.95 MB / 0.6946 GB, free: 45.67 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001681/1.188, allocations: 2.229 MB / 0.6968 GB, free: 43.41 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.003694/1.191, allocations: 2.31 MB / 0.6991 GB, free: 41.09 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001154/1.193, allocations: 376.4 kB / 0.6994 GB, free: 40.73 MB / 426.8 MB Notification: Performance of SimCode: time 2.695e-06/1.193, allocations: 0 / 0.6994 GB, free: 40.73 MB / 426.8 MB Notification: Performance of Templates: time 0.2336/1.426, allocations: 109.9 MB / 0.8068 GB, free: 75.9 MB / 426.8 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.966243006754667]