Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001508/0.001508, allocations: 92.33 kB / 21.73 MB, free: 2.68 MB / 18.57 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.001599/0.001599, allocations: 167 kB / 25.02 MB, free: 9.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 250.4 MB, free: 3.945 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.137e-05/3.327e-05, allocations: 2.312 kB / 250.4 MB, free: 3.941 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.0229/0.02293, allocations: 16.08 MB / 266.4 MB, free: 3.789 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01558/0.03851, allocations: 5.955 MB / 272.4 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00448/0.04299, allocations: 179.1 kB / 272.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01431/0.0573, allocations: 6.523 MB / 279.1 MB, free: 7.094 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009995/0.06729, allocations: 3.052 MB / 282.1 MB, free: 4.027 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006506/0.0738, allocations: 2.491 MB / 284.6 MB, free: 1.531 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01552/0.08932, allocations: 10.12 MB / 294.8 MB, free: 7.395 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1608/0.2501, allocations: 7.456 MB / 302.2 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01315/0.2632, allocations: 4.968 MB / 307.2 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01033/0.2736, allocations: 4.698 MB / 311.9 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003969/0.2775, allocations: 0.7461 MB / 312.6 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005555/0.2831, allocations: 1.887 MB / 314.5 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005919/0.289, allocations: 4.127 MB / 318.6 MB, free: 18.87 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006829/0.2958, allocations: 2.607 MB / 321.2 MB, free: 18.52 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01629/0.3121, allocations: 13.67 MB / 334.9 MB, free: 13.21 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.3121, allocations: 0 / 334.9 MB, free: 13.21 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3121, allocations: 3.938 kB / 334.9 MB, free: 13.21 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0005012/0.3126, allocations: 0 / 334.9 MB, free: 13.21 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2349 * Number of variables: 2349 Notification: Performance of Generate backend data structure: time 0.02382/0.3365, allocations: 9.297 MB / 344.2 MB, free: 6.203 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.3365, allocations: 11.98 kB / 344.2 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04258/0.3791, allocations: 5.773 MB / 350 MB, free: 464 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01917/0.3983, allocations: 6.538 MB / 356.5 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005259/0.3988, allocations: 436.5 kB / 357 MB, free: 9.738 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002796/0.4016, allocations: 0.5839 MB / 357.5 MB, free: 9.195 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04109/0.4427, allocations: 17.45 MB / 375 MB, free: 6.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002859/0.443, allocations: 82.97 kB / 375.1 MB, free: 6.926 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001001/0.444, allocations: 267.8 kB / 375.3 MB, free: 6.707 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00514/0.4491, allocations: 2.669 MB / 378 MB, free: 4.074 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03632/0.4854, allocations: 14.91 MB / 392.9 MB, free: 5.402 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3151/0.8005, allocations: 60.77 MB / 453.7 MB, free: 95.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02359/0.8241, allocations: 8.38 MB / 462.1 MB, free: 95.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007198/0.8313, allocations: 4.84 MB / 466.9 MB, free: 94.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/0.8324, allocations: 446.6 kB / 467.3 MB, free: 94.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.582e-05/0.8325, allocations: 72.47 kB / 467.4 MB, free: 94.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=301): time 6.101e-06/0.8325, allocations: 0 / 467.4 MB, free: 94.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=400): time 0.3267/1.159, allocations: 104.8 MB / 0.5588 GB, free: 3.914 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/1.159, allocations: 382.1 kB / 0.5592 GB, free: 3.461 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0126/1.172, allocations: 6.553 MB / 0.5656 GB, free: 12.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00151/1.173, allocations: 93.69 kB / 0.5657 GB, free: 12.83 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005637/1.179, allocations: 4.853 MB / 0.5704 GB, free: 8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003648/1.183, allocations: 1.508 MB / 0.5719 GB, free: 6.512 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00513/1.188, allocations: 1.97 MB / 0.5738 GB, free: 4.531 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001851/1.188, allocations: 308.7 kB / 0.5741 GB, free: 4.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01256/1.201, allocations: 6.626 MB / 0.5806 GB, free: 13.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1948/1.395, allocations: 11.73 MB / 0.592 GB, free: 143.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02445/1.42, allocations: 19.13 MB / 0.6107 GB, free: 132.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002596/1.42, allocations: 47.69 kB / 0.6107 GB, free: 132.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=1236) (initialization): time 0.0572/1.477, allocations: 27.3 MB / 0.6374 GB, free: 123.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000325/1.478, allocations: 80 kB / 0.6375 GB, free: 123.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004415/1.478, allocations: 164 kB / 0.6376 GB, free: 123.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03387/1.512, allocations: 12.05 MB / 0.6494 GB, free: 112.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008147/1.52, allocations: 2.165 MB / 0.6515 GB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06003/1.58, allocations: 47.46 MB / 0.6978 GB, free: 62.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01225/1.592, allocations: 0.9806 MB / 0.6988 GB, free: 62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002763/1.595, allocations: 0.5258 MB / 0.6993 GB, free: 61.47 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 762 * 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 (1079): * Single equations (assignments): 1072 * 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,74,68.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0105/1.606, allocations: 3.432 MB / 0.7027 GB, free: 58.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003779/1.609, allocations: 0.6856 MB / 0.7033 GB, free: 57.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04374/1.653, allocations: 20.62 MB / 0.7235 GB, free: 37.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.922e-05/1.653, allocations: 54.73 kB / 0.7235 GB, free: 37.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.738e-05/1.653, allocations: 16 kB / 0.7235 GB, free: 37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000107/1.653, allocations: 19.92 kB / 0.7236 GB, free: 36.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2619/1.915, allocations: 35.82 MB / 0.7585 GB, free: 133.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.839e-05/1.915, allocations: 5.156 kB / 0.7586 GB, free: 133.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003491/1.919, allocations: 0.6295 MB / 0.7592 GB, free: 133.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03213/1.951, allocations: 11.52 MB / 0.7704 GB, free: 131.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001366/1.952, allocations: 71.56 kB / 0.7705 GB, free: 131.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06073/2.013, allocations: 45.16 MB / 0.8146 GB, free: 97.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.255e-06/2.013, allocations: 8 kB / 0.8146 GB, free: 97.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05205/2.065, allocations: 29.42 MB / 0.8433 GB, free: 68.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00551/2.071, allocations: 1.811 MB / 0.8451 GB, free: 66.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002805/2.074, allocations: 79.92 kB / 0.8452 GB, free: 66.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007157/2.081, allocations: 0.6745 MB / 0.8458 GB, free: 66.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002412/2.083, allocations: 300.9 kB / 0.8461 GB, free: 65.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001125/2.084, allocations: 106 kB / 0.8462 GB, free: 65.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.009323/2.094, allocations: 4.014 MB / 0.8501 GB, free: 61.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/2.094, allocations: 0 / 0.8501 GB, free: 61.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01851/2.112, allocations: 2.789 MB / 0.8529 GB, free: 58.87 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (254): * Single equations (assignments): 247 * 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 {(7,66,63.3%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,37)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002592/2.115, allocations: 318.6 kB / 0.8532 GB, free: 58.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.02423/2.139, allocations: 15.56 MB / 0.8684 GB, free: 43.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/2.139, allocations: 4.25 kB / 0.8684 GB, free: 43.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0107/2.15, allocations: 6.95 MB / 0.8752 GB, free: 36.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009086/2.159, allocations: 0.8511 MB / 0.876 GB, free: 35.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2068/2.365, allocations: 20.98 MB / 0.8965 GB, free: 128.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009599/2.375, allocations: 4.841 MB / 0.9012 GB, free: 127.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007801/2.383, allocations: 2.986 MB / 0.9041 GB, free: 127.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002239/2.385, allocations: 367.1 kB / 0.9045 GB, free: 127.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.693e-06/2.385, allocations: 0 / 0.9045 GB, free: 127.7 MB / 410.7 MB Notification: Performance of Templates: time 0.1594/2.545, allocations: 124.5 MB / 1.026 GB, free: 29.6 MB / 410.7 MB " [Timeout remaining time 657] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarFourbar/PlanarFourbar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 10.090709267999046]