Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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.001688/0.001688, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002012/0.002012, allocations: 208.2 kB / 24.48 MB, free: 3.977 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.613/1.613, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 47.92 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4335/0.4352, allocations: 53.36 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.01838/0.4536, allocations: 13.75 MB / 446.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01269/0.4663, allocations: 4.949 MB / 451 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003667/0.47, allocations: 135.2 kB / 451.2 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009549/0.4795, allocations: 4.306 MB / 455.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008245/0.4878, allocations: 2.595 MB / 458.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003183/0.491, allocations: 1.147 MB / 459.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01269/0.5036, allocations: 8.119 MB / 467.3 MB, free: 3.621 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006551/0.5102, allocations: 4.297 MB / 471.6 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005175/0.5154, allocations: 2.5 MB / 474.1 MB, free: 12.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008393/0.5238, allocations: 3.618 MB / 477.7 MB, free: 9.109 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002349/0.5261, allocations: 0.5039 MB / 478.2 MB, free: 8.605 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004264/0.5304, allocations: 1.409 MB / 479.7 MB, free: 7.195 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004384/0.5348, allocations: 3.023 MB / 482.7 MB, free: 4.164 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005921/0.5407, allocations: 2.513 MB / 485.2 MB, free: 1.637 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01616/0.5568, allocations: 10.39 MB / 495.6 MB, free: 7.203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.5569, allocations: 4 kB / 495.6 MB, free: 7.199 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5569, allocations: 0 / 495.6 MB, free: 7.199 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004061/0.5573, allocations: 3.938 kB / 495.6 MB, free: 7.195 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: 2058 * Number of variables: 2058 Notification: Performance of Generate backend data structure: time 0.02522/0.5825, allocations: 7.754 MB / 0.4915 GB, free: 15.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/0.5825, allocations: 8.031 kB / 0.4916 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01737/0.5999, allocations: 3.331 MB / 0.4948 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0147/0.6146, allocations: 4.692 MB / 0.4994 GB, free: 7.238 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003949/0.615, allocations: 341.1 kB / 0.4997 GB, free: 6.902 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002428/0.6174, allocations: 463.6 kB / 0.5002 GB, free: 6.449 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03844/0.6559, allocations: 14.64 MB / 0.5145 GB, free: 6.855 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003836/0.6563, allocations: 75.41 kB / 0.5145 GB, free: 6.781 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001305/0.6576, allocations: 219.8 kB / 0.5147 GB, free: 6.566 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006489/0.6641, allocations: 2.824 MB / 0.5175 GB, free: 3.734 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03672/0.7008, allocations: 13.16 MB / 0.5303 GB, free: 6.551 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3835/1.084, allocations: 53.9 MB / 0.583 GB, free: 59.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01695/1.101, allocations: 6.93 MB / 0.5898 GB, free: 52.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00581/1.107, allocations: 4.586 MB / 0.5942 GB, free: 47.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02195/1.129, allocations: 11.46 MB / 0.6054 GB, free: 36.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.372e-05/1.129, allocations: 68.64 kB / 0.6055 GB, free: 36.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=326): time 6.713e-06/1.129, allocations: 4 kB / 0.6055 GB, free: 36.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=572): time 2.468/3.597, allocations: 411.5 MB / 1.007 GB, free: 125.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000141/3.597, allocations: 261.7 kB / 1.008 GB, free: 125.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008153/3.605, allocations: 4.966 MB / 1.012 GB, free: 120.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.002574/3.607, allocations: 121.6 kB / 1.013 GB, free: 120.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002662/3.61, allocations: 4.106 MB / 1.017 GB, free: 117.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.003872/3.614, allocations: 2.109 MB / 1.019 GB, free: 115.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005167/3.619, allocations: 2.179 MB / 1.021 GB, free: 112.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 7.416e-05/3.619, allocations: 309 kB / 1.021 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0138/3.633, allocations: 11.06 MB / 1.032 GB, free: 101.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01715/3.65, allocations: 15.32 MB / 1.047 GB, free: 84.23 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0344/3.685, allocations: 27.44 MB / 1.074 GB, free: 54.97 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002576/3.685, allocations: 43.94 kB / 1.074 GB, free: 54.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.6431/4.328, allocations: 140.8 MB / 1.211 GB, free: 128.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000322/4.328, allocations: 68 kB / 1.211 GB, free: 128 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000434/4.329, allocations: 140 kB / 1.211 GB, free: 127.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08346/4.412, allocations: 34.67 MB / 1.245 GB, free: 93.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005381/4.418, allocations: 1.569 MB / 1.247 GB, free: 92.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.591/5.009, allocations: 200.9 MB / 1.443 GB, free: 96.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01687/5.025, allocations: 1.724 MB / 1.445 GB, free: 95.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003682/5.029, allocations: 0.5417 MB / 1.445 GB, free: 94.82 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * Number of states: 0 () * Number of discrete variables: 54 (b0.color[3],b0.color[2],b0.color[1],j5.cylinderColor[3],j5.cylinderColor[2],j5.cylinderColor[1],j4.cylinderColor[3],j4.cylinderColor[2],j4.cylinderColor[1],j3.cylinderColor[3],j3.cylinderColor[2],j3.cylinderColor[1],rev1.cylinderColor[3],rev1.cylinderColor[2],rev1.cylinderColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],b3.color[3],b3.color[2],b3.color[1],b3.body.sphereColor[3],b3.body.sphereColor[2],b3.body.sphereColor[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 (840): * Single equations (assignments): 833 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(20,164,40.5%), (16,102,51.6%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,76)} Notification: Performance of prepare postOptimizeDAE: time 0.009303/5.038, allocations: 3.096 MB / 1.448 GB, free: 91.95 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002321/5.041, allocations: 0.5425 MB / 1.449 GB, free: 91.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6933/5.734, allocations: 136.3 MB / 1.582 GB, free: 153.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.158e-05/5.734, allocations: 58.81 kB / 1.582 GB, free: 153.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001901/5.734, allocations: 57.91 kB / 1.582 GB, free: 153.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001424/5.734, allocations: 29.42 kB / 1.582 GB, free: 153.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7664/6.501, allocations: 201.6 MB / 1.779 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.578e-05/6.501, allocations: 3.875 kB / 1.779 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001656/6.503, allocations: 334.8 kB / 1.779 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07453/6.577, allocations: 33.41 MB / 1.812 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002017/6.579, allocations: 104 kB / 1.812 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.567/7.146, allocations: 183.7 MB / 1.991 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/7.146, allocations: 7.844 kB / 1.991 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3272/7.473, allocations: 152.2 MB / 2.14 GB, free: 29.93 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002892/7.476, allocations: 0.5058 MB / 2.14 GB, free: 29.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004546/7.481, allocations: 104 kB / 2.141 GB, free: 29.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01147/7.492, allocations: 1.486 MB / 2.142 GB, free: 27.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005951/7.498, allocations: 0.5221 MB / 2.142 GB, free: 27.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001997/7.5, allocations: 140 kB / 2.143 GB, free: 27.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00685/7.507, allocations: 2.961 MB / 2.146 GB, free: 24.22 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.5e-07/7.507, allocations: 0 / 2.146 GB, free: 24.22 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.02197/7.529, allocations: 3.828 MB / 2.149 GB, free: 20.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (165): * Single equations (assignments): 158 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(20,157,40.5%), (16,99,51.6%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,86)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002967/7.532, allocations: 247.1 kB / 2.149 GB, free: 20.17 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.3516/7.884, allocations: 32.75 MB / 2.181 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.692e-05/7.884, allocations: 0 / 2.181 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.03765/7.921, allocations: 19.61 MB / 2.201 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006356/7.928, allocations: 0.689 MB / 2.201 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03916/7.967, allocations: 27.39 MB / 2.228 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00614/7.973, allocations: 4.607 MB / 2.233 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004203/7.977, allocations: 1.99 MB / 2.234 GB, free: 144 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007104/7.978, allocations: 278.4 kB / 2.235 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.132e-06/7.978, allocations: 0 / 2.235 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.666/8.644, allocations: 287.1 MB / 2.515 GB, free: 46.03 MB / 0.5606 GB " [Timeout remaining time 651] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar1/Fourbar1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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: 22.935000552010024]