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.001797/0.001797, allocations: 120.4 kB / 18.41 MB, free: 4.684 MB / 14.72 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.002057/0.002057, allocations: 190.7 kB / 21.35 MB, free: 1.75 MB / 14.72 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.417/1.417, allocations: 222.9 MB / 247.1 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001583/0.001584, allocations: 47.92 kB / 358.7 MB, free: 8.352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1079, allocations: 49.43 MB / 408.1 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01531/0.1233, allocations: 13.48 MB / 421.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01104/0.1344, allocations: 4.853 MB / 426.4 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002749/0.1372, allocations: 91.69 kB / 426.5 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008215/0.1454, allocations: 4.194 MB / 430.7 MB, free: 172 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2563/0.4018, allocations: 2.131 MB / 432.9 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002972/0.4048, allocations: 1.11 MB / 434 MB, free: 4.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01017/0.415, allocations: 5.97 MB / 439.9 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007516/0.4226, allocations: 5.302 MB / 445.2 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00463/0.4272, allocations: 2.161 MB / 447.4 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005021/0.4323, allocations: 2.862 MB / 450.3 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002129/0.4344, allocations: 0.4914 MB / 450.7 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004322/0.4388, allocations: 1.638 MB / 452.4 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003371/0.4422, allocations: 2.568 MB / 455 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00453/0.4467, allocations: 2.9 MB / 457.9 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01185/0.4586, allocations: 9.571 MB / 467.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4587, allocations: 0 / 467.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4587, allocations: 0 / 467.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003334/0.459, allocations: 0 / 467.4 MB, free: 11.18 MB / 366.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.0154/0.4744, allocations: 6.176 MB / 473.6 MB, free: 5.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.4745, allocations: 13.47 kB / 473.6 MB, free: 5.328 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01178/0.4863, allocations: 2.574 MB / 476.2 MB, free: 2.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009025/0.4953, allocations: 3.827 MB / 480 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002873/0.4956, allocations: 303.4 kB / 480.3 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001597/0.4973, allocations: 450 kB / 480.8 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02611/0.5234, allocations: 12.41 MB / 493.2 MB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001886/0.5236, allocations: 47.58 kB / 493.2 MB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007431/0.5244, allocations: 190.4 kB / 493.4 MB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003468/0.5278, allocations: 2.032 MB / 495.4 MB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02381/0.5517, allocations: 10.57 MB / 0.4941 GB, free: 4.457 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06205/0.6137, allocations: 44.23 MB / 0.5373 GB, free: 7.207 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01377/0.6276, allocations: 4.84 MB / 0.542 GB, free: 2.223 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003101/0.6307, allocations: 2.014 MB / 0.544 GB, free: 208 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01312/0.6439, allocations: 7.122 MB / 0.551 GB, free: 8.852 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.767e-05/0.644, allocations: 47.56 kB / 0.551 GB, free: 8.797 MB / 462.1 MB Notification: Performance of pre-optimization done (n=179): time 1.07e-05/0.644, allocations: 3.984 kB / 0.551 GB, free: 8.793 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.07796/0.722, allocations: 19.89 MB / 0.5704 GB, free: 4.891 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001635/0.7222, allocations: 201.9 kB / 0.5706 GB, free: 4.652 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008987/0.7312, allocations: 4.482 MB / 0.575 GB, free: 156 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000563/0.7318, allocations: 57.7 kB / 0.5751 GB, free: 92 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003627/0.7354, allocations: 3.652 MB / 0.5786 GB, free: 12.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001508/0.737, allocations: 0.876 MB / 0.5795 GB, free: 11.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003637/0.7406, allocations: 1.349 MB / 0.5808 GB, free: 10.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.7408, allocations: 301.1 kB / 0.5811 GB, free: 9.934 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00507/0.7459, allocations: 2.363 MB / 0.5834 GB, free: 7.566 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008851/0.7548, allocations: 6.168 MB / 0.5894 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01458/0.7694, allocations: 9.167 MB / 0.5984 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001625/0.7696, allocations: 40 kB / 0.5984 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=868) (initialization): time 0.0236/0.7932, allocations: 9.569 MB / 0.6078 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.7934, allocations: 64 kB / 0.6078 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002362/0.7937, allocations: 132 kB / 0.608 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004966/0.7986, allocations: 1.374 MB / 0.6093 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005542/0.8042, allocations: 1.482 MB / 0.6107 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2665/1.071, allocations: 8.477 MB / 0.619 GB, free: 166.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006467/1.077, allocations: 352.5 kB / 0.6194 GB, free: 166.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001418/1.079, allocations: 386.8 kB / 0.6197 GB, free: 166.3 MB / 0.5137 GB 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.005487/1.084, allocations: 2.487 MB / 0.6222 GB, free: 166.2 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001229/1.085, allocations: 423.6 kB / 0.6226 GB, free: 166.2 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01012/1.096, allocations: 4.12 MB / 0.6266 GB, free: 166.1 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-05/1.096, allocations: 24.16 kB / 0.6266 GB, free: 166.1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.572e-05/1.096, allocations: 9.297 kB / 0.6266 GB, free: 166.1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.628e-05/1.096, allocations: 11.73 kB / 0.6266 GB, free: 166.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02411/1.12, allocations: 10.13 MB / 0.6365 GB, free: 164 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-05/1.12, allocations: 8.312 kB / 0.6365 GB, free: 164 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001794/1.122, allocations: 328 kB / 0.6368 GB, free: 164 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003965/1.126, allocations: 1.146 MB / 0.638 GB, free: 163.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004023/1.126, allocations: 44.89 kB / 0.638 GB, free: 163.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009466/1.136, allocations: 7.148 MB / 0.645 GB, free: 160.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.048e-05/1.136, allocations: 14.19 kB / 0.645 GB, free: 160.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01159/1.147, allocations: 6.927 MB / 0.6518 GB, free: 157.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/1.149, allocations: 473 kB / 0.6522 GB, free: 157.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006003/1.15, allocations: 46.31 kB / 0.6523 GB, free: 157.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/1.151, allocations: 112 kB / 0.6524 GB, free: 157.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004064/1.152, allocations: 143.9 kB / 0.6525 GB, free: 157.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/1.152, allocations: 63.56 kB / 0.6526 GB, free: 157.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004109/1.156, allocations: 2.799 MB / 0.6553 GB, free: 156.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/1.156, allocations: 0 / 0.6553 GB, free: 156.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006924/1.163, allocations: 1.219 MB / 0.6565 GB, free: 156.1 MB / 0.5137 GB 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.0008445/1.164, allocations: 242.1 kB / 0.6567 GB, free: 156 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008666/1.172, allocations: 5.773 MB / 0.6623 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/1.172, allocations: 1.75 kB / 0.6624 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00245/1.175, allocations: 1.871 MB / 0.6642 GB, free: 153.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00344/1.178, allocations: 0.5337 MB / 0.6647 GB, free: 152.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01768/1.196, allocations: 11.72 MB / 0.6761 GB, free: 141.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003623/1.2, allocations: 3.846 MB / 0.6799 GB, free: 137.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001141/1.201, allocations: 319.4 kB / 0.6802 GB, free: 137.5 MB / 0.5137 GB Notification: Performance of SimCode: time 1.353e-06/1.201, allocations: 0 / 0.6802 GB, free: 137.5 MB / 0.5137 GB Notification: Performance of Templates: time 0.09972/1.301, allocations: 90.97 MB / 0.769 GB, free: 46.62 MB / 0.5137 GB " [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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 15.140872868010774]