Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001365/0.001365, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001422/0.001422, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.562/1.562, allocations: 230.6 MB / 258.3 MB, free: 8.023 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 68.55 kB / 379 MB, free: 2.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.266, allocations: 53.36 MB / 432.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.02115/0.2871, allocations: 18.15 MB / 450.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01365/0.3008, allocations: 6.088 MB / 456.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003713/0.3045, allocations: 171.1 kB / 456.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01195/0.3164, allocations: 6.347 MB / 463.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008653/0.3251, allocations: 2.899 MB / 466.1 MB, free: 5.164 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005522/0.3306, allocations: 2.296 MB / 468.4 MB, free: 2.863 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01589/0.3465, allocations: 9.721 MB / 478.1 MB, free: 9.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01016/0.3567, allocations: 5.825 MB / 483.9 MB, free: 3.207 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006584/0.3633, allocations: 3.257 MB / 487.2 MB, free: 15.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00756/0.3708, allocations: 4.468 MB / 491.6 MB, free: 11.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002401/0.3732, allocations: 0.7148 MB / 492.3 MB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004459/0.3777, allocations: 1.947 MB / 494.3 MB, free: 8.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004885/0.3826, allocations: 3.881 MB / 498.2 MB, free: 4.906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008129/0.3907, allocations: 4.134 MB / 0.4905 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01718/0.4079, allocations: 13.22 MB / 0.5034 GB, free: 3.484 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.4079, allocations: 4 kB / 0.5034 GB, free: 3.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.4079, allocations: 4 kB / 0.5034 GB, free: 3.477 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004518/0.4083, allocations: 0 / 0.5034 GB, free: 3.477 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2348 * Number of variables: 2348 Notification: Performance of Generate backend data structure: time 0.02573/0.4341, allocations: 9.066 MB / 0.5123 GB, free: 10.33 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.4341, allocations: 8.031 kB / 0.5123 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04367/0.4778, allocations: 4.895 MB / 0.5171 GB, free: 5.418 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01798/0.4958, allocations: 6.303 MB / 0.5232 GB, free: 15.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004995/0.4963, allocations: 439.6 kB / 0.5237 GB, free: 14.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002753/0.499, allocations: 0.5779 MB / 0.5242 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6046/1.104, allocations: 17.05 MB / 0.5409 GB, free: 89.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006001/1.104, allocations: 80.11 kB / 0.541 GB, free: 89.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002337/1.107, allocations: 266.2 kB / 0.5412 GB, free: 89.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004671/1.111, allocations: 2.657 MB / 0.5438 GB, free: 89.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03244/1.144, allocations: 14.78 MB / 0.5582 GB, free: 83.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07977/1.223, allocations: 64.17 MB / 0.6209 GB, free: 19.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02054/1.244, allocations: 8.038 MB / 0.6287 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005331/1.249, allocations: 4.739 MB / 0.6334 GB, free: 6.574 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03811/1.287, allocations: 17.99 MB / 0.6509 GB, free: 4.684 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/1.288, allocations: 68.55 kB / 0.651 GB, free: 4.609 MB / 462.1 MB Notification: Performance of pre-optimization done (n=281): time 1.321e-05/1.288, allocations: 0 / 0.651 GB, free: 4.609 MB / 462.1 MB Notification: Performance of matching and sorting (n=374): time 0.2766/1.564, allocations: 74.15 MB / 0.7234 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002507/1.564, allocations: 376.7 kB / 0.7238 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01309/1.577, allocations: 6.386 MB / 0.73 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001165/1.579, allocations: 85.69 kB / 0.7301 GB, free: 4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0041/1.583, allocations: 4.926 MB / 0.7349 GB, free: 15.04 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002267/1.585, allocations: 1.442 MB / 0.7363 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003518/1.589, allocations: 1.991 MB / 0.7383 GB, free: 11.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001166/1.589, allocations: 301.1 kB / 0.7385 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009054/1.598, allocations: 5.992 MB / 0.7444 GB, free: 5.289 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.256/1.854, allocations: 11.02 MB / 0.7552 GB, free: 182.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.021/1.875, allocations: 17.96 MB / 0.7727 GB, free: 170.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002187/1.875, allocations: 51.09 kB / 0.7728 GB, free: 170.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.04116/1.916, allocations: 23.29 MB / 0.7955 GB, free: 161.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001574/1.916, allocations: 80 kB / 0.7956 GB, free: 161.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001834/1.916, allocations: 172 kB / 0.7957 GB, free: 161.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02073/1.937, allocations: 7.44 MB / 0.803 GB, free: 155.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007355/1.945, allocations: 2.187 MB / 0.8051 GB, free: 153.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04236/1.987, allocations: 37.81 MB / 0.8421 GB, free: 115.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01062/1.997, allocations: 0.7445 MB / 0.8428 GB, free: 114.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002728/2, allocations: 0.5312 MB / 0.8433 GB, free: 114 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 785 * Number of states: 0 () * Number of discrete variables: 51 (sensorJoint4.arrowColor[3],sensorJoint4.arrowColor[2],sensorJoint4.arrowColor[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],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute4cut.cylinderColor[3],revolute4cut.cylinderColor[2],revolute4cut.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1091): * Single equations (assignments): 1084 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,68,84.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,24)} Notification: Performance of prepare postOptimizeDAE: time 0.007524/2.008, allocations: 3.432 MB / 0.8467 GB, free: 110.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001631/2.009, allocations: 0.6015 MB / 0.8473 GB, free: 110.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03033/2.04, allocations: 16.87 MB / 0.8637 GB, free: 93.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.167e-05/2.04, allocations: 51.98 kB / 0.8638 GB, free: 93.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.915e-05/2.04, allocations: 20 kB / 0.8638 GB, free: 93.41 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.465e-05/2.04, allocations: 15.94 kB / 0.8638 GB, free: 93.39 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05388/2.094, allocations: 31.92 MB / 0.895 GB, free: 61.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.412e-05/2.094, allocations: 7.938 kB / 0.895 GB, free: 61.19 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003181/2.097, allocations: 0.6045 MB / 0.8956 GB, free: 60.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0192/2.116, allocations: 7.017 MB / 0.9024 GB, free: 53.55 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001086/2.117, allocations: 60 kB / 0.9025 GB, free: 53.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04052/2.158, allocations: 36.01 MB / 0.9377 GB, free: 17.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/2.158, allocations: 4 kB / 0.9377 GB, free: 17.22 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2751/2.433, allocations: 24.56 MB / 0.9616 GB, free: 170.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001613/2.435, allocations: 0.5799 MB / 0.9622 GB, free: 170.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001262/2.436, allocations: 63.66 kB / 0.9623 GB, free: 170.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003749/2.44, allocations: 448.2 kB / 0.9627 GB, free: 170.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001139/2.441, allocations: 271.3 kB / 0.963 GB, free: 170.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000338/2.441, allocations: 90.72 kB / 0.963 GB, free: 170.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005311/2.446, allocations: 4.041 MB / 0.967 GB, free: 168.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/2.446, allocations: 2.312 kB / 0.967 GB, free: 168.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008169/2.455, allocations: 2.282 MB / 0.9692 GB, free: 168.6 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (revolute1.phi,revolute1.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 (243): * Single equations (assignments): 236 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,62,84.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001081/2.456, allocations: 284 kB / 0.9695 GB, free: 168.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01981/2.475, allocations: 14.2 MB / 0.9834 GB, free: 163.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/2.475, allocations: 0.9844 kB / 0.9834 GB, free: 163.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.009364/2.485, allocations: 6.165 MB / 0.9894 GB, free: 160.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005261/2.49, allocations: 0.8794 MB / 0.9902 GB, free: 160.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02669/2.517, allocations: 20.3 MB / 1.01 GB, free: 143.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004435/2.521, allocations: 5.268 MB / 1.015 GB, free: 139.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005608/2.527, allocations: 3.013 MB / 1.018 GB, free: 136.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00146/2.528, allocations: 387.4 kB / 1.019 GB, free: 136.3 MB / 0.545 GB Notification: Performance of SimCode: time 9.41e-07/2.528, allocations: 0 / 1.019 GB, free: 136.3 MB / 0.545 GB Notification: Performance of Templates: time 0.1509/2.679, allocations: 112.9 MB / 1.129 GB, free: 23.95 MB / 0.545 GB " [Timeout remaining time 657] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarFourbar/PlanarFourbar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.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: 10.13079187925905]