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.001883/0.001883, allocations: 117.2 kB / 18.5 MB, free: 4.543 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.002356/0.002356, allocations: 202.6 kB / 21.45 MB, free: 1.59 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.484/1.484, allocations: 230.2 MB / 254.5 MB, free: 15.06 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.001887/0.001887, allocations: 67.88 kB / 373.8 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1138, allocations: 53.32 MB / 427.2 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.2432/0.3569, allocations: 13.51 MB / 440.7 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01093/0.3678, allocations: 4.894 MB / 445.6 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00356/0.3714, allocations: 86.72 kB / 445.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008402/0.3798, allocations: 4.226 MB / 449.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008291/0.3881, allocations: 2.159 MB / 452 MB, free: 14.19 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003545/0.3916, allocations: 1.105 MB / 453.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01166/0.4033, allocations: 6.055 MB / 459.2 MB, free: 10.99 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007033/0.4103, allocations: 4.426 MB / 463.6 MB, free: 8.316 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005276/0.4156, allocations: 2.157 MB / 465.8 MB, free: 7.082 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005853/0.4215, allocations: 3.084 MB / 468.9 MB, free: 5.156 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001609/0.4231, allocations: 0.491 MB / 469.3 MB, free: 5.156 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003862/0.4269, allocations: 1.666 MB / 471 MB, free: 4.535 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003225/0.4302, allocations: 2.65 MB / 473.7 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004126/0.4343, allocations: 2.879 MB / 476.5 MB, free: 15.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01192/0.4462, allocations: 9.527 MB / 486.1 MB, free: 5.699 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4462, allocations: 0 / 486.1 MB, free: 5.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4462, allocations: 4 kB / 486.1 MB, free: 5.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002695/0.4465, allocations: 0 / 486.1 MB, free: 5.695 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.01478/0.4613, allocations: 6.164 MB / 492.2 MB, free: 15.44 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.4613, allocations: 8.031 kB / 492.2 MB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0116/0.4729, allocations: 2.571 MB / 494.8 MB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009301/0.4822, allocations: 3.77 MB / 498.6 MB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003412/0.4826, allocations: 308.5 kB / 498.9 MB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001835/0.4844, allocations: 447.7 kB / 499.3 MB, free: 8.285 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0265/0.5109, allocations: 12.41 MB / 0.4997 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001869/0.5111, allocations: 59.52 kB / 0.4998 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006564/0.5117, allocations: 187.9 kB / 0.5 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003355/0.5151, allocations: 2.031 MB / 0.502 GB, free: 8.855 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02304/0.5381, allocations: 10.58 MB / 0.5123 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06443/0.6026, allocations: 44.21 MB / 0.5555 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0137/0.6163, allocations: 4.7 MB / 0.56 GB, free: 11.99 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002837/0.6191, allocations: 1.885 MB / 0.5619 GB, free: 10.09 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01182/0.6309, allocations: 7.207 MB / 0.5689 GB, free: 2.602 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.807e-05/0.631, allocations: 51.56 kB / 0.569 GB, free: 2.543 MB / 478.1 MB Notification: Performance of pre-optimization done (n=179): time 4.329e-06/0.631, allocations: 4 kB / 0.569 GB, free: 2.539 MB / 478.1 MB Notification: Performance of matching and sorting (n=223): time 0.07146/0.7024, allocations: 19.76 MB / 0.5883 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.7026, allocations: 205.9 kB / 0.5885 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007245/0.7098, allocations: 4.469 MB / 0.5928 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000363/0.7102, allocations: 53.7 kB / 0.5929 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002973/0.7131, allocations: 3.649 MB / 0.5964 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001095/0.7142, allocations: 0.8799 MB / 0.5973 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002275/0.7165, allocations: 1.354 MB / 0.5986 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.7166, allocations: 305.1 kB / 0.5989 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003996/0.7206, allocations: 2.367 MB / 0.6012 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007224/0.7279, allocations: 6.175 MB / 0.6073 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2721/1, allocations: 9.159 MB / 0.6162 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001422/1, allocations: 38.94 kB / 0.6162 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=868) (initialization): time 0.02093/1.021, allocations: 9.552 MB / 0.6256 GB, free: 152 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/1.021, allocations: 62.66 kB / 0.6256 GB, free: 152 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002191/1.021, allocations: 132.7 kB / 0.6258 GB, free: 152 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004563/1.026, allocations: 1.373 MB / 0.6271 GB, free: 151.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00516/1.031, allocations: 1.475 MB / 0.6285 GB, free: 151.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01257/1.044, allocations: 8.487 MB / 0.6368 GB, free: 147.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004943/1.049, allocations: 356.4 kB / 0.6372 GB, free: 147.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001169/1.05, allocations: 388.9 kB / 0.6375 GB, free: 147.1 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.004476/1.054, allocations: 2.484 MB / 0.64 GB, free: 146 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008955/1.055, allocations: 421.5 kB / 0.6404 GB, free: 146 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007796/1.063, allocations: 4.113 MB / 0.6444 GB, free: 144.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.482e-05/1.063, allocations: 23.92 kB / 0.6444 GB, free: 144.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/1.063, allocations: 15.06 kB / 0.6444 GB, free: 144.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-05/1.063, allocations: 12.62 kB / 0.6444 GB, free: 144.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/1.079, allocations: 10.11 MB / 0.6543 GB, free: 140.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.791e-05/1.079, allocations: 5.438 kB / 0.6543 GB, free: 140.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/1.08, allocations: 334.6 kB / 0.6546 GB, free: 140.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00347/1.084, allocations: 1.145 MB / 0.6557 GB, free: 140.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001894/1.084, allocations: 45.94 kB / 0.6558 GB, free: 140.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008663/1.093, allocations: 7.161 MB / 0.6628 GB, free: 136 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/1.093, allocations: 3.906 kB / 0.6628 GB, free: 136 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009947/1.103, allocations: 6.919 MB / 0.6695 GB, free: 130.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/1.104, allocations: 474.8 kB / 0.67 GB, free: 129.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004818/1.104, allocations: 44.06 kB / 0.67 GB, free: 129.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001594/1.106, allocations: 115.8 kB / 0.6701 GB, free: 129.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003377/1.106, allocations: 142.7 kB / 0.6703 GB, free: 129.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/1.106, allocations: 79.86 kB / 0.6704 GB, free: 129.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003583/1.11, allocations: 2.795 MB / 0.6731 GB, free: 126.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/1.11, allocations: 0 / 0.6731 GB, free: 126.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00806/1.118, allocations: 1.201 MB / 0.6743 GB, free: 125.3 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.0009543/1.119, allocations: 219 kB / 0.6745 GB, free: 125 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008898/1.128, allocations: 5.537 MB / 0.6799 GB, free: 119.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/1.128, allocations: 8 kB / 0.6799 GB, free: 119.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002323/1.13, allocations: 1.742 MB / 0.6816 GB, free: 117.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00306/1.133, allocations: 0.5424 MB / 0.6821 GB, free: 117.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01629/1.149, allocations: 11.21 MB / 0.6931 GB, free: 106 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003382/1.153, allocations: 3.867 MB / 0.6968 GB, free: 102.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003848/1.157, allocations: 1.929 MB / 0.6987 GB, free: 100.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007327/1.157, allocations: 271.4 kB / 0.699 GB, free: 99.89 MB / 0.5137 GB Notification: Performance of SimCode: time 1.252e-06/1.157, allocations: 0 / 0.699 GB, free: 99.89 MB / 0.5137 GB Notification: Performance of Templates: time 0.07027/1.228, allocations: 42.51 MB / 0.7405 GB, free: 57.64 MB / 0.5137 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: 6.8942876085639]