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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001344/0.001344, allocations: 111.5 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001084/0.001084, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 55.91 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2133, allocations: 50.54 MB / 410 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.01876/0.2321, allocations: 19.37 MB / 429.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01202/0.2442, allocations: 5.978 MB / 435.3 MB, free: 8.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002816/0.247, allocations: 159.4 kB / 435.5 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01017/0.2572, allocations: 5.829 MB / 441.3 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006921/0.2642, allocations: 3.291 MB / 444.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003006/0.2672, allocations: 1.572 MB / 446.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01446/0.2816, allocations: 12.67 MB / 458.8 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008418/0.2901, allocations: 7.654 MB / 466.5 MB, free: 8.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004832/0.2949, allocations: 3.571 MB / 470 MB, free: 5.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005933/0.3009, allocations: 4.748 MB / 474.8 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001331/0.3022, allocations: 0.711 MB / 475.5 MB, free: 15.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002939/0.3052, allocations: 1.67 MB / 477.2 MB, free: 14.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003349/0.3085, allocations: 4.252 MB / 481.4 MB, free: 9.965 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003998/0.3125, allocations: 4.444 MB / 485.9 MB, free: 5.496 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01194/0.3245, allocations: 13.6 MB / 499.5 MB, free: 7.855 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3245, allocations: 4 kB / 499.5 MB, free: 7.852 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3245, allocations: 4 kB / 499.5 MB, free: 7.848 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002998/0.3248, allocations: 0 / 499.5 MB, free: 7.848 MB / 414.1 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.01944/0.3443, allocations: 9.645 MB / 0.4972 GB, free: 14.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.3443, allocations: 8.031 kB / 0.4972 GB, free: 14.1 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0441/0.3885, allocations: 5.236 MB / 0.5023 GB, free: 8.848 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01685/0.4053, allocations: 7.898 MB / 0.51 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003103/0.4057, allocations: 427.4 kB / 0.5104 GB, free: 476 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00146/0.4071, allocations: 0.5853 MB / 0.511 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02631/0.4335, allocations: 16.55 MB / 0.5272 GB, free: 14.26 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002206/0.4337, allocations: 99.11 kB / 0.5273 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006538/0.4344, allocations: 263.8 kB / 0.5275 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004199/0.4386, allocations: 2.772 MB / 0.5302 GB, free: 11.13 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3441/0.7827, allocations: 13.62 MB / 0.5435 GB, free: 113.1 MB / 462.1 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.05882/0.8416, allocations: 67.73 MB / 0.6097 GB, free: 56.8 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01751/0.8591, allocations: 7.914 MB / 0.6174 GB, free: 48.78 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004194/0.8633, allocations: 4.517 MB / 0.6218 GB, free: 44.26 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01395/0.8773, allocations: 12.4 MB / 0.6339 GB, free: 31.73 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.8774, allocations: 68.5 kB / 0.634 GB, free: 31.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=280): time 4.759e-06/0.8774, allocations: 0 / 0.634 GB, free: 31.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=339): time 0.1664/1.044, allocations: 50.13 MB / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001896/1.044, allocations: 394.1 kB / 0.6833 GB, free: 13.15 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009188/1.053, allocations: 7.107 MB / 0.6902 GB, free: 6.059 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000577/1.054, allocations: 77.7 kB / 0.6903 GB, free: 5.977 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003371/1.057, allocations: 5.021 MB / 0.6952 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001353/1.058, allocations: 1.257 MB / 0.6964 GB, free: 15.62 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002534/1.061, allocations: 1.864 MB / 0.6983 GB, free: 13.74 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 9.066e-05/1.061, allocations: 309.1 kB / 0.6986 GB, free: 13.44 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00628/1.067, allocations: 4.543 MB / 0.703 GB, free: 8.887 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009171/1.077, allocations: 9.267 MB / 0.7121 GB, free: 13.33 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01713/1.094, allocations: 14.53 MB / 0.7262 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.953e-05/1.094, allocations: 48 kB / 0.7263 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.2156/1.309, allocations: 19.75 MB / 0.7456 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/1.31, allocations: 74.44 kB / 0.7456 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001882/1.31, allocations: 160.7 kB / 0.7458 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01854/1.328, allocations: 7.063 MB / 0.7527 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005226/1.334, allocations: 1.923 MB / 0.7546 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03802/1.372, allocations: 35.3 MB / 0.789 GB, free: 147.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006582/1.378, allocations: 0.5891 MB / 0.7896 GB, free: 147.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006956/1.379, allocations: 0.4885 MB / 0.7901 GB, free: 146.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 733 * 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 (1048): * Single equations (assignments): 1042 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,93,51.6%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.003954/1.383, allocations: 3.474 MB / 0.7935 GB, free: 143.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00102/1.384, allocations: 0.6424 MB / 0.7941 GB, free: 143.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02421/1.408, allocations: 13.31 MB / 0.8071 GB, free: 129.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.777e-05/1.408, allocations: 19.45 kB / 0.8071 GB, free: 129.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.894e-06/1.408, allocations: 3.984 kB / 0.8071 GB, free: 129.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001552/1.41, allocations: 0.6794 MB / 0.8078 GB, free: 129.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001072/1.411, allocations: 52 kB / 0.8079 GB, free: 129.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003112/1.414, allocations: 310 kB / 0.8081 GB, free: 129.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006537/1.415, allocations: 297.6 kB / 0.8084 GB, free: 128.9 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02066/1.435, allocations: 12.22 MB / 0.8204 GB, free: 116.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01265/1.448, allocations: 12.51 MB / 0.8326 GB, free: 104.4 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003364/1.451, allocations: 3.547 MB / 0.836 GB, free: 100.9 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005182/1.457, allocations: 4.555 MB / 0.8405 GB, free: 96.32 MB / 0.5294 GB Notification: Performance of Backend: time 7.52e-07/1.457, allocations: 0 / 0.8405 GB, free: 96.32 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01381/1.47, allocations: 8.715 MB / 0.849 GB, free: 87.63 MB / 0.5294 GB Notification: Performance of SimCode: time 0.02134/1.492, allocations: 17.22 MB / 0.8658 GB, free: 70.39 MB / 0.5294 GB Notification: Performance of Templates: time 0.3248/1.817, allocations: 104.1 MB / 0.9675 GB, free: 180.4 MB / 0.545 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1)