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.001162/0.001162, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.001226/0.001226, allocations: 174.8 kB / 25.33 MB, free: 9.457 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 0.9527/0.9527, allocations: 158.6 MB / 187.2 MB, free: 2.492 MB / 170.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.054e-06/2.054e-06, allocations: 0 / 251 MB, free: 3.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.767e-05/3.973e-05, allocations: 6.25 kB / 251 MB, free: 3.582 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01569/0.01573, allocations: 13.18 MB / 264.2 MB, free: 6.34 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.02631, allocations: 4.769 MB / 269 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002831/0.02914, allocations: 107.4 kB / 269.1 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007309/0.03645, allocations: 4.521 MB / 273.6 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00683/0.04328, allocations: 2.29 MB / 275.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002916/0.0462, allocations: 1.228 MB / 277.1 MB, free: 9.387 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008657/0.05485, allocations: 6.321 MB / 283.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006892/0.06175, allocations: 4.737 MB / 288.2 MB, free: 14.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007197/0.06894, allocations: 3.93 MB / 292.1 MB, free: 10.31 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005343/0.07429, allocations: 3.184 MB / 295.3 MB, free: 7.117 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001797/0.07608, allocations: 0.5039 MB / 295.8 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003582/0.07966, allocations: 1.58 MB / 297.4 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003368/0.08303, allocations: 2.809 MB / 300.2 MB, free: 2.215 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004638/0.08767, allocations: 1.776 MB / 302 MB, free: 444 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1396/0.2273, allocations: 6.135 MB / 308.1 MB, free: 28.47 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.2273, allocations: 8.125 kB / 308.1 MB, free: 28.47 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2273, allocations: 0 / 308.1 MB, free: 28.47 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0004278/0.2277, allocations: 0 / 308.1 MB, free: 28.47 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.01941/0.2471, allocations: 6.616 MB / 314.7 MB, free: 25.97 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.2472, allocations: 12.27 kB / 314.8 MB, free: 25.97 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008429/0.2556, allocations: 3.131 MB / 317.9 MB, free: 25.6 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006826/0.2624, allocations: 3.233 MB / 321.1 MB, free: 24.94 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002283/0.2627, allocations: 304.3 kB / 321.4 MB, free: 24.93 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002011/0.2647, allocations: 436.3 kB / 321.8 MB, free: 24.92 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01789/0.2826, allocations: 7.582 MB / 329.4 MB, free: 21.21 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001956/0.2828, allocations: 47.91 kB / 329.5 MB, free: 21.21 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006726/0.2834, allocations: 189.3 kB / 329.7 MB, free: 21.11 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001783/0.2852, allocations: 1.981 MB / 331.6 MB, free: 20.76 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01124/0.2965, allocations: 4.183 MB / 335.8 MB, free: 19.16 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04521/0.3417, allocations: 47.42 MB / 383.2 MB, free: 2.902 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00673/0.3484, allocations: 2.638 MB / 385.9 MB, free: 236 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/0.3496, allocations: 0.5873 MB / 386.5 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007777/0.3574, allocations: 4.565 MB / 391 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.489e-05/0.3575, allocations: 58.39 kB / 391.1 MB, free: 11.04 MB / 330.7 MB Notification: Performance of pre-optimization done (n=165): time 6.652e-06/0.3575, allocations: 0 / 391.1 MB, free: 11.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=207): time 0.02832/0.3858, allocations: 12.48 MB / 403.6 MB, free: 14.61 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.3859, allocations: 204.5 kB / 403.8 MB, free: 14.37 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006509/0.3924, allocations: 3.977 MB / 407.7 MB, free: 10.38 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004261/0.3928, allocations: 57.7 kB / 407.8 MB, free: 10.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002754/0.3956, allocations: 3.871 MB / 411.7 MB, free: 6.477 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001054/0.3966, allocations: 0.8443 MB / 412.5 MB, free: 5.645 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001509/0.3982, allocations: 1.422 MB / 413.9 MB, free: 4.211 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.3983, allocations: 480.8 kB / 414.4 MB, free: 3.738 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/0.3996, allocations: 0.6883 MB / 415.1 MB, free: 3.047 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004766/0.4044, allocations: 6.508 MB / 421.6 MB, free: 9.941 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007088/0.4114, allocations: 7.872 MB / 429.5 MB, free: 15.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001341/0.4116, allocations: 40 kB / 429.5 MB, free: 15.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=866) (initialization): time 0.01108/0.4227, allocations: 5.699 MB / 435.2 MB, free: 10.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.335e-05/0.4227, allocations: 67.94 kB / 435.3 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001277/0.4229, allocations: 136 kB / 435.4 MB, free: 9.871 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/0.424, allocations: 0.4906 MB / 435.9 MB, free: 9.379 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003317/0.4274, allocations: 1.505 MB / 437.4 MB, free: 7.871 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003287/0.4306, allocations: 3.194 MB / 440.6 MB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003944/0.4346, allocations: 411.5 kB / 441 MB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008677/0.4355, allocations: 391.4 kB / 441.4 MB, free: 3.781 MB / 378.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.002552/0.438, allocations: 0.6964 MB / 442.1 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009546/0.439, allocations: 465.2 kB / 442.5 MB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002333/0.4413, allocations: 1.385 MB / 443.9 MB, free: 1.207 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/0.4413, allocations: 20 kB / 443.9 MB, free: 1.188 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.4413, allocations: 8 kB / 444 MB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.4413, allocations: 7.969 kB / 444 MB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1495/0.5908, allocations: 6.258 MB / 450.2 MB, free: 125.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.967e-05/0.5908, allocations: 9.625 kB / 450.2 MB, free: 125.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008484/0.5917, allocations: 331 kB / 450.6 MB, free: 125.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008764/0.5925, allocations: 310.5 kB / 450.9 MB, free: 125.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001511/0.5927, allocations: 44.75 kB / 450.9 MB, free: 125.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001958/0.5946, allocations: 2.416 MB / 453.3 MB, free: 124 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.5947, allocations: 15.72 kB / 453.3 MB, free: 124 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003362/0.598, allocations: 2.836 MB / 456.2 MB, free: 122.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/0.5992, allocations: 0.579 MB / 456.7 MB, free: 122.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003378/0.5996, allocations: 43.98 kB / 456.8 MB, free: 122.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008812/0.6005, allocations: 153.8 kB / 456.9 MB, free: 122.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/0.6006, allocations: 154.4 kB / 457.1 MB, free: 122.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.782e-05/0.6007, allocations: 62.12 kB / 457.1 MB, free: 122.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002547/0.6033, allocations: 1.769 MB / 458.9 MB, free: 122.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6033, allocations: 0 / 458.9 MB, free: 122.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004178/0.6075, allocations: 1.228 MB / 460.1 MB, free: 122.6 MB / 378.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.0005194/0.608, allocations: 268.8 kB / 460.4 MB, free: 122.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004299/0.6123, allocations: 3.172 MB / 463.6 MB, free: 122.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.6123, allocations: 3.906 kB / 463.6 MB, free: 122.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00091/0.6132, allocations: 0.8226 MB / 464.4 MB, free: 121.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002112/0.6153, allocations: 0.5091 MB / 464.9 MB, free: 121.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/0.63, allocations: 9.187 MB / 474.1 MB, free: 114.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001367/0.6314, allocations: 1.524 MB / 475.6 MB, free: 113.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00266/0.634, allocations: 1.652 MB / 477.3 MB, free: 112.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004976/0.6345, allocations: 262.7 kB / 477.5 MB, free: 111.9 MB / 378.7 MB Notification: Performance of SimCode: time 2.104e-06/0.6345, allocations: 4 kB / 477.5 MB, free: 111.9 MB / 378.7 MB Notification: Performance of Templates: time 0.04891/0.6834, allocations: 34.09 MB / 0.4996 GB, free: 78.36 MB / 378.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.269645336084068]