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.0008639/0.0008639, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003636/0.003636, allocations: 161.9 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8388/0.8388, allocations: 177.2 MB / 205 MB, free: 5.363 MB / 186.7 MB " [Timeout remaining time 179] 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 1.523e-06/1.523e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.733e-05, allocations: 2.281 kB / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.0107/0.01072, allocations: 13.78 MB / 339.6 MB, free: 1.598 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008742/0.01947, allocations: 4.949 MB / 344.6 MB, free: 12.63 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001718/0.02118, allocations: 139.2 kB / 344.7 MB, free: 12.49 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004183/0.02537, allocations: 4.536 MB / 349.2 MB, free: 7.941 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004111/0.02948, allocations: 2.659 MB / 351.9 MB, free: 5.27 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.03111, allocations: 1.271 MB / 353.2 MB, free: 3.996 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007185/0.03829, allocations: 9.22 MB / 362.4 MB, free: 10.76 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004256/0.04255, allocations: 5.046 MB / 367.4 MB, free: 5.637 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003707/0.04625, allocations: 3.796 MB / 371.2 MB, free: 1.832 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00318/0.04943, allocations: 3.749 MB / 375 MB, free: 14.07 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006194/0.05005, allocations: 0.5195 MB / 375.5 MB, free: 13.55 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001754/0.05181, allocations: 1.459 MB / 377 MB, free: 12.09 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002005/0.05381, allocations: 3.175 MB / 380.1 MB, free: 8.91 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001564/0.05538, allocations: 2.002 MB / 382.1 MB, free: 6.902 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00775/0.06313, allocations: 10.51 MB / 392.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.06313, allocations: 0 / 392.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.06313, allocations: 4 kB / 392.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001022/0.06324, allocations: 0 / 392.6 MB, free: 12.35 MB / 362.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.009888/0.07312, allocations: 7.847 MB / 400.5 MB, free: 4.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.07318, allocations: 12.03 kB / 400.5 MB, free: 4.418 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007583/0.08076, allocations: 3.46 MB / 404 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006554/0.08732, allocations: 4.657 MB / 408.6 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000162/0.08748, allocations: 337.1 kB / 408.9 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006376/0.08812, allocations: 472 kB / 409.4 MB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01489/0.103, allocations: 14.66 MB / 424.1 MB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001254/0.1031, allocations: 79.41 kB / 424.1 MB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003907/0.1035, allocations: 211.8 kB / 424.4 MB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002927/0.1064, allocations: 2.836 MB / 427.2 MB, free: 8.672 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01753/0.124, allocations: 13.16 MB / 440.3 MB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1909/0.3149, allocations: 54.42 MB / 494.8 MB, free: 71.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008295/0.3232, allocations: 7.098 MB / 0.4901 GB, free: 66.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002743/0.3259, allocations: 4.586 MB / 0.4946 GB, free: 61.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009183/0.3351, allocations: 11.83 MB / 0.5061 GB, free: 49.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.3351, allocations: 68.27 kB / 0.5062 GB, free: 49.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=326): time 5.58e-06/0.3351, allocations: 3.984 kB / 0.5062 GB, free: 49.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=572): time 1.095/1.43, allocations: 413.9 MB / 0.9104 GB, free: 55.36 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.689e-05/1.431, allocations: 261.7 kB / 0.9106 GB, free: 55.05 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005103/1.436, allocations: 5.223 MB / 0.9157 GB, free: 49.99 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001603/1.437, allocations: 109.7 kB / 0.9158 GB, free: 49.88 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001381/1.439, allocations: 4.088 MB / 0.9198 GB, free: 46.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001483/1.44, allocations: 2.071 MB / 0.9219 GB, free: 44.16 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002565/1.443, allocations: 2.164 MB / 0.924 GB, free: 41.98 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 3.025e-05/1.443, allocations: 309 kB / 0.9243 GB, free: 41.68 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007974/1.451, allocations: 11.06 MB / 0.9351 GB, free: 30.61 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00927/1.46, allocations: 15.32 MB / 0.95 GB, free: 13.31 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1761/1.636, allocations: 27.44 MB / 0.9768 GB, free: 136.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.756e-05/1.636, allocations: 40.94 kB / 0.9769 GB, free: 136.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.1755/1.812, allocations: 140.8 MB / 1.114 GB, free: 9.941 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.756e-05/1.812, allocations: 65.56 kB / 1.114 GB, free: 9.879 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.355e-05/1.812, allocations: 140 kB / 1.115 GB, free: 9.742 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1986/2.01, allocations: 34.69 MB / 1.148 GB, free: 149.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002858/2.013, allocations: 1.564 MB / 1.15 GB, free: 149.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3065/2.32, allocations: 201.1 MB / 1.346 GB, free: 127.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007412/2.327, allocations: 1.813 MB / 1.348 GB, free: 127.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006916/2.328, allocations: 0.5372 MB / 1.349 GB, free: 127 MB / 490.7 MB 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.003634/2.332, allocations: 3.096 MB / 1.352 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008985/2.332, allocations: 0.5425 MB / 1.352 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3332/2.666, allocations: 136.3 MB / 1.485 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-05/2.666, allocations: 56.66 kB / 1.485 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001366/2.666, allocations: 61.5 kB / 1.485 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001069/2.666, allocations: 27.23 kB / 1.485 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3874/3.053, allocations: 201.8 MB / 1.682 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-05/3.053, allocations: 3.969 kB / 1.682 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/3.054, allocations: 337.2 kB / 1.683 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03994/3.094, allocations: 33.4 MB / 1.715 GB, free: 119.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001058/3.095, allocations: 105.5 kB / 1.716 GB, free: 119.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3041/3.399, allocations: 183.8 MB / 1.895 GB, free: 112 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/3.4, allocations: 10.75 kB / 1.895 GB, free: 112 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3409/3.74, allocations: 152.2 MB / 2.044 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001379/3.742, allocations: 0.5724 MB / 2.044 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009767/3.743, allocations: 101.4 kB / 2.044 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004314/3.747, allocations: 1.566 MB / 2.046 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002233/3.749, allocations: 0.5232 MB / 2.046 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000413/3.75, allocations: 140.5 kB / 2.047 GB, free: 132.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002805/3.753, allocations: 3.164 MB / 2.05 GB, free: 131.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.2e-07/3.753, allocations: 0 / 2.05 GB, free: 131.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008681/3.761, allocations: 4.09 MB / 2.054 GB, free: 129.6 MB / 490.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 (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.0007894/3.762, allocations: 260.5 kB / 2.054 GB, free: 129.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03105/3.793, allocations: 32.73 MB / 2.086 GB, free: 97.53 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/3.793, allocations: 4 kB / 2.086 GB, free: 97.53 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02178/3.815, allocations: 19.59 MB / 2.105 GB, free: 78.01 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003892/3.819, allocations: 0.6901 MB / 2.106 GB, free: 77.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02546/3.844, allocations: 27.92 MB / 2.133 GB, free: 49.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003531/3.848, allocations: 4.565 MB / 2.137 GB, free: 44.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/3.849, allocations: 343 kB / 2.138 GB, free: 44.47 MB / 490.7 MB Notification: Performance of SimCode: time 1.213e-06/3.849, allocations: 0 / 2.138 GB, free: 44.47 MB / 490.7 MB Notification: Performance of Templates: time 0.499/4.348, allocations: 257.6 MB / 2.389 GB, free: 147.3 MB / 0.4948 GB " [Timeout remaining time 656] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar1/Fourbar1.csv","/var/lib/jenkins/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: 17.54559520818293]