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.001999/0.001999, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002864/0.002864, allocations: 214.5 kB / 24.47 MB, free: 3.777 MB / 14.72 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.527/1.527, allocations: 207.7 MB / 235.3 MB, free: 9.793 MB / 190.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 55.92 kB / 347.7 MB, free: 9.371 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.305, allocations: 49.15 MB / 396.8 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2): time 0.01425/0.3193, allocations: 13.11 MB / 410 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01229/0.3316, allocations: 4.628 MB / 414.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004051/0.3356, allocations: 108.5 kB / 414.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007324/0.343, allocations: 3.102 MB / 417.8 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009039/0.352, allocations: 2.646 MB / 420.4 MB, free: 9.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00321/0.3552, allocations: 0.9972 MB / 421.4 MB, free: 9.254 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01237/0.3676, allocations: 6.643 MB / 428.1 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00692/0.3745, allocations: 3.594 MB / 431.7 MB, free: 232 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005418/0.3799, allocations: 2.278 MB / 433.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006514/0.3864, allocations: 3.38 MB / 437.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002082/0.3885, allocations: 488 kB / 437.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004449/0.3929, allocations: 1.381 MB / 439.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00522/0.3982, allocations: 2.96 MB / 442.1 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007319/0.4055, allocations: 2.403 MB / 444.5 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01691/0.4224, allocations: 10.55 MB / 455.1 MB, free: 8.719 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.4224, allocations: 0 / 455.1 MB, free: 8.719 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4224, allocations: 0 / 455.1 MB, free: 8.719 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004506/0.4229, allocations: 0 / 455.1 MB, free: 8.719 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.02265/0.4455, allocations: 7.407 MB / 462.5 MB, free: 1.234 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.4455, allocations: 11.98 kB / 462.5 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01991/0.4655, allocations: 3.978 MB / 466.5 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01209/0.4776, allocations: 4.231 MB / 470.7 MB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003522/0.4779, allocations: 316.4 kB / 471 MB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002055/0.48, allocations: 435.6 kB / 471.5 MB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03222/0.5122, allocations: 15.8 MB / 487.3 MB, free: 7.469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001917/0.5124, allocations: 55.52 kB / 487.3 MB, free: 7.414 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008533/0.5132, allocations: 203.8 kB / 487.5 MB, free: 7.215 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005474/0.5187, allocations: 3.216 MB / 490.7 MB, free: 3.992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03015/0.5488, allocations: 14.09 MB / 0.493 GB, free: 5.875 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08308/0.6319, allocations: 53.39 MB / 0.5451 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01394/0.6459, allocations: 5.351 MB / 0.5503 GB, free: 9.66 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005441/0.6513, allocations: 3.341 MB / 0.5536 GB, free: 6.301 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2912/0.9425, allocations: 11.91 MB / 0.5652 GB, free: 141.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.994e-05/0.9425, allocations: 67.92 kB / 0.5653 GB, free: 141.9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=289): time 6.472e-06/0.9426, allocations: 1.094 kB / 0.5653 GB, free: 141.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=339): time 0.1402/1.083, allocations: 42.58 MB / 0.6069 GB, free: 119.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.247e-05/1.083, allocations: 213.9 kB / 0.6071 GB, free: 119.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005739/1.089, allocations: 5.239 MB / 0.6122 GB, free: 113.9 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008084/1.089, allocations: 73.14 kB / 0.6123 GB, free: 113.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00191/1.091, allocations: 4.563 MB / 0.6167 GB, free: 109.3 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001468/1.093, allocations: 1.319 MB / 0.618 GB, free: 108 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002279/1.095, allocations: 1.861 MB / 0.6198 GB, free: 106.1 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.31e-05/1.095, allocations: 308.5 kB / 0.6201 GB, free: 105.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005611/1.101, allocations: 4.796 MB / 0.6248 GB, free: 101 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007128/1.108, allocations: 9.839 MB / 0.6344 GB, free: 88.75 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01535/1.123, allocations: 15.56 MB / 0.6496 GB, free: 70.72 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001821/1.123, allocations: 52 kB / 0.6497 GB, free: 70.67 MB / 478.1 MB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.04145/1.165, allocations: 19.49 MB / 0.6687 GB, free: 51.13 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.176e-05/1.165, allocations: 80 kB / 0.6688 GB, free: 51.05 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001569/1.165, allocations: 172 kB / 0.6689 GB, free: 50.89 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02207/1.187, allocations: 5.933 MB / 0.6747 GB, free: 44.95 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007611/1.195, allocations: 2.109 MB / 0.6768 GB, free: 42.83 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02857/1.223, allocations: 25.68 MB / 0.7019 GB, free: 16.94 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007702/1.231, allocations: 0.554 MB / 0.7024 GB, free: 16.38 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001181/1.232, allocations: 0.5117 MB / 0.7029 GB, free: 15.87 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 791 * 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 (1094): * Single equations (assignments): 1086 * 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.004763/1.237, allocations: 3.098 MB / 0.7059 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009112/1.238, allocations: 492.7 kB / 0.7064 GB, free: 12.28 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02965/1.267, allocations: 12.85 MB / 0.719 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001312/1.268, allocations: 55.98 kB / 0.719 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.669e-05/1.268, allocations: 8 kB / 0.719 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.651e-05/1.268, allocations: 19.94 kB / 0.719 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05566/1.323, allocations: 22.16 MB / 0.7407 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.458e-05/1.323, allocations: 4 kB / 0.7407 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003428/1.327, allocations: 0.5772 MB / 0.7413 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2398/1.567, allocations: 4.961 MB / 0.7461 GB, free: 157.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006746/1.567, allocations: 60.03 kB / 0.7462 GB, free: 157.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02689/1.594, allocations: 20.9 MB / 0.7666 GB, free: 149 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/1.594, allocations: 6.25 kB / 0.7666 GB, free: 149 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03462/1.629, allocations: 17.41 MB / 0.7836 GB, free: 142.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004265/1.633, allocations: 1.143 MB / 0.7847 GB, free: 142.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001181/1.634, allocations: 51.91 kB / 0.7847 GB, free: 142.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003197/1.638, allocations: 266.3 kB / 0.785 GB, free: 142.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000697/1.638, allocations: 210.2 kB / 0.7852 GB, free: 142.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002604/1.638, allocations: 86.59 kB / 0.7853 GB, free: 142.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003955/1.642, allocations: 3.02 MB / 0.7882 GB, free: 141.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.642, allocations: 0 / 0.7882 GB, free: 141.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008165/1.651, allocations: 1.747 MB / 0.7899 GB, free: 141.4 MB / 0.4981 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 (254): * Single equations (assignments): 246 * 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.0007241/1.651, allocations: 206.8 kB / 0.7901 GB, free: 141.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01409/1.665, allocations: 10.48 MB / 0.8004 GB, free: 131.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-05/1.665, allocations: 0 / 0.8004 GB, free: 131.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005222/1.671, allocations: 3.789 MB / 0.8041 GB, free: 127.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003787/1.674, allocations: 0.5151 MB / 0.8046 GB, free: 127.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02501/1.699, allocations: 16.35 MB / 0.8205 GB, free: 111 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004792/1.704, allocations: 4.127 MB / 0.8246 GB, free: 106.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005901/1.71, allocations: 2.916 MB / 0.8274 GB, free: 104 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001306/1.711, allocations: 331.4 kB / 0.8277 GB, free: 103.7 MB / 0.4981 GB Notification: Performance of SimCode: time 9.42e-07/1.711, allocations: 0 / 0.8277 GB, free: 103.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.1215/1.833, allocations: 78.92 MB / 0.9048 GB, free: 24.42 MB / 0.4981 GB " [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.387230172753334]