Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.0009307/0.0009307, allocations: 84.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.0009679/0.0009679, allocations: 160.2 kB / 24.91 MB, free: 8.762 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.9029/0.9029, allocations: 177 MB / 205.2 MB, free: 5 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.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|body1.frame_a.r_0.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|body1.frame_a.r_0.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.298e-05/1.464e-05, allocations: 9.406 kB / 273.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.007818/0.007833, allocations: 10.1 MB / 283.5 MB, free: 6.891 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004428/0.01226, allocations: 3.981 MB / 287.5 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004423/0.0127, allocations: 71.69 kB / 287.5 MB, free: 2.824 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002466/0.01517, allocations: 2.768 MB / 290.3 MB, free: 48 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.09338/0.1085, allocations: 1.838 MB / 292.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009803/0.1095, allocations: 0.7425 MB / 292.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003034/0.1126, allocations: 4.103 MB / 297 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002086/0.1146, allocations: 3.152 MB / 300.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001655/0.1163, allocations: 2.257 MB / 302.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001541/0.1178, allocations: 2.026 MB / 304.4 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003/0.1181, allocations: 317.2 kB / 304.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.1192, allocations: 1.101 MB / 305.8 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007707/0.1199, allocations: 1.943 MB / 307.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007171/0.1207, allocations: 1.234 MB / 309 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002139/0.1228, allocations: 4.345 MB / 313.4 MB, free: 7.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1228, allocations: 4 kB / 313.4 MB, free: 7.016 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1228, allocations: 0 / 313.4 MB, free: 7.016 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.103e-05/0.1228, allocations: 0 / 313.4 MB, free: 7.016 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.002996/0.1258, allocations: 4.255 MB / 317.6 MB, free: 3.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.567e-05/0.1258, allocations: 11.98 kB / 317.6 MB, free: 3.078 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002342/0.1282, allocations: 1.131 MB / 318.8 MB, free: 1.996 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.1295, allocations: 1.551 MB / 320.3 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.1296, allocations: 242 kB / 320.6 MB, free: 380 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004735/0.1301, allocations: 393.2 kB / 320.9 MB, free: 32 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004844/0.1349, allocations: 5.192 MB / 326.1 MB, free: 10.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.31e-05/0.135, allocations: 39.08 kB / 326.2 MB, free: 10.55 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002515/0.1352, allocations: 160.1 kB / 326.3 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00135/0.1366, allocations: 1.687 MB / 328 MB, free: 8.777 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003943/0.1405, allocations: 2.703 MB / 330.7 MB, free: 6.305 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01784/0.1584, allocations: 31.05 MB / 361.8 MB, free: 7.223 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003997/0.1624, allocations: 2.246 MB / 364 MB, free: 4.984 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004354/0.1628, allocations: 398.5 kB / 364.4 MB, free: 4.594 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00408/0.1669, allocations: 3.86 MB / 368.3 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.1669, allocations: 55.5 kB / 368.3 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of pre-optimization done (n=152): time 3.447e-06/0.1669, allocations: 0 / 368.3 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of matching and sorting (n=159): time 0.01058/0.1775, allocations: 5.271 MB / 373.6 MB, free: 11.44 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007135/0.1782, allocations: 1.486 MB / 375.1 MB, free: 9.832 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/0.1802, allocations: 3.036 MB / 378.1 MB, free: 6.945 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002589/0.1804, allocations: 49.7 kB / 378.2 MB, free: 6.891 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001124/0.1816, allocations: 3.09 MB / 381.2 MB, free: 3.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003591/0.1819, allocations: 0.6668 MB / 381.9 MB, free: 3.098 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009042/0.1828, allocations: 1.184 MB / 383.1 MB, free: 1.902 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.397e-05/0.1829, allocations: 305.1 kB / 383.4 MB, free: 1.602 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/0.184, allocations: 0.8096 MB / 384.2 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002805/0.1868, allocations: 4.602 MB / 388.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004269/0.1911, allocations: 6.058 MB / 394.9 MB, free: 2.199 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.652e-05/0.1911, allocations: 40 kB / 394.9 MB, free: 2.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.007328/0.1985, allocations: 4.967 MB / 399.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.904e-05/0.1985, allocations: 64 kB / 399.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003637/0.2022, allocations: 1.287 MB / 401.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004256/0.2064, allocations: 1.104 MB / 402.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002295/0.2087, allocations: 1.333 MB / 403.7 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005226/0.2139, allocations: 5.897 MB / 409.6 MB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/0.2158, allocations: 283.7 kB / 409.8 MB, free: 2.859 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002763/0.216, allocations: 344 kB / 410.2 MB, free: 2.523 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (742): * Single equations (assignments): 732 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.001032/0.2171, allocations: 0.6301 MB / 410.8 MB, free: 1.879 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002539/0.2173, allocations: 199.8 kB / 411 MB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002867/0.2176, allocations: 345.5 kB / 411.3 MB, free: 1.344 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001889/0.2195, allocations: 0.9854 MB / 412.3 MB, free: 340 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.2195, allocations: 8 kB / 412.3 MB, free: 332 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.2195, allocations: 7.984 kB / 412.3 MB, free: 324 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005454/0.225, allocations: 4.161 MB / 416.5 MB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.225, allocations: 4 kB / 416.5 MB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004098/0.2254, allocations: 151.8 kB / 416.6 MB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002379/0.2278, allocations: 1.038 MB / 417.7 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.669e-05/0.2278, allocations: 35.97 kB / 417.7 MB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004143/0.232, allocations: 5.612 MB / 423.3 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000668/0.2326, allocations: 1.352 MB / 424.7 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002643/0.2353, allocations: 2.162 MB / 426.8 MB, free: 1.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002366/0.2355, allocations: 281.8 kB / 427.1 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001985/0.2357, allocations: 31.94 kB / 427.1 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005561/0.2363, allocations: 31.98 kB / 427.2 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.2364, allocations: 108.8 kB / 427.3 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.198e-05/0.2365, allocations: 35.97 kB / 427.3 MB, free: 0.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007801/0.2373, allocations: 1.071 MB / 428.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2373, allocations: 4 kB / 428.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002707/0.24, allocations: 1.148 MB / 429.5 MB, free: 14.53 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * 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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002828/0.2403, allocations: 166.9 kB / 429.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003377/0.2436, allocations: 3.203 MB / 432.9 MB, free: 11.12 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001365/0.2438, allocations: 96.16 kB / 433 MB, free: 11.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.2451, allocations: 1.168 MB / 434.2 MB, free: 9.805 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.2463, allocations: 0.5473 MB / 434.7 MB, free: 9.262 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006663/0.253, allocations: 7.15 MB / 441.9 MB, free: 2.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008765/0.2538, allocations: 1.169 MB / 443 MB, free: 0.832 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009049/0.2547, allocations: 467 kB / 443.5 MB, free: 384 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.08696/0.3417, allocations: 0.5047 MB / 444 MB, free: 125.4 MB / 394.7 MB Notification: Performance of SimCode: time 1.002e-06/0.3417, allocations: 1.938 kB / 444 MB, free: 125.4 MB / 394.7 MB Notification: Performance of Templates: time 0.04433/0.386, allocations: 39.84 MB / 483.8 MB, free: 105.1 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.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.635645273141563]