Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.0007476/0.0007476, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0008544/0.0008544, allocations: 165.1 kB / 24.91 MB, free: 8.715 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.92/0.92, allocations: 177 MB / 205.2 MB, free: 5.02 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 273.4 MB, free: 1.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.502e-05/1.645e-05, allocations: 4.984 kB / 273.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.008799/0.008815, allocations: 12.7 MB / 286.1 MB, free: 4.301 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1088/0.1176, allocations: 4.922 MB / 291 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001841/0.1194, allocations: 104 kB / 291.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004863/0.1243, allocations: 4.476 MB / 295.6 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003662/0.1279, allocations: 2.272 MB / 297.9 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001546/0.1295, allocations: 1.244 MB / 299.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005672/0.1352, allocations: 6.78 MB / 305.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003439/0.1386, allocations: 4.813 MB / 310.7 MB, free: 8.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003791/0.1424, allocations: 4.252 MB / 314.9 MB, free: 5.469 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002448/0.1448, allocations: 3.054 MB / 318 MB, free: 2.621 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004912/0.1453, allocations: 0.5 MB / 318.5 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001562/0.1469, allocations: 1.566 MB / 320.1 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001503/0.1484, allocations: 2.785 MB / 322.8 MB, free: 13.93 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001448/0.1498, allocations: 1.755 MB / 324.6 MB, free: 12.26 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004345/0.1542, allocations: 6.091 MB / 330.7 MB, free: 6.527 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1542, allocations: 0 / 330.7 MB, free: 6.527 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1542, allocations: 3.938 kB / 330.7 MB, free: 6.523 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.128e-05/0.1542, allocations: 0 / 330.7 MB, free: 6.523 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.005238/0.1595, allocations: 5.673 MB / 336.4 MB, free: 1.234 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.1595, allocations: 15.98 kB / 336.4 MB, free: 1.219 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003169/0.1627, allocations: 1.416 MB / 337.8 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002761/0.1654, allocations: 2.605 MB / 340.4 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.1656, allocations: 309.5 kB / 340.7 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004981/0.1661, allocations: 436.9 kB / 341.1 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006212/0.1723, allocations: 5.979 MB / 347.1 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.843e-05/0.1724, allocations: 59.5 kB / 347.2 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002996/0.1727, allocations: 187.9 kB / 347.4 MB, free: 6.086 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001423/0.1741, allocations: 1.818 MB / 349.2 MB, free: 4.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004693/0.1788, allocations: 3.061 MB / 352.2 MB, free: 1.195 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02272/0.2015, allocations: 34.22 MB / 386.5 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003957/0.2055, allocations: 2.082 MB / 388.5 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004745/0.206, allocations: 418.2 kB / 388.9 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004828/0.2108, allocations: 4.011 MB / 393 MB, free: 7.203 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.2108, allocations: 55.5 kB / 393 MB, free: 7.141 MB / 346.7 MB Notification: Performance of pre-optimization done (n=165): time 2.675e-06/0.2108, allocations: 0 / 393 MB, free: 7.141 MB / 346.7 MB Notification: Performance of matching and sorting (n=207): time 0.01609/0.2269, allocations: 6.924 MB / 399.9 MB, free: 244 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.227, allocations: 201.2 kB / 400.1 MB, free: 0 / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002602/0.2296, allocations: 3.523 MB / 403.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.754e-05/0.2297, allocations: 57.7 kB / 403.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001377/0.231, allocations: 3.434 MB / 407.1 MB, free: 8.918 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004256/0.2315, allocations: 0.81 MB / 407.9 MB, free: 8.102 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001061/0.2325, allocations: 1.259 MB / 409.2 MB, free: 6.832 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.756e-05/0.2326, allocations: 301.1 kB / 409.5 MB, free: 6.535 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.2337, allocations: 0.7993 MB / 410.3 MB, free: 5.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002686/0.2364, allocations: 4.613 MB / 414.9 MB, free: 15.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003946/0.2404, allocations: 5.95 MB / 420.9 MB, free: 7.277 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-05/0.2404, allocations: 40 kB / 420.9 MB, free: 7.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=866) (initialization): time 0.004641/0.245, allocations: 4.476 MB / 425.4 MB, free: 2.738 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.52e-05/0.2451, allocations: 67.94 kB / 425.4 MB, free: 2.672 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.77e-05/0.2452, allocations: 140 kB / 425.6 MB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008465/0.246, allocations: 443.8 kB / 426 MB, free: 2.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00223/0.2482, allocations: 1.47 MB / 427.5 MB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/0.2503, allocations: 2.458 MB / 429.9 MB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002034/0.2524, allocations: 279.7 kB / 430.2 MB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002822/0.2527, allocations: 344 kB / 430.6 MB, free: 13.46 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * Number of states: 0 () * Number of discrete variables: 46 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (823): * Single equations (assignments): 819 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001121/0.2538, allocations: 0.6534 MB / 431.2 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003031/0.2541, allocations: 259.7 kB / 431.5 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001444/0.2555, allocations: 1.092 MB / 432.6 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/0.2555, allocations: 23.98 kB / 432.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.2556, allocations: 4 kB / 432.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.2556, allocations: 11.97 kB / 432.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005612/0.2612, allocations: 5.141 MB / 437.7 MB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.198e-06/0.2612, allocations: 12 kB / 437.7 MB, free: 6.012 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006181/0.2618, allocations: 295.5 kB / 438 MB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007778/0.2626, allocations: 427.1 kB / 438.5 MB, free: 5.301 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.042e-05/0.2627, allocations: 47.94 kB / 438.5 MB, free: 5.254 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001534/0.2642, allocations: 1.735 MB / 440.2 MB, free: 3.43 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/0.2642, allocations: 15.94 kB / 440.2 MB, free: 3.414 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.2662, allocations: 2.24 MB / 442.5 MB, free: 0.9883 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003506/0.2665, allocations: 365.2 kB / 442.8 MB, free: 0.6289 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002476/0.2668, allocations: 47.97 kB / 442.9 MB, free: 0.582 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006369/0.2674, allocations: 44 kB / 442.9 MB, free: 0.5391 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.2676, allocations: 156.4 kB / 443.1 MB, free: 392 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.045e-05/0.2676, allocations: 55.98 kB / 443.1 MB, free: 336 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.1115/0.3791, allocations: 1.326 MB / 444.5 MB, free: 122.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3791, allocations: 1.125 kB / 444.5 MB, free: 122.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004131/0.3833, allocations: 1.194 MB / 445.7 MB, free: 122.3 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * 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 (172): * Single equations (assignments): 168 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003971/0.3837, allocations: 231 kB / 445.9 MB, free: 122.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002922/0.3866, allocations: 2.725 MB / 448.6 MB, free: 122 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001613/0.3867, allocations: 102 kB / 448.7 MB, free: 122 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006562/0.3874, allocations: 0.6542 MB / 449.4 MB, free: 121.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002147/0.3895, allocations: 0.7619 MB / 450.1 MB, free: 121.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008972/0.3985, allocations: 8.961 MB / 459.1 MB, free: 118 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/0.3995, allocations: 1.516 MB / 460.6 MB, free: 117.8 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001126/0.4007, allocations: 0.5555 MB / 461.2 MB, free: 117.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007533/0.4014, allocations: 0.6187 MB / 461.8 MB, free: 117.7 MB / 394.7 MB Notification: Performance of SimCode: time 1.002e-06/0.4014, allocations: 0 / 461.8 MB, free: 117.7 MB / 394.7 MB Notification: Performance of Templates: time 0.04345/0.4449, allocations: 35.34 MB / 497.1 MB, free: 91.34 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.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: 3.7429554131813347]