Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001841/0.001841, allocations: 92.33 kB / 21.73 MB, free: 2.68 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.002084/0.002084, allocations: 160.6 kB / 25.02 MB, free: 9.438 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.518/1.518, allocations: 158.6 MB / 186.8 MB, free: 2.891 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.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 250.4 MB, free: 3.945 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.097e-05/3.29e-05, allocations: 2.312 kB / 250.4 MB, free: 3.941 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.01926/0.01929, allocations: 13.9 MB / 264.3 MB, free: 5.977 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01299/0.03228, allocations: 4.961 MB / 269.2 MB, free: 1 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003219/0.03549, allocations: 135.2 kB / 269.4 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01092/0.04642, allocations: 4.629 MB / 274 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008481/0.0549, allocations: 2.717 MB / 276.7 MB, free: 9.492 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003573/0.05847, allocations: 1.306 MB / 278 MB, free: 8.184 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01503/0.07351, allocations: 8.493 MB / 286.5 MB, free: 15.68 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01022/0.08373, allocations: 5.228 MB / 291.7 MB, free: 10.36 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0116/0.09533, allocations: 3.847 MB / 295.6 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007415/0.1027, allocations: 3.784 MB / 299.4 MB, free: 2.715 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002078/0.1048, allocations: 0.5273 MB / 299.9 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004781/0.1096, allocations: 1.467 MB / 301.3 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1481/0.2577, allocations: 3.223 MB / 304.6 MB, free: 28.86 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008124/0.2658, allocations: 2.036 MB / 306.6 MB, free: 28.86 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0161/0.2819, allocations: 10.64 MB / 317.2 MB, free: 28.31 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.387e-06/0.282, allocations: 0.5938 kB / 317.2 MB, free: 28.31 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.282, allocations: 7.266 kB / 317.3 MB, free: 28.31 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0004565/0.2824, allocations: 0 / 317.3 MB, free: 28.31 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: 2058 * Number of variables: 2058 Notification: Performance of Generate backend data structure: time 0.02449/0.3069, allocations: 7.888 MB / 325.1 MB, free: 24.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.307, allocations: 14.83 kB / 325.2 MB, free: 24.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0169/0.3238, allocations: 3.954 MB / 329.1 MB, free: 23.01 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0137/0.3375, allocations: 4.849 MB / 334 MB, free: 20.45 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006534/0.3382, allocations: 336.9 kB / 334.3 MB, free: 20.33 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003616/0.3418, allocations: 463.5 kB / 334.7 MB, free: 20.21 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03174/0.3736, allocations: 14.76 MB / 349.5 MB, free: 6.293 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004435/0.374, allocations: 76.59 kB / 349.6 MB, free: 6.242 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00249/0.3765, allocations: 210.8 kB / 349.8 MB, free: 6.082 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005131/0.3816, allocations: 2.852 MB / 352.6 MB, free: 3.262 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03259/0.4142, allocations: 13.26 MB / 365.9 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0996/0.5138, allocations: 54.93 MB / 420.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02077/0.5346, allocations: 7.04 MB / 427.9 MB, free: 7.734 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00793/0.5425, allocations: 4.669 MB / 432.5 MB, free: 3.055 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1524/0.6949, allocations: 12.07 MB / 444.6 MB, free: 117.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.385e-05/0.695, allocations: 68.95 kB / 444.7 MB, free: 117.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=327): time 6.572e-06/0.695, allocations: 0 / 444.7 MB, free: 117.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=573): time 2.145/2.84, allocations: 438.3 MB / 0.8623 GB, free: 89.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/2.84, allocations: 269.3 kB / 0.8625 GB, free: 88.85 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007083/2.847, allocations: 5.34 MB / 0.8677 GB, free: 84.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001964/2.849, allocations: 113.2 kB / 0.8678 GB, free: 84.06 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002001/2.851, allocations: 4.068 MB / 0.8718 GB, free: 80.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002707/2.854, allocations: 2.076 MB / 0.8738 GB, free: 78.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004259/2.858, allocations: 2.156 MB / 0.8759 GB, free: 76.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.315e-05/2.858, allocations: 305.1 kB / 0.8762 GB, free: 76.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01412/2.872, allocations: 11.36 MB / 0.8873 GB, free: 64.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01732/2.889, allocations: 15.55 MB / 0.9025 GB, free: 47.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03334/2.923, allocations: 27.98 MB / 0.9298 GB, free: 17.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002083/2.923, allocations: 40 kB / 0.9299 GB, free: 17.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=1251) (initialization): time 0.5727/3.496, allocations: 142.8 MB / 1.069 GB, free: 21.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.874e-05/3.496, allocations: 64 kB / 1.069 GB, free: 21.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001074/3.496, allocations: 136 kB / 1.07 GB, free: 20.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3404/3.836, allocations: 76.58 MB / 1.144 GB, free: 82.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005582/3.842, allocations: 1.574 MB / 1.146 GB, free: 81.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4269/4.269, allocations: 205.3 MB / 1.346 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01394/4.283, allocations: 1.876 MB / 1.348 GB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002619/4.285, allocations: 0.5349 MB / 1.349 GB, free: 9.738 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 623 * 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 (832): * Single equations (assignments): 825 * 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 {(21,163,34.9%), (17,101,42.9%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,76)} Notification: Performance of prepare postOptimizeDAE: time 0.006967/4.292, allocations: 3.095 MB / 1.352 GB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002967/4.295, allocations: 0.7181 MB / 1.352 GB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4416/4.737, allocations: 138 MB / 1.487 GB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001119/4.737, allocations: 56 kB / 1.487 GB, free: 8.676 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001939/4.737, allocations: 60 kB / 1.487 GB, free: 8.617 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001374/4.737, allocations: 27.89 kB / 1.487 GB, free: 8.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7036/5.441, allocations: 204.3 MB / 1.687 GB, free: 98.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.714e-05/5.441, allocations: 3.812 kB / 1.687 GB, free: 98.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00161/5.443, allocations: 355 kB / 1.687 GB, free: 98.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1484/5.591, allocations: 75.29 MB / 1.761 GB, free: 32.12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001902/5.593, allocations: 107.9 kB / 1.761 GB, free: 32.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5413/6.134, allocations: 187.8 MB / 1.944 GB, free: 97.53 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.056e-05/6.134, allocations: 11.41 kB / 1.944 GB, free: 97.53 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4965/6.631, allocations: 154.6 MB / 2.095 GB, free: 98.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008151/6.639, allocations: 3.041 MB / 2.098 GB, free: 98.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003168/6.642, allocations: 101.3 kB / 2.098 GB, free: 98.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01027/6.652, allocations: 1.637 MB / 2.1 GB, free: 98.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004382/6.657, allocations: 0.5221 MB / 2.1 GB, free: 98.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001437/6.658, allocations: 142.1 kB / 2.1 GB, free: 98.72 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00514/6.663, allocations: 3.252 MB / 2.104 GB, free: 98.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/6.663, allocations: 0 / 2.104 GB, free: 98.54 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01466/6.678, allocations: 4.191 MB / 2.108 GB, free: 95.3 MB / 394.7 MB 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 (166): * Single equations (assignments): 159 * 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 {(21,156,34.9%), (17,98,42.9%), (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.001899/6.68, allocations: 268.5 kB / 2.108 GB, free: 95.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.05602/6.736, allocations: 33.63 MB / 2.141 GB, free: 62.87 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/6.736, allocations: 0 / 2.141 GB, free: 62.87 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.03969/6.776, allocations: 20.22 MB / 2.161 GB, free: 42.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007683/6.783, allocations: 0.7416 MB / 2.161 GB, free: 41.94 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1899/6.973, allocations: 27.74 MB / 2.188 GB, free: 96.12 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0113/6.984, allocations: 4.628 MB / 2.193 GB, free: 95.75 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00527/6.99, allocations: 1.991 MB / 2.195 GB, free: 95.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/6.991, allocations: 287.6 kB / 2.195 GB, free: 95.67 MB / 394.7 MB Notification: Performance of SimCode: time 1.462e-06/6.991, allocations: 3.344 kB / 2.195 GB, free: 95.67 MB / 394.7 MB Notification: Performance of Templates: time 0.6181/7.609, allocations: 289.8 MB / 2.478 GB, free: 110.4 MB / 410.7 MB " [Timeout remaining time 652] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar1/Fourbar1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 17.68248981400393]