Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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.001124/0.001124, allocations: 80.11 kB / 9.934 MB, free: 0.75 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001767/0.002891, allocations: 449.7 kB / 10.37 MB, free: 320 kB / 10.45 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.001146/0.001146, allocations: 165.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001215/0.002361, allocations: 463.6 kB / 11.72 MB, free: 2.449 MB / 13.93 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.9416/0.9416, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0807/1.022, allocations: 53.85 MB / 243.7 MB, free: 14.91 MB / 250.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.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.371e-05/1.502e-05, allocations: 6.312 kB / 245 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.01214/0.01215, allocations: 18.38 MB / 263.4 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01085/0.023, allocations: 6.189 MB / 269.6 MB, free: 4.945 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002676/0.02568, allocations: 190.9 kB / 269.8 MB, free: 4.758 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.118/0.1437, allocations: 5.904 MB / 275.7 MB, free: 1.051 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00651/0.1502, allocations: 3.528 MB / 279.2 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002482/0.1527, allocations: 1.656 MB / 280.9 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01095/0.1636, allocations: 13.28 MB / 294.2 MB, free: 15.52 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00625/0.1699, allocations: 6.615 MB / 300.8 MB, free: 11.43 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008718/0.1786, allocations: 7.613 MB / 308.4 MB, free: 4.152 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005326/0.1839, allocations: 5.455 MB / 313.8 MB, free: 15.03 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000978/0.1849, allocations: 0.75 MB / 314.6 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002016/0.1869, allocations: 1.708 MB / 316.3 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002382/0.1893, allocations: 4.096 MB / 320.4 MB, free: 8.598 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002069/0.1914, allocations: 2.252 MB / 322.6 MB, free: 6.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006304/0.1977, allocations: 8.292 MB / 330.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.474e-05/0.1977, allocations: 0 / 330.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1977, allocations: 0 / 330.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000134/0.1978, allocations: 4 kB / 330.9 MB, free: 14.45 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2386 * Number of variables: 2386 Notification: Performance of Generate backend data structure: time 0.01043/0.2083, allocations: 10.74 MB / 341.7 MB, free: 4.297 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.2083, allocations: 12.61 kB / 341.7 MB, free: 4.285 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006722/0.215, allocations: 2.247 MB / 343.9 MB, free: 2.109 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006088/0.2211, allocations: 5.006 MB / 349 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002093/0.2213, allocations: 434.7 kB / 349.4 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006426/0.222, allocations: 0.5841 MB / 350 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00888/0.2308, allocations: 8.374 MB / 358.3 MB, free: 3.625 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001537/0.231, allocations: 102.9 kB / 358.4 MB, free: 3.562 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004153/0.2314, allocations: 267.2 kB / 358.7 MB, free: 3.348 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00199/0.2334, allocations: 2.53 MB / 361.2 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006841/0.2402, allocations: 4.058 MB / 365.3 MB, free: 13.08 MB / 346.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0382/0.2784, allocations: 50.87 MB / 416.1 MB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006237/0.2847, allocations: 3.027 MB / 419.2 MB, free: 7.551 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009124/0.2856, allocations: 0.735 MB / 419.9 MB, free: 6.828 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008594/0.2942, allocations: 6.587 MB / 426.5 MB, free: 340 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.2942, allocations: 64.48 kB / 426.6 MB, free: 268 kB / 394.7 MB Notification: Performance of pre-optimization done (n=248): time 4.308e-06/0.2942, allocations: 8 kB / 426.6 MB, free: 260 kB / 394.7 MB Notification: Performance of matching and sorting (n=298): time 0.154/0.4483, allocations: 14.63 MB / 441.2 MB, free: 106.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.4483, allocations: 157.2 kB / 441.4 MB, free: 106.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005/0.4533, allocations: 5.544 MB / 446.9 MB, free: 105.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001538/0.4535, allocations: 72.44 kB / 447 MB, free: 105.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001606/0.4551, allocations: 4.648 MB / 451.6 MB, free: 102.9 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005952/0.4557, allocations: 1.165 MB / 452.8 MB, free: 102.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001553/0.4572, allocations: 1.721 MB / 454.5 MB, free: 102 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 2.698e-05/0.4573, allocations: 304.5 kB / 454.8 MB, free: 101.7 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002039/0.4593, allocations: 1.143 MB / 455.9 MB, free: 101.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003225/0.4625, allocations: 6.23 MB / 462.2 MB, free: 94.98 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005194/0.4677, allocations: 7.929 MB / 470.1 MB, free: 88.26 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.669e-05/0.4678, allocations: 50.94 kB / 470.2 MB, free: 88.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.008616/0.4764, allocations: 6.54 MB / 476.7 MB, free: 86.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.445e-05/0.4765, allocations: 80 kB / 476.8 MB, free: 86.24 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000131/0.4766, allocations: 172 kB / 476.9 MB, free: 86.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003202/0.4798, allocations: 1.259 MB / 478.2 MB, free: 84.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00445/0.4843, allocations: 2.24 MB / 480.4 MB, free: 82.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005957/0.4902, allocations: 5.469 MB / 485.9 MB, free: 77.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004275/0.4945, allocations: 379.7 kB / 486.3 MB, free: 77.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005388/0.495, allocations: 435 kB / 486.7 MB, free: 77.07 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 792 * Number of states: 0 () * Number of discrete variables: 66 (cylinder.boxColor[3],cylinder.boxColor[2],cylinder.boxColor[1],b2.cylinderColor[3],b2.cylinderColor[2],b2.cylinderColor[1],b1.cylinderColor[3],b1.cylinderColor[2],b1.cylinderColor[1],cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],mid.color[3],mid.color[2],mid.color[1],crank4.color[3],crank4.color[2],crank4.color[1],crank4.body.sphereColor[3],crank4.body.sphereColor[2],crank4.body.sphereColor[1],crank3.color[3],crank3.color[2],crank3.color[1],crank3.body.sphereColor[3],crank3.body.sphereColor[2],crank3.body.sphereColor[1],crank2.color[3],crank2.color[2],crank2.color[1],crank2.body.sphereColor[3],crank2.body.sphereColor[2],crank2.body.sphereColor[1],crank1.color[3],crank1.color[2],crank1.color[1],crank1.body.sphereColor[3],crank1.body.sphereColor[2],crank1.body.sphereColor[1],bearing.cylinderColor[3],bearing.cylinderColor[2],bearing.cylinderColor[1],connectingRod.color[3],connectingRod.color[2],connectingRod.color[1],connectingRod.body.sphereColor[3],connectingRod.body.sphereColor[2],connectingRod.body.sphereColor[1],piston.color[3],piston.color[2],piston.color[1],piston.body.sphereColor[3],piston.body.sphereColor[2],piston.body.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 (1106): * Single equations (assignments): 1099 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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 {(2,100.0%), (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): 1 system {(5,42,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002233/0.4973, allocations: 0.8375 MB / 487.5 MB, free: 76.22 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007233/0.498, allocations: 431.4 kB / 488 MB, free: 75.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002744/0.5007, allocations: 2.187 MB / 490.1 MB, free: 73.58 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.5008, allocations: 28 kB / 490.2 MB, free: 73.55 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.5008, allocations: 16.98 kB / 490.2 MB, free: 73.54 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/0.5008, allocations: 15.94 kB / 490.2 MB, free: 73.52 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008908/0.5097, allocations: 9.109 MB / 499.3 MB, free: 65.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/0.5097, allocations: 20 kB / 499.3 MB, free: 65.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/0.511, allocations: 0.7876 MB / 0.4884 GB, free: 64.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005271/0.5115, allocations: 0.6158 MB / 0.489 GB, free: 63.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002215/0.5137, allocations: 1.017 MB / 0.49 GB, free: 62.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001239/0.5138, allocations: 75.12 kB / 0.4901 GB, free: 62.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004113/0.5179, allocations: 4.548 MB / 0.4945 GB, free: 57.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.66e-05/0.518, allocations: 31.88 kB / 0.4945 GB, free: 57.88 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004619/0.5226, allocations: 3.916 MB / 0.4984 GB, free: 53.55 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005217/0.5231, allocations: 75.98 kB / 0.4984 GB, free: 53.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.5242, allocations: 80.88 kB / 0.4985 GB, free: 53.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002286/0.5245, allocations: 269.1 kB / 0.4988 GB, free: 53.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/0.5246, allocations: 83.28 kB / 0.4989 GB, free: 53.05 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001522/0.5261, allocations: 2.26 MB / 0.5011 GB, free: 51.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5261, allocations: 4.031 kB / 0.5011 GB, free: 51.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00421/0.5303, allocations: 2.027 MB / 0.503 GB, free: 49.04 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 89 * Number of states: 2 (inertia.phi,inertia.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 (246): * Single equations (assignments): 239 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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 {(2,100.0%), (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): 1 system {(5,38,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003247/0.5306, allocations: 239.5 kB / 0.5033 GB, free: 48.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003532/0.5342, allocations: 4.164 MB / 0.5073 GB, free: 44.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001784/0.5343, allocations: 156 kB / 0.5075 GB, free: 44.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.5355, allocations: 1.37 MB / 0.5088 GB, free: 43.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003024/0.5385, allocations: 1.794 MB / 0.5106 GB, free: 41.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01673/0.5553, allocations: 14.5 MB / 0.5247 GB, free: 26.65 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001573/0.5568, allocations: 2.3 MB / 0.527 GB, free: 24.32 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001838/0.5587, allocations: 0.8374 MB / 0.5278 GB, free: 23.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001337/0.56, allocations: 1.007 MB / 0.5288 GB, free: 22.46 MB / 394.7 MB Notification: Performance of SimCode: time 1.032e-06/0.56, allocations: 0 / 0.5288 GB, free: 22.46 MB / 394.7 MB Notification: Performance of Templates: time 0.1941/0.7541, allocations: 71.32 MB / 0.5984 GB, free: 95.45 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.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: 4.722925864160061]