Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001174/0.001174, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001698/0.002873, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001092/0.001092, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00174/0.002833, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9906/0.9906, allocations: 177.5 MB / 190 MB, free: 4.766 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09823/1.089, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.323e-05, allocations: 2.312 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01541/0.01544, allocations: 12.84 MB / 258 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01132/0.02676, allocations: 4.969 MB / 263 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002141/0.0289, allocations: 107.4 kB / 263.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006375/0.03527, allocations: 4.228 MB / 267.3 MB, free: 7.309 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006215/0.04149, allocations: 2.235 MB / 269.6 MB, free: 5.062 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002679/0.04417, allocations: 1.13 MB / 270.7 MB, free: 3.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1382/0.1823, allocations: 6.272 MB / 277 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005568/0.1879, allocations: 4.308 MB / 281.3 MB, free: 1.793 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007136/0.195, allocations: 4.075 MB / 285.4 MB, free: 1.648 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004324/0.1994, allocations: 3.034 MB / 288.4 MB, free: 1.348 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001224/0.2006, allocations: 0.5011 MB / 288.9 MB, free: 1.348 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002626/0.2032, allocations: 1.622 MB / 290.5 MB, free: 1.172 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001743/0.205, allocations: 2.477 MB / 293 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001863/0.2068, allocations: 1.422 MB / 294.4 MB, free: 328 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006311/0.2131, allocations: 5.605 MB / 300 MB, free: 13.7 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.506e-05/0.2132, allocations: 7.812 kB / 300 MB, free: 13.69 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.2132, allocations: 0 / 300 MB, free: 13.69 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0003144/0.2135, allocations: 0 / 300 MB, free: 13.69 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.009316/0.2228, allocations: 6.839 MB / 306.9 MB, free: 7.551 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.2228, allocations: 8.625 kB / 306.9 MB, free: 7.543 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003503/0.2263, allocations: 1.403 MB / 308.3 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003923/0.2302, allocations: 2.607 MB / 310.9 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/0.2304, allocations: 304.4 kB / 311.2 MB, free: 3.465 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006345/0.231, allocations: 441.8 kB / 311.6 MB, free: 3.078 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008396/0.2394, allocations: 5.978 MB / 317.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001338/0.2396, allocations: 52.02 kB / 317.7 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000343/0.2399, allocations: 194.6 kB / 317.8 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001482/0.2414, allocations: 1.721 MB / 319.6 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006331/0.2477, allocations: 3.07 MB / 322.6 MB, free: 8.098 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03011/0.2778, allocations: 34.23 MB / 356.9 MB, free: 6.055 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004068/0.2819, allocations: 2.037 MB / 358.9 MB, free: 4.047 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005149/0.2824, allocations: 417.5 kB / 359.3 MB, free: 3.641 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005762/0.2882, allocations: 3.995 MB / 363.3 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.2882, allocations: 59.39 kB / 363.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of pre-optimization done (n=165): time 3.116e-06/0.2882, allocations: 0 / 363.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=207): time 0.01689/0.3051, allocations: 6.934 MB / 370.3 MB, free: 8.871 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.3052, allocations: 149.8 kB / 370.4 MB, free: 8.691 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00308/0.3082, allocations: 3.524 MB / 374 MB, free: 5.785 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.3084, allocations: 56.98 kB / 374 MB, free: 5.727 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001528/0.3099, allocations: 3.421 MB / 377.4 MB, free: 2.484 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005159/0.3104, allocations: 0.8149 MB / 378.3 MB, free: 1.711 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009931/0.3114, allocations: 1.269 MB / 379.5 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.088e-05/0.3115, allocations: 305.1 kB / 379.8 MB, free: 292 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/0.3126, allocations: 0.7837 MB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002655/0.3153, allocations: 4.614 MB / 385.2 MB, free: 9.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004678/0.3199, allocations: 6.405 MB / 391.6 MB, free: 1.367 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.399e-05/0.32, allocations: 40 kB / 391.7 MB, free: 1.328 MB / 362.7 MB Notification: Performance of matching and sorting (n=866) (initialization): time 0.005566/0.3256, allocations: 4.487 MB / 396.2 MB, free: 12.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001286/0.3257, allocations: 67.94 kB / 396.2 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001414/0.3259, allocations: 140 kB / 396.4 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008769/0.3267, allocations: 449.1 kB / 396.8 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002545/0.3293, allocations: 1.646 MB / 398.4 MB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/0.3314, allocations: 2.463 MB / 400.9 MB, free: 8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002577/0.3339, allocations: 279.7 kB / 401.2 MB, free: 7.727 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003004/0.3342, allocations: 339.9 kB / 401.5 MB, free: 7.395 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.001386/0.3356, allocations: 0.6595 MB / 402.2 MB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000396/0.336, allocations: 259.7 kB / 402.4 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001498/0.3375, allocations: 1.087 MB / 403.5 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/0.3375, allocations: 23.98 kB / 403.5 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.3375, allocations: 4 kB / 403.5 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.3375, allocations: 7.969 kB / 403.5 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005903/0.3434, allocations: 5.139 MB / 408.7 MB, free: 204 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.917e-05/0.3435, allocations: 23.97 kB / 408.7 MB, free: 180 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007369/0.3442, allocations: 343.5 kB / 409 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004086/0.3446, allocations: 365.3 kB / 409.4 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008263/0.3454, allocations: 439.2 kB / 409.8 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.1e-05/0.3455, allocations: 47.98 kB / 409.9 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001537/0.3471, allocations: 1.744 MB / 411.6 MB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.3471, allocations: 15.97 kB / 411.6 MB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/0.3491, allocations: 2.24 MB / 413.9 MB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002716/0.3494, allocations: 40 kB / 413.9 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006736/0.35, allocations: 52.02 kB / 414 MB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.3502, allocations: 152.5 kB / 414.1 MB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-05/0.3503, allocations: 52 kB / 414.2 MB, free: 10.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001112/0.3514, allocations: 1.333 MB / 415.5 MB, free: 9.078 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3514, allocations: 0 / 415.5 MB, free: 9.078 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003297/0.3547, allocations: 1.195 MB / 416.7 MB, free: 7.883 MB / 394.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.0004389/0.3551, allocations: 239.6 kB / 416.9 MB, free: 7.641 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003345/0.3585, allocations: 2.855 MB / 419.8 MB, free: 4.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001816/0.3587, allocations: 118.8 kB / 419.9 MB, free: 4.695 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001604/0.3603, allocations: 1.272 MB / 421.2 MB, free: 3.395 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1097/0.4699, allocations: 3.498 MB / 424.7 MB, free: 125.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01565/0.4856, allocations: 9.207 MB / 433.9 MB, free: 121.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001653/0.4872, allocations: 1.508 MB / 435.4 MB, free: 121.4 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001566/0.4888, allocations: 0.5538 MB / 435.9 MB, free: 121.4 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008764/0.4897, allocations: 0.6177 MB / 436.6 MB, free: 121.4 MB / 394.7 MB Notification: Performance of SimCode: time 2.144e-06/0.4897, allocations: 0 / 436.6 MB, free: 121.4 MB / 394.7 MB Notification: Performance of Templates: time 0.05168/0.5414, allocations: 35.2 MB / 471.8 MB, free: 100.3 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5833599735051394]