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.001385/0.001385, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001527/0.001527, allocations: 212.2 kB / 23.73 MB, free: 4.16 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.485/1.485, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.001765/0.001765, allocations: 51.92 kB / 378.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2669, allocations: 53.36 MB / 431.6 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.01689/0.2838, allocations: 13.74 MB / 445.3 MB, free: 8.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01392/0.2977, allocations: 4.959 MB / 450.3 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003492/0.3012, allocations: 135.2 kB / 450.4 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009025/0.3103, allocations: 4.306 MB / 454.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008021/0.3183, allocations: 2.587 MB / 457.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003059/0.3213, allocations: 1.155 MB / 458.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01333/0.3347, allocations: 8.123 MB / 466.6 MB, free: 3.613 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007438/0.3421, allocations: 4.258 MB / 470.8 MB, free: 15.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005621/0.3477, allocations: 2.508 MB / 473.3 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007375/0.3551, allocations: 3.403 MB / 476.7 MB, free: 9.348 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003142/0.3582, allocations: 0.5078 MB / 477.3 MB, free: 8.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004532/0.3628, allocations: 1.397 MB / 478.7 MB, free: 7.441 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004089/0.3669, allocations: 3.027 MB / 481.7 MB, free: 4.406 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005122/0.372, allocations: 2.505 MB / 484.2 MB, free: 1.887 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01439/0.3864, allocations: 10.39 MB / 494.6 MB, free: 7.453 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.3864, allocations: 0 / 494.6 MB, free: 7.453 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3864, allocations: 0 / 494.6 MB, free: 7.453 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003947/0.3868, allocations: 4 kB / 494.6 MB, free: 7.449 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.02127/0.408, allocations: 7.754 MB / 0.4906 GB, free: 15.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/0.4081, allocations: 8.031 kB / 0.4906 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01605/0.4242, allocations: 3.331 MB / 0.4938 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01256/0.4367, allocations: 4.692 MB / 0.4984 GB, free: 7.492 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003775/0.4371, allocations: 341.1 kB / 0.4987 GB, free: 7.156 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001911/0.439, allocations: 467.6 kB / 0.4992 GB, free: 6.699 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02958/0.4686, allocations: 14.64 MB / 0.5135 GB, free: 7.105 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002206/0.4688, allocations: 75.41 kB / 0.5135 GB, free: 7.031 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006324/0.4694, allocations: 219.8 kB / 0.5138 GB, free: 6.816 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005603/0.475, allocations: 2.832 MB / 0.5165 GB, free: 3.977 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02806/0.5031, allocations: 13.16 MB / 0.5294 GB, free: 6.797 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.295/0.7981, allocations: 53.89 MB / 0.582 GB, free: 57.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01563/0.8138, allocations: 6.931 MB / 0.5888 GB, free: 50.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004799/0.8186, allocations: 4.59 MB / 0.5932 GB, free: 46.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01737/0.8359, allocations: 11.45 MB / 0.6044 GB, free: 35.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.74e-05/0.836, allocations: 72.64 kB / 0.6045 GB, free: 34.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=326): time 6.252e-06/0.836, allocations: 3.938 kB / 0.6045 GB, free: 34.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=572): time 2.161/2.997, allocations: 411.5 MB / 1.006 GB, free: 155.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.642e-05/2.997, allocations: 265.6 kB / 1.007 GB, free: 155.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005549/3.003, allocations: 4.968 MB / 1.011 GB, free: 150.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001748/3.005, allocations: 109.7 kB / 1.012 GB, free: 150.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001855/3.007, allocations: 4.121 MB / 1.016 GB, free: 147.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002641/3.009, allocations: 2.097 MB / 1.018 GB, free: 145.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004484/3.014, allocations: 2.195 MB / 1.02 GB, free: 143.1 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.868e-05/3.014, allocations: 304.7 kB / 1.02 GB, free: 142.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01276/3.027, allocations: 11.06 MB / 1.031 GB, free: 131.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01485/3.041, allocations: 15.31 MB / 1.046 GB, free: 114.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02921/3.071, allocations: 27.44 MB / 1.073 GB, free: 85.16 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001367/3.071, allocations: 50.42 kB / 1.073 GB, free: 85.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.6064/3.677, allocations: 140.8 MB / 1.21 GB, free: 142.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002537/3.677, allocations: 64 kB / 1.21 GB, free: 142.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002836/3.678, allocations: 140 kB / 1.21 GB, free: 142.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07636/3.754, allocations: 34.68 MB / 1.244 GB, free: 108.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004881/3.759, allocations: 1.579 MB / 1.246 GB, free: 106.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5366/4.296, allocations: 200.9 MB / 1.442 GB, free: 109 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01318/4.309, allocations: 1.724 MB / 1.444 GB, free: 108 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002384/4.311, allocations: 0.5369 MB / 1.444 GB, free: 107.5 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.006776/4.318, allocations: 3.094 MB / 1.447 GB, free: 105 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00186/4.32, allocations: 0.5449 MB / 1.448 GB, free: 104.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5286/4.848, allocations: 136.3 MB / 1.581 GB, free: 159.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.605e-05/4.848, allocations: 56.41 kB / 1.581 GB, free: 159.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001501/4.849, allocations: 62.59 kB / 1.581 GB, free: 159.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001148/4.849, allocations: 27.47 kB / 1.581 GB, free: 159.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5969/5.446, allocations: 201.6 MB / 1.778 GB, free: 167 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.766e-05/5.446, allocations: 7.531 kB / 1.778 GB, free: 167 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001413/5.447, allocations: 324.1 kB / 1.778 GB, free: 167 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06981/5.517, allocations: 33.42 MB / 1.811 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001364/5.518, allocations: 110.9 kB / 1.811 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4308/5.949, allocations: 183.6 MB / 1.99 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/5.949, allocations: 10.91 kB / 1.99 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3223/6.271, allocations: 152.2 MB / 2.139 GB, free: 44.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001339/6.273, allocations: 0.509 MB / 2.139 GB, free: 44.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002267/6.275, allocations: 96 kB / 2.14 GB, free: 44.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008743/6.284, allocations: 1.489 MB / 2.141 GB, free: 42.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003287/6.287, allocations: 0.5144 MB / 2.142 GB, free: 42.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007861/6.288, allocations: 146.4 kB / 2.142 GB, free: 41.91 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003553/6.291, allocations: 2.965 MB / 2.145 GB, free: 38.95 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/6.291, allocations: 2.969 kB / 2.145 GB, free: 38.95 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01101/6.302, allocations: 3.829 MB / 2.148 GB, free: 35.13 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.001234/6.304, allocations: 243.9 kB / 2.149 GB, free: 34.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2667/6.57, allocations: 32.74 MB / 2.18 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/6.57, allocations: 0 / 2.18 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.03605/6.606, allocations: 19.61 MB / 2.2 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005597/6.612, allocations: 0.6871 MB / 2.2 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03518/6.647, allocations: 27.39 MB / 2.227 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007245/6.654, allocations: 4.606 MB / 2.232 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004435/6.659, allocations: 1.996 MB / 2.234 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009087/6.66, allocations: 275.4 kB / 2.234 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.863e-06/6.66, allocations: 2.375 kB / 2.234 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.5143/7.174, allocations: 287.1 MB / 2.514 GB, free: 61.92 MB / 0.5606 GB " [Timeout remaining time 653] 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: 16.667966689914465]