Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.0008902/0.0008902, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00124/0.00213, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0009939/0.0009939, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001452/0.002446, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 0.9107/0.9107, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.156/1.067, allocations: 49.49 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] 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.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.474e-05, allocations: 6.109 kB / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01451/0.01454, allocations: 12.89 MB / 234.9 MB, free: 3.098 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0127/0.02724, allocations: 4.969 MB / 239.8 MB, free: 14.11 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003163/0.0304, allocations: 107.4 kB / 240 MB, free: 14.01 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006825/0.03723, allocations: 4.244 MB / 244.2 MB, free: 9.75 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006406/0.04363, allocations: 2.259 MB / 246.5 MB, free: 7.48 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002954/0.04659, allocations: 1.13 MB / 247.6 MB, free: 6.348 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00867/0.05526, allocations: 5.883 MB / 253.5 MB, free: 464 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006141/0.0614, allocations: 4.333 MB / 257.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005743/0.06714, allocations: 3.896 MB / 261.7 MB, free: 8.117 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003212/0.07035, allocations: 3.04 MB / 264.7 MB, free: 5.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007349/0.07109, allocations: 0.5 MB / 265.2 MB, free: 4.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002452/0.07354, allocations: 1.631 MB / 266.9 MB, free: 2.938 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001947/0.07549, allocations: 2.506 MB / 269.4 MB, free: 436 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001818/0.0773, allocations: 1.438 MB / 270.8 MB, free: 14.98 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005394/0.0827, allocations: 5.656 MB / 276.5 MB, free: 9.309 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.143e-05/0.08271, allocations: 4 kB / 276.5 MB, free: 9.305 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.08271, allocations: 0 / 276.5 MB, free: 9.305 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001379/0.08285, allocations: 0 / 276.5 MB, free: 9.305 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: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.009154/0.092, allocations: 6.864 MB / 283.3 MB, free: 2.359 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/0.09206, allocations: 8.031 kB / 283.3 MB, free: 2.352 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005259/0.09732, allocations: 1.405 MB / 284.8 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.147/0.2443, allocations: 2.643 MB / 287.4 MB, free: 47.09 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002547/0.2445, allocations: 309.8 kB / 287.7 MB, free: 47.07 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008153/0.2454, allocations: 436.3 kB / 288.1 MB, free: 47.07 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009842/0.2552, allocations: 5.976 MB / 294.1 MB, free: 44.95 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000141/0.2553, allocations: 44.58 kB / 294.1 MB, free: 44.95 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003404/0.2557, allocations: 188.8 kB / 294.3 MB, free: 44.95 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001768/0.2575, allocations: 1.725 MB / 296.1 MB, free: 44.94 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006215/0.2637, allocations: 3.062 MB / 299.1 MB, free: 44.69 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02302/0.2867, allocations: 34.25 MB / 333.4 MB, free: 13.88 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003976/0.2907, allocations: 2.015 MB / 335.4 MB, free: 11.89 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004449/0.2911, allocations: 422.5 kB / 335.8 MB, free: 11.47 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004614/0.2957, allocations: 4.008 MB / 339.8 MB, free: 7.453 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.466e-05/0.2958, allocations: 47.56 kB / 339.8 MB, free: 7.398 MB / 282.7 MB Notification: Performance of pre-optimization done (n=165): time 5.02e-06/0.2958, allocations: 0 / 339.8 MB, free: 7.398 MB / 282.7 MB Notification: Performance of matching and sorting (n=207): time 0.01576/0.3115, allocations: 6.957 MB / 346.8 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.3116, allocations: 153.8 kB / 347 MB, free: 320 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003836/0.3154, allocations: 3.555 MB / 350.5 MB, free: 12.74 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.3155, allocations: 53.7 kB / 350.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001976/0.3175, allocations: 3.43 MB / 354 MB, free: 9.234 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006765/0.3182, allocations: 0.81 MB / 354.8 MB, free: 8.418 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001183/0.3194, allocations: 1.263 MB / 356.1 MB, free: 7.145 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.3195, allocations: 301.1 kB / 356.4 MB, free: 6.848 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.3208, allocations: 0.7915 MB / 357.1 MB, free: 6.051 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003036/0.3238, allocations: 4.608 MB / 361.8 MB, free: 15.51 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004763/0.3286, allocations: 6.431 MB / 368.2 MB, free: 7.137 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.82e-05/0.3286, allocations: 40 kB / 368.2 MB, free: 7.098 MB / 314.7 MB Notification: Performance of matching and sorting (n=866) (initialization): time 0.005779/0.3344, allocations: 4.47 MB / 372.7 MB, free: 2.598 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.679e-05/0.3345, allocations: 71.06 kB / 372.8 MB, free: 2.531 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00014/0.3346, allocations: 143.5 kB / 372.9 MB, free: 2.395 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009458/0.3355, allocations: 448 kB / 373.3 MB, free: 1.953 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002664/0.3382, allocations: 1.646 MB / 375 MB, free: 312 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/0.3405, allocations: 2.468 MB / 377.5 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002958/0.3435, allocations: 287.7 kB / 377.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003158/0.3438, allocations: 339.9 kB / 378.1 MB, free: 13.13 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * Number of states: 0 () * Number of discrete variables: 46 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (823): * Single equations (assignments): 819 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001428/0.3452, allocations: 0.6535 MB / 378.7 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003689/0.3456, allocations: 259.7 kB / 379 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/0.3471, allocations: 1.1 MB / 380.1 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/0.3471, allocations: 16 kB / 380.1 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3471, allocations: 8 kB / 380.1 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.3471, allocations: 7.969 kB / 380.1 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006178/0.3533, allocations: 5.172 MB / 385.3 MB, free: 5.656 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.845e-05/0.3533, allocations: 12 kB / 385.3 MB, free: 5.645 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007493/0.3541, allocations: 348.3 kB / 385.6 MB, free: 5.305 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006624/0.3547, allocations: 0.4932 MB / 386.1 MB, free: 4.809 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008234/0.3555, allocations: 431 kB / 386.5 MB, free: 4.383 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.002e-05/0.3556, allocations: 39.98 kB / 386.6 MB, free: 4.344 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001513/0.3571, allocations: 1.751 MB / 388.3 MB, free: 2.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/0.3571, allocations: 15.94 kB / 388.3 MB, free: 2.484 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002138/0.3593, allocations: 2.236 MB / 390.6 MB, free: 68 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002592/0.3595, allocations: 51.98 kB / 390.6 MB, free: 16 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006851/0.3602, allocations: 48.02 kB / 390.7 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.3604, allocations: 144.5 kB / 390.8 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.9e-05/0.3605, allocations: 55.98 kB / 390.9 MB, free: 15.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001134/0.3616, allocations: 1.357 MB / 392.2 MB, free: 14.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3616, allocations: 0 / 392.2 MB, free: 14.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003359/0.365, allocations: 1.222 MB / 393.5 MB, free: 13.18 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 2 (j1.phi,j1.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 (172): * Single equations (assignments): 168 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004641/0.3654, allocations: 255.6 kB / 393.7 MB, free: 12.92 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003039/0.3685, allocations: 2.85 MB / 396.6 MB, free: 10.17 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001699/0.3686, allocations: 114.8 kB / 396.7 MB, free: 10.05 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001339/0.37, allocations: 1.27 MB / 397.9 MB, free: 8.754 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002706/0.3727, allocations: 3.511 MB / 401.5 MB, free: 4.711 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/0.3861, allocations: 9.24 MB / 410.7 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001366/0.3875, allocations: 1.523 MB / 412.2 MB, free: 9.691 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00133/0.3888, allocations: 0.5542 MB / 412.8 MB, free: 9.133 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008626/0.3897, allocations: 0.6183 MB / 413.4 MB, free: 8.512 MB / 362.7 MB Notification: Performance of SimCode: time 1.854e-06/0.3897, allocations: 0 / 413.4 MB, free: 8.512 MB / 362.7 MB Notification: Performance of Templates: time 0.1833/0.573, allocations: 35.97 MB / 449.4 MB, free: 99.5 MB / 362.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6073929788544774]