Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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.001084/0.001084, allocations: 91.61 kB / 22.19 MB, free: 2.383 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.00112/0.00112, allocations: 161.7 kB / 25.45 MB, free: 9.348 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.9627/0.9627, allocations: 158.6 MB / 187.2 MB, free: 3.039 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.Fourbar2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 299.7 MB, free: 6.914 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.14e-05/2.285e-05, allocations: 2.281 kB / 299.7 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2): time 0.009432/0.009455, allocations: 13.11 MB / 312.8 MB, free: 9.742 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007888/0.01734, allocations: 4.624 MB / 317.4 MB, free: 5.102 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001397/0.01874, allocations: 107.5 kB / 317.5 MB, free: 4.996 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003275/0.02201, allocations: 3.254 MB / 320.8 MB, free: 1.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003677/0.02569, allocations: 2.722 MB / 323.5 MB, free: 14.99 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.02696, allocations: 1.111 MB / 324.6 MB, free: 13.88 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005604/0.03257, allocations: 7.343 MB / 332 MB, free: 6.52 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003429/0.03599, allocations: 4.124 MB / 336.1 MB, free: 2.336 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003169/0.03916, allocations: 3.406 MB / 339.5 MB, free: 14.92 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003519/0.04268, allocations: 3.593 MB / 343.1 MB, free: 11.32 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005581/0.04324, allocations: 496 kB / 343.6 MB, free: 10.83 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001772/0.04501, allocations: 1.486 MB / 345.1 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001722/0.04674, allocations: 3.085 MB / 348.2 MB, free: 6.25 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00185/0.04858, allocations: 1.881 MB / 350 MB, free: 4.363 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1762/0.2247, allocations: 10.61 MB / 360.6 MB, free: 30.76 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.2248, allocations: 1.156 kB / 360.6 MB, free: 30.76 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2248, allocations: 0 / 360.6 MB, free: 30.76 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003405/0.2251, allocations: 2.297 kB / 360.6 MB, free: 30.76 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.01362/0.2387, allocations: 7.441 MB / 368.1 MB, free: 27.99 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.2388, allocations: 14.58 kB / 368.1 MB, free: 27.99 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00874/0.2475, allocations: 4.078 MB / 372.2 MB, free: 27.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006411/0.2539, allocations: 4.159 MB / 376.3 MB, free: 26.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/0.2541, allocations: 325.8 kB / 376.7 MB, free: 26.69 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006533/0.2547, allocations: 430.6 kB / 377.1 MB, free: 26.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01631/0.271, allocations: 15.81 MB / 392.9 MB, free: 17 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001044/0.2711, allocations: 57.64 kB / 392.9 MB, free: 16.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004284/0.2716, allocations: 202.3 kB / 393.1 MB, free: 16.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002623/0.2742, allocations: 3.214 MB / 396.4 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01472/0.2889, allocations: 14.11 MB / 410.5 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04868/0.3376, allocations: 53.82 MB / 464.3 MB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008616/0.3462, allocations: 5.519 MB / 469.8 MB, free: 3.852 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003242/0.3495, allocations: 3.339 MB / 473.1 MB, free: 0.5039 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0138/0.3633, allocations: 12.26 MB / 485.4 MB, free: 4.336 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.515e-05/0.3633, allocations: 67 kB / 485.5 MB, free: 4.262 MB / 410.7 MB Notification: Performance of pre-optimization done (n=289): time 5.38e-06/0.3633, allocations: 0 / 485.5 MB, free: 4.262 MB / 410.7 MB Notification: Performance of matching and sorting (n=339): time 0.253/0.6163, allocations: 43.58 MB / 0.5167 GB, free: 155.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8e-05/0.6164, allocations: 215 kB / 0.5169 GB, free: 155.1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006168/0.6226, allocations: 5.475 MB / 0.5222 GB, free: 153.4 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009182/0.6235, allocations: 75.25 kB / 0.5223 GB, free: 153.4 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001588/0.6251, allocations: 4.522 MB / 0.5267 GB, free: 150.4 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001437/0.6265, allocations: 1.297 MB / 0.528 GB, free: 149.4 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001982/0.6285, allocations: 1.835 MB / 0.5298 GB, free: 148.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.486e-05/0.6285, allocations: 305.1 kB / 0.53 GB, free: 148.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005068/0.6336, allocations: 4.796 MB / 0.5347 GB, free: 146.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007246/0.6408, allocations: 9.843 MB / 0.5443 GB, free: 136.4 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01245/0.6533, allocations: 15.56 MB / 0.5595 GB, free: 118.6 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001526/0.6534, allocations: 52 kB / 0.5596 GB, free: 118.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.03037/0.6838, allocations: 19.48 MB / 0.5786 GB, free: 99.01 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.797e-05/0.6839, allocations: 80 kB / 0.5787 GB, free: 98.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001507/0.6841, allocations: 172.9 kB / 0.5788 GB, free: 98.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01236/0.6964, allocations: 5.936 MB / 0.5846 GB, free: 92.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005485/0.7019, allocations: 2.111 MB / 0.5867 GB, free: 90.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02023/0.7221, allocations: 25.72 MB / 0.6118 GB, free: 64.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007569/0.7297, allocations: 0.632 MB / 0.6124 GB, free: 64.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001803/0.7315, allocations: 0.5146 MB / 0.6129 GB, free: 63.66 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 791 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[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 (1094): * Single equations (assignments): 1086 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006705/0.7382, allocations: 3.092 MB / 0.616 GB, free: 60.55 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001346/0.7396, allocations: 480.8 kB / 0.6164 GB, free: 60.08 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01756/0.7571, allocations: 12.87 MB / 0.629 GB, free: 47.14 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-05/0.7572, allocations: 59.92 kB / 0.629 GB, free: 47.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.12e-05/0.7572, allocations: 12 kB / 0.6291 GB, free: 47.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.299e-05/0.7573, allocations: 15.95 kB / 0.6291 GB, free: 47.06 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03413/0.7914, allocations: 22.33 MB / 0.6509 GB, free: 24.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.879e-05/0.7915, allocations: 4 kB / 0.6509 GB, free: 24.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00206/0.7935, allocations: 0.5772 MB / 0.6514 GB, free: 23.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01016/0.8037, allocations: 4.978 MB / 0.6563 GB, free: 18.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007662/0.8045, allocations: 55.98 kB / 0.6564 GB, free: 18.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2078/1.012, allocations: 20.92 MB / 0.6768 GB, free: 138.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/1.012, allocations: 11.5 kB / 0.6768 GB, free: 138.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02198/1.034, allocations: 17.39 MB / 0.6938 GB, free: 132.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003362/1.038, allocations: 1.193 MB / 0.695 GB, free: 132.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001312/1.039, allocations: 54.12 kB / 0.695 GB, free: 132.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002579/1.041, allocations: 330.8 kB / 0.6953 GB, free: 132.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006127/1.042, allocations: 204.1 kB / 0.6955 GB, free: 132.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001912/1.042, allocations: 82.7 kB / 0.6956 GB, free: 132.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004383/1.047, allocations: 3.206 MB / 0.6987 GB, free: 130.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.81e-07/1.047, allocations: 0 / 0.6987 GB, free: 130.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008772/1.055, allocations: 1.901 MB / 0.7006 GB, free: 128.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (254): * Single equations (assignments): 246 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001042/1.056, allocations: 234.4 kB / 0.7008 GB, free: 128.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0124/1.069, allocations: 10.48 MB / 0.711 GB, free: 119.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.284e-05/1.069, allocations: 4 kB / 0.711 GB, free: 119.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003996/1.073, allocations: 3.79 MB / 0.7147 GB, free: 115.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003392/1.076, allocations: 0.5202 MB / 0.7152 GB, free: 115.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02482/1.101, allocations: 16.84 MB / 0.7317 GB, free: 98.45 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004289/1.105, allocations: 4.098 MB / 0.7357 GB, free: 94.34 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00209/1.107, allocations: 408.3 kB / 0.7361 GB, free: 93.94 MB / 442.7 MB Notification: Performance of SimCode: time 1.783e-06/1.107, allocations: 0 / 0.7361 GB, free: 93.94 MB / 442.7 MB Notification: Performance of Templates: time 0.323/1.431, allocations: 152 MB / 0.8845 GB, free: 120.1 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar2/Fourbar2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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.468938770703971]