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.001392/0.001392, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001314/0.001314, allocations: 166.9 kB / 25.33 MB, free: 8.594 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 0.9399/0.9399, allocations: 158.6 MB / 187.2 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] 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.282e-06/1.282e-06, allocations: 0 / 251 MB, free: 7.512 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.129e-05, allocations: 6.25 kB / 251.1 MB, free: 7.504 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.01166/0.01168, allocations: 15.6 MB / 266.7 MB, free: 7.836 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007449/0.01913, allocations: 5.078 MB / 271.7 MB, free: 2.742 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.02015, allocations: 139.2 kB / 271.9 MB, free: 2.605 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005942/0.0261, allocations: 4.789 MB / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004851/0.03095, allocations: 2.729 MB / 279.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001994/0.03294, allocations: 1.298 MB / 280.7 MB, free: 9.758 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008358/0.0413, allocations: 8.5 MB / 289.2 MB, free: 1.242 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005217/0.04652, allocations: 5.247 MB / 294.4 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005883/0.0524, allocations: 4.904 MB / 299.3 MB, free: 6.996 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004245/0.05664, allocations: 3.683 MB / 303 MB, free: 3.305 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008524/0.0575, allocations: 0.5156 MB / 303.5 MB, free: 2.789 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002056/0.05955, allocations: 1.451 MB / 305 MB, free: 1.336 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002186/0.06174, allocations: 3.218 MB / 308.2 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002091/0.06383, allocations: 2.017 MB / 310.2 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006386/0.07022, allocations: 6.839 MB / 317.1 MB, free: 5.223 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.07022, allocations: 4 kB / 317.1 MB, free: 5.219 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.07022, allocations: 3.938 kB / 317.1 MB, free: 5.215 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.415e-05/0.07028, allocations: 0 / 317.1 MB, free: 5.215 MB / 298.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.009909/0.08019, allocations: 8.337 MB / 325.4 MB, free: 12.79 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.08023, allocations: 11.98 kB / 325.4 MB, free: 12.78 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007856/0.08808, allocations: 3.769 MB / 329.2 MB, free: 9.004 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004442/0.09253, allocations: 4.051 MB / 333.2 MB, free: 4.863 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001715/0.0927, allocations: 341.1 kB / 333.6 MB, free: 4.527 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005209/0.09322, allocations: 468 kB / 334 MB, free: 4.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/0.1033, allocations: 8.755 MB / 342.8 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001084/0.1034, allocations: 71.47 kB / 342.8 MB, free: 9.973 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000354/0.1038, allocations: 207.8 kB / 343.1 MB, free: 9.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002072/0.1058, allocations: 2.501 MB / 345.6 MB, free: 7.266 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008708/0.1145, allocations: 4.701 MB / 350.3 MB, free: 2.535 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1743/0.2888, allocations: 59.74 MB / 410 MB, free: 27.24 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007518/0.2963, allocations: 3.154 MB / 413.1 MB, free: 26.75 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00157/0.2979, allocations: 0.9425 MB / 414.1 MB, free: 26.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009888/0.3078, allocations: 7.32 MB / 421.4 MB, free: 20.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.225e-05/0.3078, allocations: 64.02 kB / 421.5 MB, free: 20.37 MB / 330.7 MB Notification: Performance of pre-optimization done (n=237): time 6.502e-06/0.3078, allocations: 0 / 421.5 MB, free: 20.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=349): time 0.1596/0.4675, allocations: 77.06 MB / 498.5 MB, free: 7.926 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.4676, allocations: 247.4 kB / 498.8 MB, free: 7.637 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006269/0.4739, allocations: 4.938 MB / 0.4919 GB, free: 2.906 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001084/0.4749, allocations: 77.7 kB / 0.492 GB, free: 2.824 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1799/0.6549, allocations: 4.593 MB / 0.4965 GB, free: 128.9 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001826/0.6567, allocations: 1.392 MB / 0.4978 GB, free: 128.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002546/0.6593, allocations: 1.851 MB / 0.4996 GB, free: 128.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.886e-05/0.6593, allocations: 479.3 kB / 0.5001 GB, free: 127.7 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002799/0.6621, allocations: 1.877 MB / 0.5019 GB, free: 127.7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004878/0.667, allocations: 8.827 MB / 0.5105 GB, free: 118.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009394/0.6764, allocations: 11.64 MB / 0.5219 GB, free: 110.1 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000114/0.6765, allocations: 52.34 kB / 0.522 GB, free: 110.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=1135) (initialization): time 0.0519/0.7284, allocations: 32.17 MB / 0.5534 GB, free: 90.6 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.7285, allocations: 72 kB / 0.5534 GB, free: 90.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001416/0.7286, allocations: 160 kB / 0.5536 GB, free: 90.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02539/0.754, allocations: 17.05 MB / 0.5702 GB, free: 74.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003444/0.7575, allocations: 1.755 MB / 0.572 GB, free: 72.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04208/0.7996, allocations: 27.96 MB / 0.5993 GB, free: 43.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006427/0.806, allocations: 1.046 MB / 0.6003 GB, free: 42.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001575/0.8076, allocations: 488 kB / 0.6007 GB, free: 42.44 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 734 * 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 (934): * Single equations (assignments): 927 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(21,67,29.3%), (17,35,35.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,27)} Notification: Performance of prepare postOptimizeDAE: time 0.003027/0.8106, allocations: 0.8362 MB / 0.6016 GB, free: 41.69 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001396/0.812, allocations: 0.609 MB / 0.6022 GB, free: 41.08 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04427/0.8563, allocations: 27.66 MB / 0.6292 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-05/0.8563, allocations: 36 kB / 0.6292 GB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-05/0.8564, allocations: 24 kB / 0.6292 GB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.238e-05/0.8564, allocations: 15.94 kB / 0.6292 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2219/1.078, allocations: 44.96 MB / 0.6731 GB, free: 94.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.422e-05/1.078, allocations: 8 kB / 0.6732 GB, free: 94.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000814/1.079, allocations: 337 kB / 0.6735 GB, free: 94.44 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02345/1.103, allocations: 16.43 MB / 0.6895 GB, free: 80.04 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003831/1.103, allocations: 75.98 kB / 0.6896 GB, free: 79.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04154/1.145, allocations: 23.81 MB / 0.7128 GB, free: 56.29 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.235e-05/1.145, allocations: 18.75 kB / 0.7129 GB, free: 56.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07578/1.22, allocations: 29.78 MB / 0.7419 GB, free: 26.58 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004746/1.225, allocations: 1.488 MB / 0.7434 GB, free: 25.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001871/1.227, allocations: 67 kB / 0.7435 GB, free: 25.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005157/1.232, allocations: 0.6707 MB / 0.7441 GB, free: 24.64 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002335/1.234, allocations: 315.9 kB / 0.7444 GB, free: 24.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006037/1.235, allocations: 96 kB / 0.7445 GB, free: 24.24 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.005165/1.24, allocations: 2.225 MB / 0.7467 GB, free: 22.03 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.1e-07/1.24, allocations: 0 / 0.7467 GB, free: 22.03 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01192/1.252, allocations: 2.495 MB / 0.7491 GB, free: 19.54 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * 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 (167): * Single equations (assignments): 160 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(21,60,29.3%), (17,33,35.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001252/1.253, allocations: 245 kB / 0.7494 GB, free: 19.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01916/1.273, allocations: 10.77 MB / 0.7599 GB, free: 8.941 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/1.273, allocations: 4 kB / 0.7599 GB, free: 8.938 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009392/1.282, allocations: 6.573 MB / 0.7663 GB, free: 2.355 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003142/1.285, allocations: 0.6876 MB / 0.767 GB, free: 1.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1284/1.413, allocations: 13.99 MB / 0.7806 GB, free: 121.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001546/1.415, allocations: 1.964 MB / 0.7825 GB, free: 121.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002663/1.418, allocations: 1.867 MB / 0.7844 GB, free: 121.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005093/1.418, allocations: 307 kB / 0.7847 GB, free: 121.4 MB / 410.7 MB Notification: Performance of SimCode: time 2.305e-06/1.418, allocations: 0 / 0.7847 GB, free: 121.4 MB / 410.7 MB Notification: Performance of Templates: time 0.2683/1.686, allocations: 138.4 MB / 0.9198 GB, free: 121.9 MB / 410.7 MB " [Timeout remaining time 658] 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.169745561666787]