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.001065/0.001065, allocations: 85.08 kB / 23 MB, free: 1.504 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.001879/0.001879, allocations: 173.2 kB / 26.39 MB, free: 8.148 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.04/1.04, allocations: 158.6 MB / 188.3 MB, free: 2.824 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.793e-06/1.793e-06, allocations: 0 / 252.2 MB, free: 7.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.938e-05/3.117e-05, allocations: 6.25 kB / 252.3 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.0162/0.01623, allocations: 12.76 MB / 265 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01129/0.02752, allocations: 4.73 MB / 269.7 MB, free: 5.691 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001942/0.02946, allocations: 103.5 kB / 269.8 MB, free: 5.59 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005646/0.03511, allocations: 4.435 MB / 274.3 MB, free: 1.141 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004768/0.03988, allocations: 2.298 MB / 276.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.04197, allocations: 1.236 MB / 277.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006462/0.04843, allocations: 6.319 MB / 284.1 MB, free: 7.262 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004818/0.05325, allocations: 4.745 MB / 288.9 MB, free: 2.449 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004908/0.05815, allocations: 3.93 MB / 292.8 MB, free: 14.51 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0035/0.06165, allocations: 3.203 MB / 296 MB, free: 11.3 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009168/0.06257, allocations: 0.5039 MB / 296.5 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002314/0.06489, allocations: 1.584 MB / 298.1 MB, free: 9.211 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002181/0.06707, allocations: 2.809 MB / 300.9 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001754/0.06882, allocations: 1.776 MB / 302.7 MB, free: 4.613 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006539/0.07536, allocations: 6.14 MB / 308.8 MB, free: 14.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.07536, allocations: 0 / 308.8 MB, free: 14.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.07536, allocations: 0 / 308.8 MB, free: 14.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.314e-05/0.07542, allocations: 0 / 308.8 MB, free: 14.45 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.007711/0.08313, allocations: 6.361 MB / 315.2 MB, free: 8.012 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.08316, allocations: 11.98 kB / 315.2 MB, free: 8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005584/0.08875, allocations: 2.218 MB / 317.4 MB, free: 5.777 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003373/0.09212, allocations: 2.846 MB / 320.3 MB, free: 2.879 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/0.09227, allocations: 304.3 kB / 320.6 MB, free: 2.578 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004931/0.09276, allocations: 436.6 kB / 321 MB, free: 2.152 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00757/0.1003, allocations: 6.615 MB / 327.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.354e-05/0.1004, allocations: 51.56 kB / 327.6 MB, free: 10.47 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003212/0.1007, allocations: 187.9 kB / 327.8 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001599/0.1023, allocations: 1.82 MB / 329.7 MB, free: 8.465 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006096/0.1084, allocations: 3.111 MB / 332.8 MB, free: 5.332 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1781/0.2865, allocations: 47.12 MB / 379.9 MB, free: 57.35 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005271/0.2918, allocations: 2.199 MB / 382.1 MB, free: 57.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007429/0.2926, allocations: 0.5107 MB / 382.6 MB, free: 57.15 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00642/0.299, allocations: 4.271 MB / 386.9 MB, free: 56.17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.299, allocations: 53.17 kB / 386.9 MB, free: 56.12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=165): time 4.088e-06/0.299, allocations: 0 / 386.9 MB, free: 56.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=207): time 0.02217/0.3212, allocations: 8.014 MB / 394.9 MB, free: 53.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.3212, allocations: 209.2 kB / 395.1 MB, free: 52.99 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003339/0.3246, allocations: 3.947 MB / 399.1 MB, free: 50.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001498/0.3247, allocations: 57.7 kB / 399.1 MB, free: 50.03 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00147/0.3262, allocations: 3.911 MB / 403 MB, free: 46.42 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005528/0.3268, allocations: 0.8374 MB / 403.9 MB, free: 45.58 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00106/0.3278, allocations: 1.451 MB / 405.3 MB, free: 44.11 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3279, allocations: 484.7 kB / 405.8 MB, free: 43.64 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/0.329, allocations: 0.6102 MB / 406.4 MB, free: 43.03 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002557/0.3315, allocations: 6.466 MB / 412.9 MB, free: 33.96 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005291/0.3368, allocations: 7.693 MB / 420.6 MB, free: 24.1 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000148/0.337, allocations: 40 kB / 420.6 MB, free: 24.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=866) (initialization): time 0.008512/0.3455, allocations: 5.286 MB / 425.9 MB, free: 18.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.395e-05/0.3455, allocations: 64 kB / 426 MB, free: 18.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001209/0.3457, allocations: 136 kB / 426.1 MB, free: 18.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/0.3467, allocations: 452.6 kB / 426.5 MB, free: 18.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002897/0.3496, allocations: 1.474 MB / 428 MB, free: 16.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002683/0.3523, allocations: 3.067 MB / 431.1 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004524/0.3568, allocations: 287.7 kB / 431.4 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007727/0.3576, allocations: 336 kB / 431.7 MB, free: 12.86 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.001893/0.3595, allocations: 0.7039 MB / 432.4 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000847/0.3603, allocations: 441.4 kB / 432.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001723/0.362, allocations: 1.257 MB / 434.1 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.476e-05/0.3621, allocations: 31.94 kB / 434.1 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.3621, allocations: 6.875 kB / 434.1 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.3621, allocations: 7.969 kB / 434.1 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00838/0.3705, allocations: 6.03 MB / 440.2 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-05/0.3705, allocations: 8 kB / 440.2 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007278/0.3712, allocations: 300.3 kB / 440.5 MB, free: 3.828 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007622/0.372, allocations: 251 kB / 440.7 MB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/0.3721, allocations: 47.98 kB / 440.7 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001761/0.3738, allocations: 2.31 MB / 443.1 MB, free: 1.117 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/0.3738, allocations: 19.88 kB / 443.1 MB, free: 1.098 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00361/0.3775, allocations: 2.628 MB / 445.7 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001453/0.3789, allocations: 0.5284 MB / 446.2 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004161/0.3793, allocations: 47.98 kB / 446.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008596/0.3802, allocations: 48.03 kB / 446.3 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002179/0.3804, allocations: 148.5 kB / 446.5 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-05/0.3805, allocations: 55.98 kB / 446.5 MB, free: 13.45 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002204/0.3827, allocations: 1.634 MB / 448.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3827, allocations: 0 / 448.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00652/0.3892, allocations: 1.219 MB / 449.4 MB, free: 10.59 MB / 346.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.0006477/0.3899, allocations: 272.5 kB / 449.6 MB, free: 10.31 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004903/0.3948, allocations: 2.971 MB / 452.6 MB, free: 7.344 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/0.3948, allocations: 4 kB / 452.6 MB, free: 7.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.3958, allocations: 0.776 MB / 453.4 MB, free: 6.543 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/0.3984, allocations: 0.501 MB / 453.9 MB, free: 6.062 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01429/0.4127, allocations: 9.152 MB / 463.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001573/0.4143, allocations: 1.526 MB / 464.6 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001804/0.4161, allocations: 0.5543 MB / 465.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009411/0.417, allocations: 0.6699 MB / 465.8 MB, free: 9.859 MB / 362.7 MB Notification: Performance of SimCode: time 1.463e-06/0.417, allocations: 3.828 kB / 465.8 MB, free: 9.859 MB / 362.7 MB Notification: Performance of Templates: time 0.05878/0.4758, allocations: 36.95 MB / 0.491 GB, free: 4.906 MB / 394.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: 4.485826963093132]