Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001359/0.001359, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.001466/0.001466, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.541/1.541, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 47.92 kB / 373.5 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1175, allocations: 53.34 MB / 426.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.2503/0.3678, allocations: 13.5 MB / 440.3 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01215/0.3799, allocations: 4.899 MB / 445.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005115/0.3851, allocations: 106.2 kB / 445.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009294/0.3944, allocations: 4.222 MB / 449.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007777/0.4021, allocations: 2.161 MB / 451.7 MB, free: 14 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004647/0.4068, allocations: 1.101 MB / 452.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01226/0.419, allocations: 6.054 MB / 458.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008661/0.4277, allocations: 4.429 MB / 463.3 MB, free: 8.105 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005954/0.4337, allocations: 2.182 MB / 465.5 MB, free: 6.871 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006991/0.4406, allocations: 3.08 MB / 468.5 MB, free: 4.949 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002308/0.443, allocations: 0.4948 MB / 469 MB, free: 4.945 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005083/0.448, allocations: 1.665 MB / 470.7 MB, free: 4.324 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004344/0.4524, allocations: 2.648 MB / 473.3 MB, free: 1.918 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008565/0.4609, allocations: 2.883 MB / 476.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01561/0.4765, allocations: 9.523 MB / 485.7 MB, free: 5.457 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.4766, allocations: 0 / 485.7 MB, free: 5.457 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.4766, allocations: 0 / 485.7 MB, free: 5.457 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003738/0.4769, allocations: 0 / 485.7 MB, free: 5.457 MB / 382.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.01873/0.4957, allocations: 6.18 MB / 491.9 MB, free: 15.19 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.4957, allocations: 8.031 kB / 491.9 MB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01289/0.5086, allocations: 2.573 MB / 494.5 MB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01045/0.5191, allocations: 3.77 MB / 498.3 MB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003393/0.5194, allocations: 308.5 kB / 498.6 MB, free: 8.473 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001955/0.5213, allocations: 439.6 kB / 499 MB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02725/0.5486, allocations: 12.41 MB / 0.4994 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001673/0.5488, allocations: 55.59 kB / 0.4995 GB, free: 10.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005843/0.5494, allocations: 191.8 kB / 0.4997 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003568/0.5529, allocations: 2.028 MB / 0.5017 GB, free: 8.613 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0249/0.5778, allocations: 10.57 MB / 0.512 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06791/0.6457, allocations: 44.21 MB / 0.5552 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0149/0.6606, allocations: 4.709 MB / 0.5598 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003126/0.6638, allocations: 1.882 MB / 0.5616 GB, free: 9.855 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01318/0.6769, allocations: 7.198 MB / 0.5686 GB, free: 2.371 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.466e-05/0.677, allocations: 55.44 kB / 0.5687 GB, free: 2.309 MB / 478.1 MB Notification: Performance of pre-optimization done (n=179): time 4.499e-06/0.677, allocations: 8 kB / 0.5687 GB, free: 2.301 MB / 478.1 MB Notification: Performance of matching and sorting (n=223): time 0.07473/0.7517, allocations: 19.75 MB / 0.588 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.7519, allocations: 209.9 kB / 0.5882 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006627/0.7585, allocations: 4.47 MB / 0.5925 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003889/0.7589, allocations: 61.69 kB / 0.5926 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002989/0.7619, allocations: 3.645 MB / 0.5961 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001055/0.7629, allocations: 0.8837 MB / 0.597 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001924/0.7649, allocations: 1.35 MB / 0.5983 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.765, allocations: 305.1 kB / 0.5986 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003937/0.7689, allocations: 2.363 MB / 0.6009 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007124/0.776, allocations: 6.175 MB / 0.607 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2612/1.037, allocations: 9.166 MB / 0.6159 GB, free: 153.6 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001297/1.037, allocations: 38.16 kB / 0.6159 GB, free: 153.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=868) (initialization): time 0.02055/1.058, allocations: 9.551 MB / 0.6253 GB, free: 151.6 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001125/1.058, allocations: 66.58 kB / 0.6253 GB, free: 151.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002272/1.058, allocations: 132.6 kB / 0.6255 GB, free: 151.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004783/1.063, allocations: 1.37 MB / 0.6268 GB, free: 151.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005108/1.068, allocations: 1.477 MB / 0.6282 GB, free: 151.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01349/1.082, allocations: 8.492 MB / 0.6365 GB, free: 146.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005349/1.087, allocations: 351.1 kB / 0.6369 GB, free: 146.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001384/1.088, allocations: 389.1 kB / 0.6372 GB, free: 146.7 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.005044/1.093, allocations: 2.488 MB / 0.6397 GB, free: 145.6 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001684/1.095, allocations: 417.8 kB / 0.6401 GB, free: 145.6 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01086/1.106, allocations: 4.116 MB / 0.6441 GB, free: 144.1 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.304e-05/1.106, allocations: 26.61 kB / 0.6441 GB, free: 144.1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.091e-05/1.106, allocations: 6.875 kB / 0.6441 GB, free: 144.1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.716e-05/1.106, allocations: 12.67 kB / 0.6441 GB, free: 144.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02435/1.13, allocations: 10.1 MB / 0.654 GB, free: 140.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.669e-05/1.13, allocations: 7.578 kB / 0.654 GB, free: 140.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/1.132, allocations: 330.9 kB / 0.6543 GB, free: 140.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003793/1.136, allocations: 1.14 MB / 0.6554 GB, free: 140.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002966/1.136, allocations: 45.94 kB / 0.6555 GB, free: 140.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009251/1.145, allocations: 7.163 MB / 0.6625 GB, free: 135.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/1.145, allocations: 10.48 kB / 0.6625 GB, free: 135.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01113/1.156, allocations: 6.92 MB / 0.6692 GB, free: 129.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001232/1.158, allocations: 474.4 kB / 0.6697 GB, free: 129.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001008/1.159, allocations: 40 kB / 0.6697 GB, free: 129.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002222/1.161, allocations: 115 kB / 0.6698 GB, free: 129.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004071/1.161, allocations: 154.5 kB / 0.67 GB, free: 128.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001672/1.161, allocations: 65.3 kB / 0.67 GB, free: 128.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004912/1.166, allocations: 2.795 MB / 0.6728 GB, free: 126.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/1.166, allocations: 0 / 0.6728 GB, free: 126.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006739/1.173, allocations: 1.202 MB / 0.674 GB, free: 124.9 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.0008248/1.174, allocations: 227.6 kB / 0.6742 GB, free: 124.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008826/1.183, allocations: 5.538 MB / 0.6796 GB, free: 119.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/1.183, allocations: 0.9375 kB / 0.6796 GB, free: 119.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002619/1.185, allocations: 1.748 MB / 0.6813 GB, free: 117.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004489/1.19, allocations: 0.5358 MB / 0.6818 GB, free: 116.9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02056/1.21, allocations: 11.21 MB / 0.6928 GB, free: 105.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005984/1.216, allocations: 3.87 MB / 0.6965 GB, free: 101.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004909/1.221, allocations: 1.929 MB / 0.6984 GB, free: 99.79 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/1.222, allocations: 271.4 kB / 0.6987 GB, free: 99.52 MB / 0.5137 GB Notification: Performance of SimCode: time 1.112e-06/1.222, allocations: 3.938 kB / 0.6987 GB, free: 99.52 MB / 0.5137 GB Notification: Performance of Templates: time 0.07638/1.299, allocations: 42.5 MB / 0.7402 GB, free: 57.29 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 7.1102879494428635]