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.001459/0.001459, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001531/0.001531, allocations: 213.1 kB / 23.73 MB, free: 4.164 MB / 14.72 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 1.52/1.52, allocations: 230.5 MB / 257.4 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002054/0.002054, allocations: 59.91 kB / 378.2 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2856, allocations: 53.41 MB / 431.6 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01563/0.3012, allocations: 11.75 MB / 443.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01149/0.3127, allocations: 4.658 MB / 448 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003103/0.3158, allocations: 103.5 kB / 448.1 MB, free: 5.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008282/0.3241, allocations: 4.058 MB / 452.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006671/0.3308, allocations: 2.19 MB / 454.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003182/0.334, allocations: 1.111 MB / 455.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01/0.344, allocations: 6.063 MB / 461.6 MB, free: 8.504 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006032/0.35, allocations: 4.046 MB / 465.6 MB, free: 4.391 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004436/0.3544, allocations: 2.177 MB / 467.8 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005386/0.3598, allocations: 2.885 MB / 470.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001244/0.3611, allocations: 0.4922 MB / 471.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003285/0.3643, allocations: 1.522 MB / 472.7 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003245/0.3676, allocations: 2.638 MB / 475.3 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003393/0.371, allocations: 2.172 MB / 477.5 MB, free: 8.469 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01369/0.3847, allocations: 9.559 MB / 487 MB, free: 14.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.3847, allocations: 0 / 487 MB, free: 14.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3847, allocations: 0 / 487 MB, free: 14.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000303/0.385, allocations: 0 / 487 MB, free: 14.88 MB / 398.1 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.01608/0.4011, allocations: 6.097 MB / 493.1 MB, free: 8.711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.4011, allocations: 11.98 kB / 493.2 MB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01172/0.4128, allocations: 2.571 MB / 495.7 MB, free: 6.121 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009712/0.4225, allocations: 3.698 MB / 499.4 MB, free: 2.371 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002975/0.4228, allocations: 308.3 kB / 499.7 MB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001227/0.4241, allocations: 439.7 kB / 0.4884 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02594/0.45, allocations: 12.49 MB / 0.5006 GB, free: 4.387 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001663/0.4502, allocations: 63.56 kB / 0.5007 GB, free: 4.324 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005613/0.4507, allocations: 187.9 kB / 0.5009 GB, free: 4.141 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003412/0.4541, allocations: 2.031 MB / 0.5029 GB, free: 2.105 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02278/0.4769, allocations: 10.55 MB / 0.5132 GB, free: 7.539 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3043/0.7813, allocations: 40.64 MB / 0.5528 GB, free: 71.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01209/0.7933, allocations: 4.243 MB / 0.557 GB, free: 71.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002222/0.7956, allocations: 1.882 MB / 0.5588 GB, free: 70.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009869/0.8054, allocations: 5.693 MB / 0.5644 GB, free: 67.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.8055, allocations: 50.03 kB / 0.5644 GB, free: 67.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 4.789e-06/0.8055, allocations: 0 / 0.5644 GB, free: 67.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.06326/0.8687, allocations: 19.68 MB / 0.5837 GB, free: 52.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.8688, allocations: 213.9 kB / 0.5839 GB, free: 52.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00876/0.8776, allocations: 4.291 MB / 0.588 GB, free: 48.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004517/0.8781, allocations: 57.7 kB / 0.5881 GB, free: 48.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001937/0.88, allocations: 3.676 MB / 0.5917 GB, free: 44.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006921/0.8807, allocations: 0.8713 MB / 0.5925 GB, free: 43.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00145/0.8821, allocations: 1.359 MB / 0.5939 GB, free: 42.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.075e-05/0.8822, allocations: 301.1 kB / 0.5942 GB, free: 42.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002868/0.8851, allocations: 2.363 MB / 0.5965 GB, free: 39.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004179/0.8892, allocations: 6.228 MB / 0.6025 GB, free: 31.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008041/0.8973, allocations: 9.163 MB / 0.6115 GB, free: 20.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.389e-05/0.8974, allocations: 36 kB / 0.6115 GB, free: 20.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01496/0.9123, allocations: 9.533 MB / 0.6208 GB, free: 11.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.171e-05/0.9124, allocations: 64 kB / 0.6209 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001275/0.9125, allocations: 135.9 kB / 0.621 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0039/0.9164, allocations: 1.366 MB / 0.6224 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004569/0.921, allocations: 1.478 MB / 0.6238 GB, free: 8.168 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.011/0.932, allocations: 8.235 MB / 0.6319 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005545/0.9376, allocations: 351.7 kB / 0.6322 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001365/0.9389, allocations: 388 kB / 0.6326 GB, free: 15.12 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * 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 (804): * Single equations (assignments): 800 * 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,40,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006345/0.9453, allocations: 2.489 MB / 0.635 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001375/0.9466, allocations: 401.3 kB / 0.6354 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01047/0.9571, allocations: 4.068 MB / 0.6393 GB, free: 8.137 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-05/0.9572, allocations: 24 kB / 0.6394 GB, free: 8.113 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.781e-05/0.9572, allocations: 12.73 kB / 0.6394 GB, free: 8.102 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-05/0.9572, allocations: 7.969 kB / 0.6394 GB, free: 8.094 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02611/0.9833, allocations: 8.618 MB / 0.6478 GB, free: 15.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-05/0.9834, allocations: 5.062 kB / 0.6478 GB, free: 15.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001708/0.9851, allocations: 331.5 kB / 0.6481 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004198/0.9893, allocations: 1.156 MB / 0.6492 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003552/0.9896, allocations: 44 kB / 0.6493 GB, free: 13.87 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01201/1.002, allocations: 6.936 MB / 0.6561 GB, free: 6.832 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.128e-05/1.002, allocations: 9.125 kB / 0.6561 GB, free: 6.824 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01415/1.016, allocations: 6.889 MB / 0.6628 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001449/1.017, allocations: 357.2 kB / 0.6631 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001345/1.019, allocations: 40 kB / 0.6632 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002608/1.021, allocations: 111.9 kB / 0.6633 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005835/1.022, allocations: 160.8 kB / 0.6634 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002748/1.022, allocations: 64.06 kB / 0.6635 GB, free: 15.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005358/1.027, allocations: 2.519 MB / 0.666 GB, free: 12.61 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/1.027, allocations: 0 / 0.666 GB, free: 12.61 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006729/1.034, allocations: 1.187 MB / 0.6671 GB, free: 11.42 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (173): * Single equations (assignments): 169 * 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,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008992/1.035, allocations: 225.5 kB / 0.6673 GB, free: 11.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01059/1.046, allocations: 5.537 MB / 0.6727 GB, free: 5.676 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/1.046, allocations: 4.312 kB / 0.6727 GB, free: 5.672 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003411/1.049, allocations: 1.742 MB / 0.6744 GB, free: 3.918 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004773/1.054, allocations: 496.7 kB / 0.6749 GB, free: 3.438 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02428/1.078, allocations: 11.29 MB / 0.6859 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005516/1.084, allocations: 3.341 MB / 0.6892 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004743/1.088, allocations: 1.9 MB / 0.6911 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000824/1.089, allocations: 251.4 kB / 0.6913 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of SimCode: time 9.42e-07/1.089, allocations: 0 / 0.6913 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of Templates: time 0.09025/1.179, allocations: 43.53 MB / 0.7338 GB, free: 7.5 MB / 0.545 GB " [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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.145748808979988]