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.001846/0.001846, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.001893/0.001893, allocations: 166.8 kB / 25.03 MB, free: 8.41 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.371/1.371, allocations: 158.6 MB / 186.8 MB, free: 2.906 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.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 1.172e-06/1.172e-06, allocations: 0 / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.818e-05/2.936e-05, allocations: 6.25 kB / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01875/0.01878, allocations: 13.1 MB / 263.5 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01152/0.0303, allocations: 4.745 MB / 268.2 MB, free: 5.914 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001692/0.03199, allocations: 103.5 kB / 268.3 MB, free: 5.812 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009389/0.04138, allocations: 4.509 MB / 272.8 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006157/0.04754, allocations: 2.282 MB / 275.1 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00284/0.05038, allocations: 1.24 MB / 276.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009761/0.06014, allocations: 6.312 MB / 282.7 MB, free: 7.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007455/0.06759, allocations: 4.737 MB / 287.4 MB, free: 2.625 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006495/0.07409, allocations: 3.321 MB / 290.7 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006484/0.08057, allocations: 3.227 MB / 293.9 MB, free: 12.06 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001517/0.08209, allocations: 0.5039 MB / 294.5 MB, free: 11.56 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003595/0.08569, allocations: 1.584 MB / 296 MB, free: 9.973 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004316/0.09, allocations: 2.813 MB / 298.8 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00455/0.09455, allocations: 1.769 MB / 300.6 MB, free: 5.379 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01467/0.1092, allocations: 9.799 MB / 310.4 MB, free: 11.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.1092, allocations: 0 / 310.4 MB, free: 11.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1092, allocations: 0 / 310.4 MB, free: 11.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002934/0.1095, allocations: 0 / 310.4 MB, free: 11.55 MB / 298.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.01805/0.1276, allocations: 7.175 MB / 317.6 MB, free: 4.301 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.1276, allocations: 11.98 kB / 317.6 MB, free: 4.289 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01369/0.1413, allocations: 3.2 MB / 320.8 MB, free: 1.082 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01045/0.1518, allocations: 3.424 MB / 324.2 MB, free: 13.6 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003317/0.1521, allocations: 308.2 kB / 324.5 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001479/0.1536, allocations: 448.3 kB / 325 MB, free: 12.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0234/0.177, allocations: 8.118 MB / 333.1 MB, free: 3.734 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001775/0.1772, allocations: 51.59 kB / 333.1 MB, free: 3.684 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006693/0.1778, allocations: 187.9 kB / 333.3 MB, free: 3.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004237/0.1821, allocations: 2.039 MB / 335.4 MB, free: 1.457 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01826/0.2003, allocations: 4.589 MB / 339.9 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2316/0.4319, allocations: 54.52 MB / 394.5 MB, free: 55.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/0.4425, allocations: 3.1 MB / 397.6 MB, free: 53.36 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/0.4438, allocations: 0.7447 MB / 398.3 MB, free: 52.6 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0101/0.4539, allocations: 4.709 MB / 403 MB, free: 48.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.4539, allocations: 60.53 kB / 403.1 MB, free: 47.96 MB / 330.7 MB Notification: Performance of pre-optimization done (n=179): time 5.05e-06/0.4539, allocations: 0 / 403.1 MB, free: 47.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=223): time 0.05273/0.5067, allocations: 15.79 MB / 418.9 MB, free: 32.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/0.5067, allocations: 205.9 kB / 419.1 MB, free: 32.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005827/0.5125, allocations: 5.042 MB / 424.1 MB, free: 27.36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004293/0.513, allocations: 61.64 kB / 424.2 MB, free: 27.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002324/0.5153, allocations: 4.077 MB / 428.2 MB, free: 23.38 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009155/0.5162, allocations: 0.9537 MB / 429.2 MB, free: 22.44 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001892/0.5181, allocations: 1.732 MB / 430.9 MB, free: 20.7 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.313e-05/0.5182, allocations: 480.7 kB / 431.4 MB, free: 20.22 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/0.5199, allocations: 0.8836 MB / 432.3 MB, free: 19.34 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003564/0.5234, allocations: 6.77 MB / 439.1 MB, free: 9.988 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007042/0.5305, allocations: 8.446 MB / 447.5 MB, free: 14.99 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001378/0.5306, allocations: 36 kB / 447.5 MB, free: 14.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01722/0.5478, allocations: 6.612 MB / 454.1 MB, free: 8.332 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001181/0.548, allocations: 67.62 kB / 454.2 MB, free: 8.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001768/0.5481, allocations: 132 kB / 454.3 MB, free: 8.141 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004845/0.553, allocations: 1.063 MB / 455.4 MB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005164/0.5581, allocations: 1.466 MB / 456.9 MB, free: 5.605 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/0.5685, allocations: 5.073 MB / 461.9 MB, free: 432 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005891/0.5743, allocations: 411.5 kB / 462.3 MB, free: 20 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001129/0.5755, allocations: 388 kB / 462.7 MB, free: 15.64 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * 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 (804): * Single equations (assignments): 800 * 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,40,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002595/0.5781, allocations: 0.798 MB / 463.5 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001257/0.5793, allocations: 459.7 kB / 464 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00746/0.5868, allocations: 2.392 MB / 466.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.114e-05/0.5868, allocations: 24 kB / 466.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/0.5868, allocations: 12 kB / 466.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.453e-05/0.5869, allocations: 7.969 kB / 466.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02338/0.6102, allocations: 8.438 MB / 474.8 MB, free: 3.395 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.102e-05/0.6103, allocations: 4 kB / 474.8 MB, free: 3.391 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001688/0.612, allocations: 319.5 kB / 475.2 MB, free: 3.078 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00447/0.6164, allocations: 0.8464 MB / 476 MB, free: 2.227 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002703/0.6167, allocations: 43.94 kB / 476 MB, free: 2.184 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008435/0.6251, allocations: 3.945 MB / 480 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.544e-05/0.6251, allocations: 8 kB / 480 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/0.6355, allocations: 3.842 MB / 483.8 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002728/0.6382, allocations: 0.6573 MB / 484.5 MB, free: 9.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008457/0.639, allocations: 36 kB / 484.5 MB, free: 9.465 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002113/0.6411, allocations: 167.8 kB / 484.7 MB, free: 9.301 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004561/0.6416, allocations: 156.5 kB / 484.9 MB, free: 9.152 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001754/0.6418, allocations: 67.97 kB / 484.9 MB, free: 9.086 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004213/0.646, allocations: 2.11 MB / 487 MB, free: 6.965 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.646, allocations: 0 / 487 MB, free: 6.965 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00667/0.6527, allocations: 1.34 MB / 488.4 MB, free: 5.625 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (173): * Single equations (assignments): 169 * 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,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000882/0.6535, allocations: 270.1 kB / 488.6 MB, free: 5.359 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009141/0.6627, allocations: 3.965 MB / 492.6 MB, free: 1.398 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.568e-05/0.6627, allocations: 4 kB / 492.6 MB, free: 1.395 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002372/0.6651, allocations: 1.178 MB / 493.8 MB, free: 200 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1509/0.8159, allocations: 0.491 MB / 494.3 MB, free: 124.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01869/0.8346, allocations: 9.339 MB / 0.4918 GB, free: 121.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004707/0.8393, allocations: 3.056 MB / 0.4948 GB, free: 120.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004234/0.8436, allocations: 1.638 MB / 0.4964 GB, free: 120.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009224/0.8445, allocations: 266.5 kB / 0.4966 GB, free: 120.8 MB / 378.7 MB Notification: Performance of SimCode: time 2.525e-06/0.8445, allocations: 0 / 0.4966 GB, free: 120.8 MB / 378.7 MB Notification: Performance of Templates: time 0.0677/0.9122, allocations: 40.69 MB / 0.5364 GB, free: 84.78 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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: 6.6995529000414535]