Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009505/0.0009505, allocations: 76.48 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001822/0.002773, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009572/0.0009572, allocations: 148.9 kB / 11.24 MB, free: 2.93 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001358/0.002316, allocations: 459.6 kB / 11.69 MB, free: 2.477 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.024/1.024, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1068/1.131, allocations: 52.5 MB / 238.3 MB, free: 4.43 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 239.5 MB, free: 3.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.127e-05/2.287e-05, allocations: 2.875 kB / 239.6 MB, free: 3.18 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.009907/0.00993, allocations: 12.87 MB / 252.4 MB, free: 6.258 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00883/0.01876, allocations: 4.964 MB / 257.4 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001986/0.02075, allocations: 107.4 kB / 257.5 MB, free: 1.172 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004426/0.02517, allocations: 4.248 MB / 261.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005071/0.03024, allocations: 2.259 MB / 264 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.03234, allocations: 1.13 MB / 265.1 MB, free: 9.508 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006995/0.03934, allocations: 6.079 MB / 271.2 MB, free: 3.414 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1541/0.1934, allocations: 4.3 MB / 275.5 MB, free: 3.414 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006754/0.2002, allocations: 4.075 MB / 279.6 MB, free: 3.355 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004111/0.2043, allocations: 3.039 MB / 282.6 MB, free: 3.355 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001051/0.2053, allocations: 0.5029 MB / 283.1 MB, free: 3.355 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002143/0.2075, allocations: 1.635 MB / 284.8 MB, free: 3.355 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001707/0.2092, allocations: 2.497 MB / 287.3 MB, free: 3.234 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00156/0.2108, allocations: 1.436 MB / 288.7 MB, free: 3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00434/0.2151, allocations: 5.664 MB / 294.4 MB, free: 2.203 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.496e-05/0.2151, allocations: 0 / 294.4 MB, free: 2.203 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2151, allocations: 0 / 294.4 MB, free: 2.203 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002118/0.2153, allocations: 0 / 294.4 MB, free: 2.203 MB / 266.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.006847/0.2222, allocations: 6.858 MB / 301.2 MB, free: 15.45 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.2222, allocations: 9.156 kB / 301.2 MB, free: 15.45 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003166/0.2254, allocations: 1.414 MB / 302.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003026/0.2284, allocations: 2.61 MB / 305.2 MB, free: 12.6 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/0.2286, allocations: 303.9 kB / 305.5 MB, free: 12.33 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005463/0.2291, allocations: 441.5 kB / 306 MB, free: 11.95 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006568/0.2357, allocations: 5.967 MB / 311.9 MB, free: 5.715 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.251e-05/0.2358, allocations: 47.33 kB / 312 MB, free: 5.691 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003232/0.2361, allocations: 198.4 kB / 312.2 MB, free: 5.535 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001444/0.2375, allocations: 1.829 MB / 314 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004578/0.2421, allocations: 3.066 MB / 317.1 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02448/0.2666, allocations: 34.22 MB / 351.3 MB, free: 14.85 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003953/0.2705, allocations: 2.026 MB / 353.3 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000487/0.271, allocations: 414.5 kB / 353.7 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00506/0.2761, allocations: 3.988 MB / 357.7 MB, free: 8.523 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.2761, allocations: 54.56 kB / 357.8 MB, free: 8.465 MB / 330.7 MB Notification: Performance of pre-optimization done (n=165): time 3.276e-06/0.2761, allocations: 0 / 357.8 MB, free: 8.465 MB / 330.7 MB Notification: Performance of matching and sorting (n=207): time 0.02885/0.305, allocations: 6.759 MB / 364.5 MB, free: 1.867 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.305, allocations: 157.2 kB / 364.7 MB, free: 1.684 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003067/0.3081, allocations: 3.535 MB / 368.2 MB, free: 14.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.727e-05/0.3082, allocations: 57.7 kB / 368.3 MB, free: 14.71 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00149/0.3097, allocations: 3.42 MB / 371.7 MB, free: 11.46 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000499/0.3102, allocations: 0.8203 MB / 372.5 MB, free: 10.69 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001007/0.3112, allocations: 1.259 MB / 373.8 MB, free: 9.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.233e-05/0.3113, allocations: 305.1 kB / 374.1 MB, free: 9.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.3125, allocations: 0.7876 MB / 374.9 MB, free: 8.477 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003005/0.3155, allocations: 4.609 MB / 379.5 MB, free: 2.164 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004585/0.32, allocations: 5.959 MB / 385.4 MB, free: 10.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-05/0.3201, allocations: 36 kB / 385.5 MB, free: 10.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=866) (initialization): time 0.005247/0.3253, allocations: 4.482 MB / 389.9 MB, free: 6.297 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.034e-05/0.3254, allocations: 64 kB / 390 MB, free: 6.234 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.914e-05/0.3255, allocations: 136.9 kB / 390.1 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008582/0.3264, allocations: 446.4 kB / 390.6 MB, free: 5.664 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002632/0.329, allocations: 1.638 MB / 392.2 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002425/0.3314, allocations: 2.474 MB / 394.7 MB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002321/0.3337, allocations: 283.7 kB / 395 MB, free: 1.203 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003093/0.334, allocations: 346.7 kB / 395.3 MB, free: 0.8672 MB / 362.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.001718/0.3358, allocations: 0.6495 MB / 396 MB, free: 208 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003714/0.3361, allocations: 259.7 kB / 396.2 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.3376, allocations: 1.094 MB / 397.3 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/0.3376, allocations: 20 kB / 397.3 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.3377, allocations: 4 kB / 397.3 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/0.3377, allocations: 11.97 kB / 397.3 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00644/0.3441, allocations: 5.149 MB / 402.5 MB, free: 9.941 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.3441, allocations: 12.94 kB / 402.5 MB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007441/0.3449, allocations: 339.5 kB / 402.8 MB, free: 9.598 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004039/0.3453, allocations: 365.3 kB / 403.2 MB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000834/0.3461, allocations: 430.9 kB / 403.6 MB, free: 8.812 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.259e-05/0.3462, allocations: 51.92 kB / 403.7 MB, free: 8.762 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001566/0.3478, allocations: 1.755 MB / 405.4 MB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.086e-06/0.3478, allocations: 15.94 kB / 405.4 MB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002192/0.35, allocations: 2.227 MB / 407.7 MB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002896/0.3502, allocations: 47.98 kB / 407.7 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006659/0.3509, allocations: 40 kB / 407.7 MB, free: 4.395 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.3511, allocations: 156.4 kB / 407.9 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.31e-05/0.3511, allocations: 55.98 kB / 407.9 MB, free: 4.184 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001297/0.3524, allocations: 1.334 MB / 409.3 MB, free: 2.836 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3524, allocations: 0 / 409.3 MB, free: 2.836 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003105/0.3555, allocations: 1.222 MB / 410.5 MB, free: 1.613 MB / 378.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.0004464/0.356, allocations: 255.7 kB / 410.8 MB, free: 1.355 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002711/0.3587, allocations: 2.728 MB / 413.5 MB, free: 14.64 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001783/0.3589, allocations: 130.7 kB / 413.6 MB, free: 14.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006151/0.3595, allocations: 0.6404 MB / 414.3 MB, free: 13.85 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002187/0.3617, allocations: 1.053 MB / 415.3 MB, free: 12.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/0.3737, allocations: 9.21 MB / 424.5 MB, free: 3.363 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/0.3749, allocations: 1.518 MB / 426 MB, free: 1.82 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001209/0.3762, allocations: 0.5582 MB / 426.6 MB, free: 1.258 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008397/0.377, allocations: 0.6261 MB / 427.2 MB, free: 0.6289 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.377, allocations: 0 / 427.2 MB, free: 0.6289 MB / 394.7 MB Notification: Performance of Templates: time 0.1662/0.5432, allocations: 36.47 MB / 463.7 MB, free: 113.8 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.9671094957739115]