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.001386/0.001386, allocations: 80.92 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.001614/0.001614, allocations: 166.5 kB / 25.7 MB, free: 8.414 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.8702/0.8702, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.593e-06/1.593e-06, allocations: 0 / 251.5 MB, free: 7.285 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.197e-05/1.357e-05, allocations: 2.312 kB / 251.5 MB, free: 7.281 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01314/0.01316, allocations: 12.78 MB / 264.3 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009236/0.02239, allocations: 4.915 MB / 269.2 MB, free: 5.516 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.02357, allocations: 103.5 kB / 269.3 MB, free: 5.414 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003999/0.02756, allocations: 4.501 MB / 273.8 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00318/0.03074, allocations: 2.302 MB / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.03224, allocations: 1.24 MB / 277.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004927/0.03716, allocations: 6.311 MB / 283.7 MB, free: 7.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003401/0.04056, allocations: 4.839 MB / 288.5 MB, free: 2.094 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003278/0.04384, allocations: 3.911 MB / 292.4 MB, free: 14.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002517/0.04636, allocations: 3.063 MB / 295.5 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004983/0.04686, allocations: 0.5 MB / 296 MB, free: 10.61 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.04847, allocations: 1.576 MB / 297.6 MB, free: 9.027 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001575/0.05005, allocations: 2.809 MB / 300.4 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001353/0.0514, allocations: 1.78 MB / 302.1 MB, free: 4.426 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004326/0.05573, allocations: 6.14 MB / 308.3 MB, free: 14.26 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.05573, allocations: 0 / 308.3 MB, free: 14.26 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.05573, allocations: 0 / 308.3 MB, free: 14.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.654e-05/0.05577, allocations: 4 kB / 308.3 MB, free: 14.26 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.005476/0.06124, allocations: 5.699 MB / 314 MB, free: 8.496 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.06128, allocations: 15.98 kB / 314 MB, free: 8.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003116/0.06439, allocations: 1.413 MB / 315.4 MB, free: 7.066 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002761/0.06715, allocations: 2.641 MB / 318.1 MB, free: 4.367 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/0.06731, allocations: 308.3 kB / 318.4 MB, free: 4.062 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000663/0.06797, allocations: 444.5 kB / 318.8 MB, free: 3.629 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006156/0.07412, allocations: 5.966 MB / 324.8 MB, free: 12.9 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.589e-05/0.07421, allocations: 55.52 kB / 324.8 MB, free: 12.85 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003079/0.07452, allocations: 187.8 kB / 325 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001576/0.07609, allocations: 1.82 MB / 326.8 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004576/0.08067, allocations: 3.074 MB / 329.9 MB, free: 7.738 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1548/0.2355, allocations: 34.21 MB / 364.1 MB, free: 69.35 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003907/0.2394, allocations: 2.055 MB / 366.2 MB, free: 69.14 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004635/0.2399, allocations: 413.3 kB / 366.6 MB, free: 69.1 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004458/0.2443, allocations: 4.031 MB / 370.6 MB, free: 68.45 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.2443, allocations: 60.8 kB / 370.6 MB, free: 68.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=165): time 3.076e-06/0.2443, allocations: 0 / 370.6 MB, free: 68.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=207): time 0.01506/0.2594, allocations: 6.946 MB / 377.6 MB, free: 67.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.2594, allocations: 204.6 kB / 377.8 MB, free: 67.69 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002204/0.2616, allocations: 3.565 MB / 381.4 MB, free: 65.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.878e-05/0.2617, allocations: 56.14 kB / 381.4 MB, free: 65.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008363/0.2626, allocations: 3.424 MB / 384.8 MB, free: 62.37 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003001/0.2629, allocations: 0.8063 MB / 385.6 MB, free: 61.71 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007759/0.2636, allocations: 1.269 MB / 386.9 MB, free: 60.84 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.377e-05/0.2637, allocations: 301.1 kB / 387.2 MB, free: 60.54 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.2647, allocations: 0.7886 MB / 388 MB, free: 59.9 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/0.2663, allocations: 4.615 MB / 392.6 MB, free: 53.51 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002646/0.269, allocations: 5.961 MB / 398.6 MB, free: 46.21 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.094e-05/0.269, allocations: 40 kB / 398.6 MB, free: 46.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=866) (initialization): time 0.003747/0.2728, allocations: 4.48 MB / 403.1 MB, free: 41.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.331e-05/0.2728, allocations: 64 kB / 403.2 MB, free: 41.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.976e-05/0.2729, allocations: 140.9 kB / 403.3 MB, free: 41.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007416/0.2736, allocations: 435.4 kB / 403.7 MB, free: 41.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001994/0.2756, allocations: 1.462 MB / 405.2 MB, free: 39.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/0.2773, allocations: 2.462 MB / 407.6 MB, free: 37.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/0.2792, allocations: 284.9 kB / 407.9 MB, free: 36.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002349/0.2794, allocations: 339.9 kB / 408.3 MB, free: 36.41 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.00103/0.2805, allocations: 0.6563 MB / 408.9 MB, free: 35.74 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002735/0.2808, allocations: 263.7 kB / 409.2 MB, free: 35.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/0.282, allocations: 1.089 MB / 410.3 MB, free: 34.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.282, allocations: 27.42 kB / 410.3 MB, free: 34.35 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.282, allocations: 0 / 410.3 MB, free: 34.35 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.282, allocations: 19.95 kB / 410.3 MB, free: 34.33 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004772/0.2868, allocations: 5.165 MB / 415.5 MB, free: 28.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.2868, allocations: 8 kB / 415.5 MB, free: 28.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005657/0.2873, allocations: 295.5 kB / 415.8 MB, free: 28.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007093/0.288, allocations: 430.9 kB / 416.2 MB, free: 28.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.253e-05/0.2881, allocations: 44 kB / 416.2 MB, free: 28.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/0.2893, allocations: 1.743 MB / 418 MB, free: 26.35 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.2893, allocations: 11.94 kB / 418 MB, free: 26.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.2909, allocations: 2.232 MB / 420.2 MB, free: 23.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004778/0.2914, allocations: 0.4971 MB / 420.7 MB, free: 23.43 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002517/0.2916, allocations: 44 kB / 420.8 MB, free: 23.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006661/0.2923, allocations: 43.98 kB / 420.8 MB, free: 23.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.2924, allocations: 152.5 kB / 420.9 MB, free: 23.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.125e-05/0.2925, allocations: 52.03 kB / 421 MB, free: 23.14 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008491/0.2933, allocations: 1.354 MB / 422.3 MB, free: 21.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2933, allocations: 0 / 422.3 MB, free: 21.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00266/0.296, allocations: 1.222 MB / 423.6 MB, free: 20.55 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.0003295/0.2963, allocations: 255.6 kB / 423.8 MB, free: 20.29 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002042/0.2984, allocations: 2.724 MB / 426.5 MB, free: 17.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001317/0.2985, allocations: 104.8 kB / 426.6 MB, free: 17.46 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004987/0.299, allocations: 0.6514 MB / 427.3 MB, free: 16.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/0.3006, allocations: 0.7692 MB / 428.1 MB, free: 16.04 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007375/0.308, allocations: 9.006 MB / 437.1 MB, free: 6.812 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009579/0.3089, allocations: 1.514 MB / 438.6 MB, free: 5.27 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001077/0.31, allocations: 0.5625 MB / 439.1 MB, free: 4.707 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007671/0.3108, allocations: 0.6222 MB / 439.8 MB, free: 4.086 MB / 330.7 MB Notification: Performance of SimCode: time 8.82e-07/0.3108, allocations: 0 / 439.8 MB, free: 4.086 MB / 330.7 MB Notification: Performance of Templates: time 0.04968/0.3605, allocations: 36.09 MB / 475.9 MB, free: 4 kB / 362.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 -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.7578667630441487]