Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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.001894/0.001894, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 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.00157/0.00157, allocations: 167.6 kB / 25.02 MB, free: 8.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Fourbar2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 250.4 MB, free: 3.949 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.563e-05/3.747e-05, allocations: 6.312 kB / 250.4 MB, free: 3.941 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2): time 0.01743/0.01747, allocations: 13.13 MB / 263.5 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0116/0.02907, allocations: 4.613 MB / 268.1 MB, free: 2.121 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002841/0.03191, allocations: 107.5 kB / 268.2 MB, free: 2.016 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007449/0.03936, allocations: 3.305 MB / 271.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007568/0.04693, allocations: 2.726 MB / 274.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002682/0.04961, allocations: 1.127 MB / 275.4 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01268/0.06229, allocations: 7.343 MB / 282.7 MB, free: 3.473 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006963/0.06925, allocations: 4.251 MB / 287 MB, free: 15.15 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008483/0.07774, allocations: 3.403 MB / 290.4 MB, free: 11.74 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006922/0.08466, allocations: 3.601 MB / 294 MB, free: 8.133 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001446/0.08611, allocations: 0.4922 MB / 294.5 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003446/0.08955, allocations: 1.478 MB / 295.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003649/0.0932, allocations: 3.097 MB / 299 MB, free: 3.055 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003508/0.09671, allocations: 1.889 MB / 300.9 MB, free: 1.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1486/0.2453, allocations: 10.66 MB / 311.6 MB, free: 27.55 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2453, allocations: 0 / 311.6 MB, free: 27.55 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2453, allocations: 0 / 311.6 MB, free: 27.55 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0004557/0.2458, allocations: 1.344 kB / 311.6 MB, free: 27.55 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.02244/0.2682, allocations: 7.479 MB / 319.1 MB, free: 24.77 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.2683, allocations: 12.52 kB / 319.1 MB, free: 24.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01682/0.2851, allocations: 4.828 MB / 323.9 MB, free: 23.42 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01286/0.298, allocations: 4.173 MB / 328.1 MB, free: 22.14 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006076/0.2986, allocations: 315.9 kB / 328.4 MB, free: 22.05 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003141/0.3017, allocations: 437.6 kB / 328.8 MB, free: 21.95 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02884/0.3305, allocations: 15.89 MB / 344.7 MB, free: 9.203 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000201/0.3308, allocations: 54.78 kB / 344.7 MB, free: 9.172 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008998/0.3317, allocations: 202.8 kB / 344.9 MB, free: 9.031 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004175/0.3358, allocations: 3.233 MB / 348.2 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03069/0.3665, allocations: 14.19 MB / 362.4 MB, free: 7.879 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.103/0.4696, allocations: 54.15 MB / 416.5 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01937/0.4889, allocations: 5.476 MB / 422 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009529/0.4985, allocations: 3.4 MB / 425.4 MB, free: 8.254 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0436/0.542, allocations: 12.49 MB / 437.9 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001189/0.5422, allocations: 64.12 kB / 437.9 MB, free: 11.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=290): time 1.037e-05/0.5422, allocations: 0 / 437.9 MB, free: 11.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=340): time 0.3191/0.8613, allocations: 50.74 MB / 488.7 MB, free: 116.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.982e-05/0.8613, allocations: 218 kB / 488.9 MB, free: 116.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007329/0.8687, allocations: 5.457 MB / 494.4 MB, free: 110.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00102/0.8697, allocations: 73.7 kB / 494.4 MB, free: 110.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002222/0.8719, allocations: 4.51 MB / 498.9 MB, free: 106.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001962/0.8739, allocations: 1.295 MB / 0.4885 GB, free: 104.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002774/0.8766, allocations: 1.828 MB / 0.4903 GB, free: 103.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.176e-05/0.8767, allocations: 305.1 kB / 0.4906 GB, free: 102.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005934/0.8826, allocations: 4.972 MB / 0.4954 GB, free: 97.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00812/0.8908, allocations: 9.986 MB / 0.5052 GB, free: 85.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01568/0.9064, allocations: 15.88 MB / 0.5207 GB, free: 67.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001509/0.9066, allocations: 52 kB / 0.5207 GB, free: 66.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.04345/0.95, allocations: 20.74 MB / 0.541 GB, free: 46.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001137/0.9501, allocations: 80 kB / 0.5411 GB, free: 46.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001878/0.9503, allocations: 172.1 kB / 0.5412 GB, free: 45.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02546/0.9758, allocations: 7.674 MB / 0.5487 GB, free: 38.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007729/0.9835, allocations: 2.117 MB / 0.5508 GB, free: 36.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2113/1.195, allocations: 27.41 MB / 0.5776 GB, free: 115.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009899/1.205, allocations: 0.6616 MB / 0.5782 GB, free: 115.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002281/1.207, allocations: 0.5068 MB / 0.5787 GB, free: 115.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 785 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1089): * Single equations (assignments): 1081 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008486/1.215, allocations: 3.094 MB / 0.5817 GB, free: 114.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00188/1.217, allocations: 0.5676 MB / 0.5823 GB, free: 114.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03146/1.249, allocations: 13.73 MB / 0.5957 GB, free: 110.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001417/1.249, allocations: 54.72 kB / 0.5957 GB, free: 110.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.911e-05/1.249, allocations: 7.453 kB / 0.5958 GB, free: 110.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.84e-05/1.249, allocations: 18.41 kB / 0.5958 GB, free: 110.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05359/1.303, allocations: 23.68 MB / 0.6189 GB, free: 92.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-05/1.303, allocations: 4 kB / 0.6189 GB, free: 92.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003579/1.306, allocations: 0.596 MB / 0.6195 GB, free: 91.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02279/1.329, allocations: 6.703 MB / 0.626 GB, free: 85.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001369/1.33, allocations: 59.98 kB / 0.6261 GB, free: 85.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02528/1.356, allocations: 22.54 MB / 0.6481 GB, free: 62.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/1.356, allocations: 11 kB / 0.6481 GB, free: 62.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03468/1.39, allocations: 18.71 MB / 0.6664 GB, free: 44.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004271/1.395, allocations: 1.239 MB / 0.6676 GB, free: 43.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001795/1.397, allocations: 63.42 kB / 0.6676 GB, free: 43.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004081/1.401, allocations: 360.8 kB / 0.668 GB, free: 42.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009523/1.402, allocations: 206.5 kB / 0.6682 GB, free: 42.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003161/1.402, allocations: 83.98 kB / 0.6683 GB, free: 42.42 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.005149/1.407, allocations: 3.193 MB / 0.6714 GB, free: 39.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/1.407, allocations: 0 / 0.6714 GB, free: 39.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01136/1.418, allocations: 1.924 MB / 0.6733 GB, free: 37.31 MB / 378.7 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 (255): * Single equations (assignments): 247 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001302/1.42, allocations: 233 kB / 0.6735 GB, free: 37.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0171/1.437, allocations: 10.86 MB / 0.6841 GB, free: 26.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.662e-05/1.437, allocations: 0 / 0.6841 GB, free: 26.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005677/1.442, allocations: 4.005 MB / 0.688 GB, free: 22.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004568/1.447, allocations: 0.5359 MB / 0.6885 GB, free: 21.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0259/1.473, allocations: 16.6 MB / 0.7047 GB, free: 5.047 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1549/1.628, allocations: 4.126 MB / 0.7088 GB, free: 113.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.007779/1.636, allocations: 2.919 MB / 0.7116 GB, free: 113.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001847/1.637, allocations: 337.7 kB / 0.7119 GB, free: 113.7 MB / 378.7 MB Notification: Performance of SimCode: time 1.523e-06/1.637, allocations: 0 / 0.7119 GB, free: 113.7 MB / 378.7 MB Notification: Performance of Templates: time 0.1142/1.752, allocations: 77.8 MB / 0.7879 GB, free: 53.7 MB / 378.7 MB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar2/Fourbar2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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: 8.284893134026788]