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.0009652/0.0009652, allocations: 80.8 kB / 22.29 MB, free: 2.207 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.001434/0.001434, allocations: 169.6 kB / 25.7 MB, free: 8.441 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.9729/0.9729, allocations: 158.6 MB / 187.6 MB, free: 2.777 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 1.804e-06/1.804e-06, allocations: 0 / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.733e-05, allocations: 6.25 kB / 251.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01426/0.01428, allocations: 12.82 MB / 264.4 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01112/0.0254, allocations: 4.911 MB / 269.3 MB, free: 5.414 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002692/0.02809, allocations: 103.5 kB / 269.4 MB, free: 5.312 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00688/0.03497, allocations: 4.427 MB / 273.8 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006452/0.04142, allocations: 2.274 MB / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002787/0.04421, allocations: 1.232 MB / 277.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008676/0.05289, allocations: 6.307 MB / 283.6 MB, free: 7.035 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007206/0.06009, allocations: 4.601 MB / 288.2 MB, free: 2.348 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00706/0.06715, allocations: 3.852 MB / 292.1 MB, free: 14.49 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004122/0.07128, allocations: 3.063 MB / 295.2 MB, free: 11.42 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001262/0.07254, allocations: 0.5039 MB / 295.7 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002981/0.07552, allocations: 1.627 MB / 297.3 MB, free: 9.285 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002538/0.07806, allocations: 2.806 MB / 300.1 MB, free: 6.473 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002766/0.08082, allocations: 1.78 MB / 301.9 MB, free: 4.688 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007886/0.08871, allocations: 6.148 MB / 308 MB, free: 14.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.08871, allocations: 0 / 308 MB, free: 14.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.08872, allocations: 0 / 308 MB, free: 14.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002833/0.089, allocations: 0 / 308 MB, free: 14.52 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.01013/0.09913, allocations: 5.696 MB / 313.7 MB, free: 8.758 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.09918, allocations: 15.98 kB / 313.7 MB, free: 8.742 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004334/0.1035, allocations: 1.417 MB / 315.2 MB, free: 7.324 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004941/0.1085, allocations: 2.641 MB / 317.8 MB, free: 4.625 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/0.1086, allocations: 308.3 kB / 318.1 MB, free: 4.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007629/0.1094, allocations: 444.5 kB / 318.5 MB, free: 3.887 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009363/0.1188, allocations: 5.966 MB / 324.5 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001245/0.1189, allocations: 55.56 kB / 324.6 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003353/0.1192, allocations: 187.9 kB / 324.7 MB, free: 12.92 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001683/0.1209, allocations: 1.824 MB / 326.6 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006505/0.1274, allocations: 3.07 MB / 329.6 MB, free: 7.996 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1638/0.2912, allocations: 34.21 MB / 363.8 MB, free: 69.31 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004602/0.2958, allocations: 2.057 MB / 365.9 MB, free: 69.1 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007766/0.2966, allocations: 425.1 kB / 366.3 MB, free: 69.06 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006882/0.3034, allocations: 4.027 MB / 370.3 MB, free: 68.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.638e-05/0.3035, allocations: 52.34 kB / 370.4 MB, free: 68.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=165): time 9.338e-06/0.3035, allocations: 3.656 kB / 370.4 MB, free: 68.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=207): time 0.01755/0.321, allocations: 6.946 MB / 377.3 MB, free: 67.89 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.3211, allocations: 203.2 kB / 377.5 MB, free: 67.67 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003649/0.3248, allocations: 3.556 MB / 381.1 MB, free: 65.28 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002421/0.325, allocations: 56.83 kB / 381.1 MB, free: 65.24 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001247/0.3262, allocations: 3.425 MB / 384.6 MB, free: 62.38 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005834/0.3268, allocations: 0.8122 MB / 385.4 MB, free: 61.7 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009628/0.3278, allocations: 1.26 MB / 386.6 MB, free: 60.88 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.694e-05/0.3278, allocations: 312.7 kB / 387 MB, free: 60.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.329, allocations: 0.788 MB / 387.7 MB, free: 59.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002031/0.331, allocations: 4.614 MB / 392.4 MB, free: 53.54 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004093/0.3351, allocations: 5.954 MB / 398.3 MB, free: 46.26 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001118/0.3352, allocations: 36 kB / 398.3 MB, free: 46.22 MB / 330.7 MB Notification: Performance of matching and sorting (n=866) (initialization): time 0.006121/0.3414, allocations: 4.488 MB / 402.8 MB, free: 41.71 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.195e-05/0.3414, allocations: 64 kB / 402.9 MB, free: 41.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.83e-05/0.3415, allocations: 137.3 kB / 403 MB, free: 41.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008771/0.3424, allocations: 435.5 kB / 403.5 MB, free: 41.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002471/0.3449, allocations: 1.544 MB / 405 MB, free: 39.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/0.3468, allocations: 2.457 MB / 407.5 MB, free: 36.99 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002933/0.3497, allocations: 287.7 kB / 407.7 MB, free: 36.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004025/0.3501, allocations: 344.6 kB / 408.1 MB, free: 36.38 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.001534/0.3517, allocations: 0.6604 MB / 408.7 MB, free: 35.7 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000786/0.3524, allocations: 259.7 kB / 409 MB, free: 35.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002093/0.3545, allocations: 1.087 MB / 410.1 MB, free: 34.34 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-05/0.3546, allocations: 24 kB / 410.1 MB, free: 34.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.3546, allocations: 4 kB / 410.1 MB, free: 34.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.3546, allocations: 9.5 kB / 410.1 MB, free: 34.31 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01131/0.3659, allocations: 5.18 MB / 415.3 MB, free: 28.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/0.3659, allocations: 12 kB / 415.3 MB, free: 28.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007865/0.3667, allocations: 323.5 kB / 415.6 MB, free: 28.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00091/0.3676, allocations: 423.2 kB / 416 MB, free: 28.16 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.3677, allocations: 47.98 kB / 416.1 MB, free: 28.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001351/0.3691, allocations: 1.732 MB / 417.8 MB, free: 26.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.3691, allocations: 15.88 kB / 417.8 MB, free: 26.28 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002173/0.3712, allocations: 2.24 MB / 420.1 MB, free: 23.86 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/0.3723, allocations: 0.4933 MB / 420.6 MB, free: 23.36 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003726/0.3727, allocations: 43.98 kB / 420.6 MB, free: 23.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007845/0.3734, allocations: 46.52 kB / 420.6 MB, free: 23.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.3736, allocations: 148.5 kB / 420.8 MB, free: 23.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-05/0.3737, allocations: 60 kB / 420.8 MB, free: 23.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001819/0.3755, allocations: 1.346 MB / 422.2 MB, free: 21.71 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3755, allocations: 0 / 422.2 MB, free: 21.71 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.006212/0.3817, allocations: 1.23 MB / 423.4 MB, free: 20.48 MB / 330.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.0004838/0.3822, allocations: 247.6 kB / 423.7 MB, free: 20.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003005/0.3852, allocations: 2.731 MB / 426.4 MB, free: 17.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.00017/0.3854, allocations: 104.2 kB / 426.5 MB, free: 17.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005712/0.386, allocations: 0.6509 MB / 427.2 MB, free: 16.73 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/0.3884, allocations: 0.7661 MB / 427.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009022/0.3975, allocations: 8.998 MB / 436.9 MB, free: 6.758 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/0.3985, allocations: 1.52 MB / 438.4 MB, free: 5.211 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001293/0.3998, allocations: 0.5669 MB / 439 MB, free: 4.648 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008602/0.4007, allocations: 0.6144 MB / 439.6 MB, free: 4.035 MB / 330.7 MB Notification: Performance of SimCode: time 1.993e-06/0.4007, allocations: 0 / 439.6 MB, free: 4.035 MB / 330.7 MB Notification: Performance of Templates: time 0.05574/0.4564, allocations: 36.09 MB / 475.7 MB, free: 15.96 MB / 378.7 MB " [Timeout remaining time 660] 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 -s gbode -gbm=radauIIA3 -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: 3.9653462348505855]