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.002318/0.002318, allocations: 99.53 kB / 21.73 MB, free: 2.688 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.002154/0.002154, allocations: 166.2 kB / 25.03 MB, free: 8.422 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 1.371/1.371, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] 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.684e-06/1.684e-06, allocations: 0 / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.933e-05/3.101e-05, allocations: 6.312 kB / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2): time 0.02007/0.0201, allocations: 14.54 MB / 264.9 MB, free: 9.219 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0121/0.03221, allocations: 4.73 MB / 269.6 MB, free: 4.477 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002873/0.03508, allocations: 115.5 kB / 269.8 MB, free: 4.363 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007864/0.04294, allocations: 3.387 MB / 273.1 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008318/0.05126, allocations: 2.737 MB / 275.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003067/0.05433, allocations: 1.127 MB / 277 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01307/0.0674, allocations: 7.338 MB / 284.3 MB, free: 5.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008956/0.07635, allocations: 4.258 MB / 288.6 MB, free: 1.402 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009817/0.08617, allocations: 3.422 MB / 292 MB, free: 13.97 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008133/0.0943, allocations: 3.655 MB / 295.7 MB, free: 10.31 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002323/0.09662, allocations: 492 kB / 296.2 MB, free: 9.828 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004797/0.1014, allocations: 1.471 MB / 297.6 MB, free: 8.355 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005377/0.1068, allocations: 3.109 MB / 300.7 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006674/0.1135, allocations: 1.889 MB / 302.6 MB, free: 3.344 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01835/0.1318, allocations: 10.64 MB / 313.3 MB, free: 8.664 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.1318, allocations: 0 / 313.3 MB, free: 8.664 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1318, allocations: 0 / 313.3 MB, free: 8.664 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0004704/0.1323, allocations: 0 / 313.3 MB, free: 8.664 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.02584/0.1581, allocations: 8.596 MB / 321.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.1582, allocations: 15.98 kB / 321.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02105/0.1792, allocations: 4.689 MB / 326.6 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0132/0.1924, allocations: 3.746 MB / 330.3 MB, free: 7.465 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004022/0.1928, allocations: 316.4 kB / 330.6 MB, free: 7.152 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002466/0.1953, allocations: 436.2 kB / 331 MB, free: 6.727 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02833/0.2236, allocations: 9.617 MB / 340.7 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002282/0.2239, allocations: 55.52 kB / 340.7 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001082/0.2249, allocations: 203.8 kB / 340.9 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006036/0.231, allocations: 3.216 MB / 344.1 MB, free: 8.363 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02165/0.2526, allocations: 5.832 MB / 350 MB, free: 2.512 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2231/0.4758, allocations: 68.18 MB / 418.1 MB, free: 32.88 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01022/0.486, allocations: 3.09 MB / 421.2 MB, free: 29.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002509/0.4885, allocations: 1.193 MB / 422.4 MB, free: 28.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01867/0.5071, allocations: 8.523 MB / 430.9 MB, free: 20.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.5072, allocations: 71.33 kB / 431 MB, free: 20.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=289): time 6.943e-06/0.5072, allocations: 0 / 431 MB, free: 20.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=339): time 0.1031/0.6103, allocations: 27.46 MB / 458.5 MB, free: 9.066 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000189/0.6105, allocations: 218 kB / 458.7 MB, free: 8.809 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01048/0.621, allocations: 5.957 MB / 464.6 MB, free: 3.047 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007796/0.6218, allocations: 73.3 kB / 464.7 MB, free: 2.973 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005883/0.6277, allocations: 5.012 MB / 469.7 MB, free: 14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002781/0.6304, allocations: 1.445 MB / 471.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004714/0.6352, allocations: 2.265 MB / 473.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005635/0.6357, allocations: 480.8 kB / 473.9 MB, free: 9.816 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005659/0.6414, allocations: 1.771 MB / 475.7 MB, free: 8.039 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01407/0.6555, allocations: 9.49 MB / 485.2 MB, free: 11.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1845/0.8399, allocations: 12.36 MB / 497.5 MB, free: 112 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002894/0.8402, allocations: 48.62 kB / 497.6 MB, free: 112 MB / 378.7 MB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.03943/0.8797, allocations: 12.56 MB / 0.4982 GB, free: 110.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000149/0.8798, allocations: 81.56 kB / 0.4983 GB, free: 110.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002587/0.8801, allocations: 177.3 kB / 0.4984 GB, free: 110.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02448/0.9046, allocations: 4.921 MB / 0.5032 GB, free: 109.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01021/0.9148, allocations: 2.103 MB / 0.5053 GB, free: 108.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02823/0.943, allocations: 9.907 MB / 0.515 GB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01221/0.9552, allocations: 0.6265 MB / 0.5156 GB, free: 101.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002071/0.9573, allocations: 0.524 MB / 0.5161 GB, free: 100.9 MB / 378.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.00379/0.9611, allocations: 0.9934 MB / 0.5171 GB, free: 100.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00157/0.9626, allocations: 0.5656 MB / 0.5176 GB, free: 100.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02699/0.9896, allocations: 7.351 MB / 0.5248 GB, free: 93.44 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.168e-05/0.9897, allocations: 55.98 kB / 0.5248 GB, free: 93.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-05/0.9897, allocations: 12 kB / 0.5249 GB, free: 93.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.907e-05/0.9898, allocations: 11.95 kB / 0.5249 GB, free: 93.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04395/1.034, allocations: 17.23 MB / 0.5417 GB, free: 75.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-05/1.034, allocations: 4.594 kB / 0.5417 GB, free: 75.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003098/1.037, allocations: 0.5884 MB / 0.5423 GB, free: 75.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02122/1.058, allocations: 4.307 MB / 0.5465 GB, free: 70.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007532/1.059, allocations: 55.98 kB / 0.5465 GB, free: 70.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01495/1.074, allocations: 8.58 MB / 0.5549 GB, free: 62.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/1.074, allocations: 7.938 kB / 0.5549 GB, free: 62.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02662/1.1, allocations: 8.609 MB / 0.5633 GB, free: 53.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004087/1.105, allocations: 1.097 MB / 0.5644 GB, free: 52.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001425/1.106, allocations: 59.98 kB / 0.5645 GB, free: 52.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003877/1.11, allocations: 316.4 kB / 0.5648 GB, free: 52.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008497/1.111, allocations: 208.9 kB / 0.565 GB, free: 51.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002694/1.111, allocations: 83.98 kB / 0.565 GB, free: 51.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003889/1.115, allocations: 2.444 MB / 0.5674 GB, free: 49.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.31e-07/1.115, allocations: 4.031 kB / 0.5674 GB, free: 49.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.008537/1.123, allocations: 1.899 MB / 0.5693 GB, free: 47.45 MB / 378.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.0007991/1.124, allocations: 235.8 kB / 0.5695 GB, free: 47.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01094/1.135, allocations: 6.321 MB / 0.5757 GB, free: 40.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.254e-05/1.135, allocations: 4 kB / 0.5757 GB, free: 40.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003393/1.139, allocations: 2.074 MB / 0.5777 GB, free: 38.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003446/1.142, allocations: 0.5471 MB / 0.5782 GB, free: 38.26 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01881/1.161, allocations: 12.7 MB / 0.5906 GB, free: 25.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003923/1.165, allocations: 3.717 MB / 0.5943 GB, free: 21.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.005392/1.17, allocations: 2.373 MB / 0.5966 GB, free: 19.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00144/1.172, allocations: 340.4 kB / 0.5969 GB, free: 18.93 MB / 378.7 MB Notification: Performance of SimCode: time 2.154e-06/1.172, allocations: 0 / 0.5969 GB, free: 18.93 MB / 378.7 MB Notification: Performance of Templates: time 0.2453/1.417, allocations: 75.47 MB / 0.6706 GB, free: 93.09 MB / 394.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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe 2>&1) [Timeout 240] 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: 7.897502445033751]