Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00137/0.00137, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001155/0.001155, allocations: 167.8 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9874/0.9874, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.259e-05/2.427e-05, allocations: 2.312 kB / 273.4 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01017/0.0102, allocations: 12.68 MB / 286.1 MB, free: 4.555 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1233/0.1335, allocations: 4.742 MB / 290.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001835/0.1353, allocations: 102.8 kB / 290.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004989/0.1403, allocations: 4.417 MB / 295.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004271/0.1446, allocations: 2.261 MB / 297.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.1463, allocations: 1.223 MB / 298.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006232/0.1525, allocations: 6.808 MB / 305.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004084/0.1566, allocations: 4.72 MB / 310.4 MB, free: 8.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004488/0.1611, allocations: 4.282 MB / 314.6 MB, free: 5.828 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002888/0.164, allocations: 3.183 MB / 317.8 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009239/0.1649, allocations: 0.5 MB / 318.3 MB, free: 2.398 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001937/0.1668, allocations: 1.582 MB / 319.9 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001834/0.1687, allocations: 2.781 MB / 322.7 MB, free: 14.2 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002264/0.1709, allocations: 1.756 MB / 324.4 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005845/0.1768, allocations: 6.089 MB / 330.5 MB, free: 6.793 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1768, allocations: 0 / 330.5 MB, free: 6.793 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1768, allocations: 0 / 330.5 MB, free: 6.793 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002119/0.177, allocations: 0 / 330.5 MB, free: 6.793 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.007532/0.1845, allocations: 6.326 MB / 336.8 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.1846, allocations: 12.03 kB / 336.9 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005801/0.1904, allocations: 2.222 MB / 339.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003853/0.1942, allocations: 2.805 MB / 341.9 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/0.1944, allocations: 302.8 kB / 342.2 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005646/0.1949, allocations: 435.4 kB / 342.6 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009092/0.204, allocations: 6.622 MB / 349.2 MB, free: 4.137 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001159/0.2041, allocations: 53.3 kB / 349.3 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003314/0.2045, allocations: 190.8 kB / 349.5 MB, free: 3.906 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001585/0.2061, allocations: 1.825 MB / 351.3 MB, free: 2.082 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006792/0.2128, allocations: 3.101 MB / 354.4 MB, free: 14.97 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03596/0.2488, allocations: 47.11 MB / 401.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004822/0.2536, allocations: 2.203 MB / 403.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006107/0.2542, allocations: 0.5058 MB / 404.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005692/0.2599, allocations: 4.277 MB / 408.5 MB, free: 7.309 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.26, allocations: 54.39 kB / 408.5 MB, free: 7.246 MB / 362.7 MB Notification: Performance of pre-optimization done (n=165): time 4.408e-06/0.26, allocations: 0 / 408.5 MB, free: 7.246 MB / 362.7 MB Notification: Performance of matching and sorting (n=207): time 0.02061/0.2806, allocations: 7.981 MB / 416.5 MB, free: 15.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.313e-05/0.2807, allocations: 201.2 kB / 416.7 MB, free: 15.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003628/0.2843, allocations: 3.924 MB / 420.6 MB, free: 11.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001416/0.2844, allocations: 53.7 kB / 420.7 MB, free: 11.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001814/0.2863, allocations: 3.9 MB / 424.6 MB, free: 7.098 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005983/0.2869, allocations: 0.8529 MB / 425.5 MB, free: 6.238 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001365/0.2882, allocations: 1.451 MB / 426.9 MB, free: 4.773 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.2883, allocations: 480.8 kB / 427.4 MB, free: 4.301 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008787/0.2892, allocations: 0.6102 MB / 428 MB, free: 3.688 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1352/0.4244, allocations: 6.468 MB / 434.5 MB, free: 105.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005284/0.4297, allocations: 7.693 MB / 442.1 MB, free: 97.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001162/0.4298, allocations: 39.84 kB / 442.2 MB, free: 97.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=866) (initialization): time 0.007763/0.4376, allocations: 5.275 MB / 447.5 MB, free: 96.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.223e-05/0.4377, allocations: 63.98 kB / 447.5 MB, free: 96.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001594/0.4378, allocations: 136.2 kB / 447.7 MB, free: 96.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.4389, allocations: 442.1 kB / 448.1 MB, free: 96.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00251/0.4414, allocations: 1.472 MB / 449.6 MB, free: 96.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002313/0.4437, allocations: 3.076 MB / 452.6 MB, free: 94.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002684/0.4464, allocations: 292 kB / 452.9 MB, free: 94.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003404/0.4467, allocations: 338.2 kB / 453.2 MB, free: 94.74 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.001254/0.448, allocations: 0.7007 MB / 454 MB, free: 94.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004383/0.4484, allocations: 441.8 kB / 454.4 MB, free: 94.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/0.45, allocations: 1.256 MB / 455.6 MB, free: 94.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/0.45, allocations: 22 kB / 455.7 MB, free: 94.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.45, allocations: 7.875 kB / 455.7 MB, free: 94.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.45, allocations: 12.67 kB / 455.7 MB, free: 94.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006545/0.4565, allocations: 6.006 MB / 461.7 MB, free: 93.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.689e-06/0.4566, allocations: 10.56 kB / 461.7 MB, free: 93.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005872/0.4571, allocations: 300.6 kB / 462 MB, free: 93.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006253/0.4578, allocations: 250.5 kB / 462.2 MB, free: 93.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.862e-05/0.4578, allocations: 44.95 kB / 462.3 MB, free: 93.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/0.4593, allocations: 2.328 MB / 464.6 MB, free: 91.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.4593, allocations: 19.08 kB / 464.6 MB, free: 91.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/0.4617, allocations: 2.623 MB / 467.2 MB, free: 89.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000574/0.4623, allocations: 389.1 kB / 467.6 MB, free: 89.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000307/0.4626, allocations: 41.56 kB / 467.7 MB, free: 89.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007139/0.4633, allocations: 49.06 kB / 467.7 MB, free: 89.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.4635, allocations: 152.7 kB / 467.9 MB, free: 89.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.791e-05/0.4636, allocations: 56.27 kB / 467.9 MB, free: 89.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001767/0.4653, allocations: 1.604 MB / 469.5 MB, free: 88.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4653, allocations: 0 / 469.5 MB, free: 88.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004148/0.4695, allocations: 1.199 MB / 470.7 MB, free: 87.21 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.0004452/0.4699, allocations: 255.5 kB / 471 MB, free: 86.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003834/0.4738, allocations: 2.976 MB / 473.9 MB, free: 84.44 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.4738, allocations: 4 kB / 474 MB, free: 84.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007112/0.4745, allocations: 0.7694 MB / 474.7 MB, free: 83.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/0.4763, allocations: 0.5054 MB / 475.2 MB, free: 83.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/0.4876, allocations: 9.123 MB / 484.4 MB, free: 74.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/0.4889, allocations: 1.518 MB / 485.9 MB, free: 73.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001406/0.4903, allocations: 0.5563 MB / 486.4 MB, free: 73.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00081/0.4911, allocations: 0.6738 MB / 487.1 MB, free: 72.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.583e-06/0.4911, allocations: 0 / 487.1 MB, free: 72.5 MB / 378.7 MB Notification: Performance of Templates: time 0.05663/0.5477, allocations: 35.4 MB / 0.5103 GB, free: 37.62 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 3.9386006640270352]