Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001547/0.001547, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001943/0.001943, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 67.84 kB / 307.1 MB, free: 0.5391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09233/0.09364, allocations: 50.52 MB / 357.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6): time 0.2692/0.3629, allocations: 99.88 MB / 457.5 MB, free: 7.289 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.06191/0.4248, allocations: 25.85 MB / 483.3 MB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02105/0.4459, allocations: 1.012 MB / 484.3 MB, free: 12.37 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.07116/0.5171, allocations: 40.71 MB / 0.5127 GB, free: 3.535 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04077/0.558, allocations: 16.21 MB / 0.5286 GB, free: 3.258 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2609/0.8188, allocations: 9.748 MB / 0.5381 GB, free: 8.672 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.093/0.9119, allocations: 83.87 MB / 0.62 GB, free: 7.992 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0897/1.002, allocations: 57.51 MB / 0.6761 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03807/1.04, allocations: 22.82 MB / 0.6984 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04421/1.084, allocations: 28.17 MB / 0.7259 GB, free: 0.875 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.4777/1.562, allocations: 5.517 MB / 0.7313 GB, free: 72.87 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02044/1.582, allocations: 6.191 MB / 0.7374 GB, free: 72.87 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.03297/1.615, allocations: 25.05 MB / 0.7618 GB, free: 72.87 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.05848/1.674, allocations: 29.41 MB / 0.7906 GB, free: 65.43 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.09881/1.773, allocations: 96.19 MB / 0.8845 GB, free: 7.199 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.718e-06/1.773, allocations: 0 / 0.8845 GB, free: 7.199 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.655e-06/1.773, allocations: 5.781 kB / 0.8845 GB, free: 7.195 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.003358/1.776, allocations: 2.625 kB / 0.8845 GB, free: 7.195 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11107 * Number of variables: 11107 Notification: Performance of Generate backend data structure: time 0.8068/2.583, allocations: 59.19 MB / 0.9423 GB, free: 72.72 MB / 0.592 GB Notification: Performance of prepare preOptimizeDAE: time 6.287e-05/2.583, allocations: 10.38 kB / 0.9423 GB, free: 72.72 MB / 0.592 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02694/2.61, allocations: 6.246 MB / 0.9484 GB, free: 72.33 MB / 0.592 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.806/4.416, allocations: 139.6 MB / 1.085 GB, free: 14.21 MB / 0.6233 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1593/4.575, allocations: 62.67 MB / 1.146 GB, free: 2.457 MB / 0.6702 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003008/4.578, allocations: 2.324 MB / 1.148 GB, free: 304 kB / 0.6702 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01428/4.592, allocations: 3.292 MB / 1.151 GB, free: 13.17 MB / 0.6858 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.666/5.258, allocations: 79.8 MB / 1.229 GB, free: 270 MB / 0.7173 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00325/5.262, allocations: 457 kB / 1.23 GB, free: 269.8 MB / 0.7173 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01408/5.276, allocations: 1.386 MB / 1.231 GB, free: 269 MB / 0.7173 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01896/5.295, allocations: 10.88 MB / 1.242 GB, free: 266.4 MB / 0.7173 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1627/5.457, allocations: 60.88 MB / 1.301 GB, free: 241.3 MB / 0.7173 GB 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.8545/6.312, allocations: 335.2 MB / 1.629 GB, free: 129.2 MB / 0.7173 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1473/6.459, allocations: 53.05 MB / 1.68 GB, free: 125.4 MB / 0.7173 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03236/6.492, allocations: 27.93 MB / 1.708 GB, free: 112.9 MB / 0.7173 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1814/6.673, allocations: 114.8 MB / 1.82 GB, free: 12.23 MB / 0.7173 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/6.673, allocations: 224.1 kB / 1.82 GB, free: 12 MB / 0.7173 GB Notification: Performance of pre-optimization done (n=1687): time 2.378e-05/6.673, allocations: 4 kB / 1.82 GB, free: 12 MB / 0.7173 GB Notification: Performance of matching and sorting (n=2238): time 2.513/9.186, allocations: 435.2 MB / 2.245 GB, free: 203.2 MB / 0.7173 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006858/9.187, allocations: 1.65 MB / 2.247 GB, free: 201.2 MB / 0.7173 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08464/9.271, allocations: 34.34 MB / 2.28 GB, free: 167.3 MB / 0.7173 GB Notification: Performance of collectPreVariables (initialization): time 0.006944/9.278, allocations: 394.9 kB / 2.281 GB, free: 166.9 MB / 0.7173 GB Notification: Performance of collectInitialEqns (initialization): time 0.02661/9.305, allocations: 24.09 MB / 2.304 GB, free: 142.8 MB / 0.7173 GB Notification: Performance of collectInitialBindings (initialization): time 0.01354/9.319, allocations: 7.754 MB / 2.312 GB, free: 135.1 MB / 0.7173 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.03278/9.351, allocations: 6.446 MB / 2.318 GB, free: 128.7 MB / 0.7173 GB Notification: Performance of setup shared object (initialization): time 7.269e-05/9.352, allocations: 304.9 kB / 2.318 GB, free: 128.4 MB / 0.7173 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03633/9.388, allocations: 22.83 MB / 2.34 GB, free: 105.5 MB / 0.7173 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4485/9.836, allocations: 35.73 MB / 2.375 GB, free: 221.5 MB / 0.7173 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.09683/9.933, allocations: 62.76 MB / 2.437 GB, free: 187.9 MB / 0.7173 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000685/9.934, allocations: 116.1 kB / 2.437 GB, free: 187.9 MB / 0.7173 GB Notification: Performance of matching and sorting (n=4285) (initialization): time 0.2415/10.18, allocations: 94.64 MB / 2.529 GB, free: 150.8 MB / 0.7173 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003566/10.18, allocations: 187.6 kB / 2.529 GB, free: 150.6 MB / 0.7173 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007602/10.18, allocations: 408 kB / 2.53 GB, free: 150.2 MB / 0.7173 GB Notification: Tearing is skipped for strong component 13 because system size of 784 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.01176/10.19, allocations: 4.811 MB / 2.534 GB, free: 146.4 MB / 0.7173 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02238/10.21, allocations: 5.98 MB / 2.54 GB, free: 141.2 MB / 0.7173 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04668/10.26, allocations: 50.04 MB / 2.589 GB, free: 92.44 MB / 0.7173 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04253/10.3, allocations: 2.153 MB / 2.591 GB, free: 90.3 MB / 0.7173 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0103/10.31, allocations: 1.535 MB / 2.593 GB, free: 88.78 MB / 0.7173 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1864 * Number of states: 0 () * Number of discrete variables: 393 (cylinder6.cylinderTop.color[3],cylinder6.cylinderTop.color[2],cylinder6.cylinderTop.color[1],cylinder6.crankAngle2.color[3],cylinder6.crankAngle2.color[2],cylinder6.crankAngle2.color[1],cylinder6.crankAngle1.color[3],cylinder6.crankAngle1.color[2],cylinder6.crankAngle1.color[1],cylinder6.cylinderInclination.color[3],cylinder6.cylinderInclination.color[2],cylinder6.cylinderInclination.color[1],cylinder6.mounting.color[3],cylinder6.mounting.color[2],cylinder6.mounting.color[1],cylinder6.cylinder.boxColor[3],cylinder6.cylinder.boxColor[2],cylinder6.cylinder.boxColor[1],cylinder6.mid.color[3],cylinder6.mid.color[2],cylinder6.mid.color[1],cylinder6.b1.cylinderColor[3],cylinder6.b1.cylinderColor[2],cylinder6.b1.cylinderColor[1],cylinder6.crank2.color[3],cylinder6.crank2.color[2],cylinder6.crank2.color[1],cylinder6.crank2.body.sphereColor[3],cylinder6.crank2.body.sphereColor[2],cylinder6.crank2.body.sphereColor[1],cylinder6.crank1.color[3],cylinder6.crank1.color[2],cylinder6.crank1.color[1],cylinder6.crank1.body.sphereColor[3],cylinder6.crank1.body.sphereColor[2],cylinder6.crank1.body.sphereColor[1],cylinder6.crank3.color[3],cylinder6.crank3.color[2],cylinder6.crank3.color[1],cylinder6.crank3.body.sphereColor[3],cylinder6.crank3.body.sphereColor[2],cylinder6.crank3.body.sphereColor[1],cylinder6.crank4.color[3],cylinder6.crank4.color[2],cylinder6.crank4.color[1],cylinder6.crank4.body.sphereColor[3],cylinder6.crank4.body.sphereColor[2],cylinder6.crank4.body.sphereColor[1],cylinder6.b2.cylinderColor[3],cylinder6.b2.cylinderColor[2],cylinder6.b2.cylinderColor[1],cylinder6.connectingRod.color[3],cylinder6.connectingRod.color[2],cylinder6.connectingRod.color[1],cylinder6.connectingRod.body.sphereColor[3],cylinder6.connectingRod.body.sphereColor[2],cylinder6.connectingRod.body.sphereColor[1],cylinder6.piston.color[3],cylinder6.piston.color[2],cylinder6.piston.color[1],cylinder6.piston.body.sphereColor[3],cylinder6.piston.body.sphereColor[2],cylinder6.piston.body.sphereColor[1],cylinder5.cylinderTop.color[3],cylinder5.cylinderTop.color[2],cylinder5.cylinderTop.color[1],cylinder5.crankAngle2.color[3],cylinder5.crankAngle2.color[2],cylinder5.crankAngle2.color[1],cylinder5.crankAngle1.color[3],cylinder5.crankAngle1.color[2],cylinder5.crankAngle1.color[1],cylinder5.cylinderInclination.color[3],cylinder5.cylinderInclination.color[2],cylinder5.cylinderInclination.color[1],cylinder5.mounting.color[3],cylinder5.mounting.color[2],cylinder5.mounting.color[1],cylinder5.cylinder.boxColor[3],cylinder5.cylinder.boxColor[2],cylinder5.cylinder.boxColor[1],cylinder5.mid.color[3],cylinder5.mid.color[2],cylinder5.mid.color[1],cylinder5.b1.cylinderColor[3],cylinder5.b1.cylinderColor[2],cylinder5.b1.cylinderColor[1],cylinder5.crank2.color[3],cylinder5.crank2.color[2],cylinder5.crank2.color[1],cylinder5.crank2.body.sphereColor[3],cylinder5.crank2.body.sphereColor[2],cylinder5.crank2.body.sphereColor[1],cylinder5.crank1.color[3],cylinder5.crank1.color[2],cylinder5.crank1.color[1],cylinder5.crank1.body.sphereColor[3],cylinder5.crank1.body.sphereColor[2],cylinder5.crank1.body.sphereColor[1],cylinder5.crank3.color[3],cylinder5.crank3.color[2],cylinder5.crank3.color[1],cylinder5.crank3.body.sphereColor[3],cylinder5.crank3.body.sphereColor[2],cylinder5.crank3.body.sphereColor[1],cylinder5.crank4.color[3],cylinder5.crank4.color[2],cylinder5.crank4.color[1],cylinder5.crank4.body.sphereColor[3],cylinder5.crank4.body.sphereColor[2],cylinder5.crank4.body.sphereColor[1],cylinder5.b2.cylinderColor[3],cylinder5.b2.cylinderColor[2],cylinder5.b2.cylinderColor[1],cylinder5.connectingRod.color[3],cylinder5.connectingRod.color[2],cylinder5.connectingRod.color[1],cylinder5.connectingRod.body.sphereColor[3],cylinder5.connectingRod.body.sphereColor[2],cylinder5.connectingRod.body.sphereColor[1],cylinder5.piston.color[3],cylinder5.piston.color[2],cylinder5.piston.color[1],cylinder5.piston.body.sphereColor[3],cylinder5.piston.body.sphereColor[2],cylinder5.piston.body.sphereColor[1],cylinder4.cylinderTop.color[3],cylinder4.cylinderTop.color[2],cylinder4.cylinderTop.color[1],cylinder4.crankAngle2.color[3],cylinder4.crankAngle2.color[2],cylinder4.crankAngle2.color[1],cylinder4.crankAngle1.color[3],cylinder4.crankAngle1.color[2],cylinder4.crankAngle1.color[1],cylinder4.cylinderInclination.color[3],cylinder4.cylinderInclination.color[2],cylinder4.cylinderInclination.color[1],cylinder4.mounting.color[3],cylinder4.mounting.color[2],cylinder4.mounting.color[1],cylinder4.cylinder.boxColor[3],cylinder4.cylinder.boxColor[2],cylinder4.cylinder.boxColor[1],cylinder4.mid.color[3],cylinder4.mid.color[2],cylinder4.mid.color[1],cylinder4.b1.cylinderColor[3],cylinder4.b1.cylinderColor[2],cylinder4.b1.cylinderColor[1],cylinder4.crank2.color[3],cylinder4.crank2.color[2],cylinder4.crank2.color[1],cylinder4.crank2.body.sphereColor[3],cylinder4.crank2.body.sphereColor[2],cylinder4.crank2.body.sphereColor[1],cylinder4.crank1.color[3],cylinder4.crank1.color[2],cylinder4.crank1.color[1],cylinder4.crank1.body.sphereColor[3],cylinder4.crank1.body.sphereColor[2],cylinder4.crank1.body.sphereColor[1],cylinder4.crank3.color[3],cylinder4.crank3.color[2],cylinder4.crank3.color[1],cylinder4.crank3.body.sphereColor[3],cylinder4.crank3.body.sphereColor[2],cylinder4.crank3.body.sphereColor[1],cylinder4.crank4.color[3],cylinder4.crank4.color[2],cylinder4.crank4.color[1],cylinder4.crank4.body.sphereColor[3],cylinder4.crank4.body.sphereColor[2],cylinder4.crank4.body.sphereColor[1],cylinder4.b2.cylinderColor[3],cylinder4.b2.cylinderColor[2],cylinder4.b2.cylinderColor[1],cylinder4.connectingRod.color[3],cylinder4.connectingRod.color[2],cylinder4.connectingRod.color[1],cylinder4.connectingRod.body.sphereColor[3],cylinder4.connectingRod.body.sphereColor[2],cylinder4.connectingRod.body.sphereColor[1],cylinder4.piston.color[3],cylinder4.piston.color[2],cylinder4.piston.color[1],cylinder4.piston.body.sphereColor[3],cylinder4.piston.body.sphereColor[2],cylinder4.piston.body.sphereColor[1],cylinder3.cylinderTop.color[3],cylinder3.cylinderTop.color[2],cylinder3.cylinderTop.color[1],cylinder3.crankAngle2.color[3],cylinder3.crankAngle2.color[2],cylinder3.crankAngle2.color[1],cylinder3.crankAngle1.color[3],cylinder3.crankAngle1.color[2],cylinder3.crankAngle1.color[1],cylinder3.cylinderInclination.color[3],cylinder3.cylinderInclination.color[2],cylinder3.cylinderInclination.color[1],cylinder3.mounting.color[3],cylinder3.mounting.color[2],cylinder3.mounting.color[1],cylinder3.cylinder.boxColor[3],cylinder3.cylinder.boxColor[2],cylinder3.cylinder.boxColor[1],cylinder3.mid.color[3],cylinder3.mid.color[2],cylinder3.mid.color[1],cylinder3.b1.cylinderColor[3],cylinder3.b1.cylinderColor[2],cylinder3.b1.cylinderColor[1],cylinder3.crank2.color[3],cylinder3.crank2.color[2],cylinder3.crank2.color[1],cylinder3.crank2.body.sphereColor[3],cylinder3.crank2.body.sphereColor[2],cylinder3.crank2.body.sphereColor[1],cylinder3.crank1.color[3],cylinder3.crank1.color[2],cylinder3.crank1.color[1],cylinder3.crank1.body.sphereColor[3],cylinder3.crank1.body.sphereColor[2],cylinder3.crank1.body.sphereColor[1],cylinder3.crank3.color[3],cylinder3.crank3.color[2],cylinder3.crank3.color[1],cylinder3.crank3.body.sphereColor[3],cylinder3.crank3.body.sphereColor[2],cylinder3.crank3.body.sphereColor[1],cylinder3.crank4.color[3],cylinder3.crank4.color[2],cylinder3.crank4.color[1],cylinder3.crank4.body.sphereColor[3],cylinder3.crank4.body.sphereColor[2],cylinder3.crank4.body.sphereColor[1],cylinder3.b2.cylinderColor[3],cylinder3.b2.cylinderColor[2],cylinder3.b2.cylinderColor[1],cylinder3.connectingRod.color[3],cylinder3.connectingRod.color[2],cylinder3.connectingRod.color[1],cylinder3.connectingRod.body.sphereColor[3],cylinder3.connectingRod.body.sphereColor[2],cylinder3.connectingRod.body.sphereColor[1],cylinder3.piston.color[3],cylinder3.piston.color[2],cylinder3.piston.color[1],cylinder3.piston.body.sphereColor[3],cylinder3.piston.body.sphereColor[2],cylinder3.piston.body.sphereColor[1],cylinder2.cylinderTop.color[3],cylinder2.cylinderTop.color[2],cylinder2.cylinderTop.color[1],cylinder2.crankAngle2.color[3],cylinder2.crankAngle2.color[2],cylinder2.crankAngle2.color[1],cylinder2.crankAngle1.color[3],cylinder2.crankAngle1.color[2],cylinder2.crankAngle1.color[1],cylinder2.cylinderInclination.color[3],cylinder2.cylinderInclination.color[2],cylinder2.cylinderInclination.color[1],cylinder2.mounting.color[3],cylinder2.mounting.color[2],cylinder2.mounting.color[1],cylinder2.cylinder.boxColor[3],cylinder2.cylinder.boxColor[2],cylinder2.cylinder.boxColor[1],cylinder2.mid.color[3],cylinder2.mid.color[2],cylinder2.mid.color[1],cylinder2.b1.cylinderColor[3],cylinder2.b1.cylinderColor[2],cylinder2.b1.cylinderColor[1],cylinder2.crank2.color[3],cylinder2.crank2.color[2],cylinder2.crank2.color[1],cylinder2.crank2.body.sphereColor[3],cylinder2.crank2.body.sphereColor[2],cylinder2.crank2.body.sphereColor[1],cylinder2.crank1.color[3],cylinder2.crank1.color[2],cylinder2.crank1.color[1],cylinder2.crank1.body.sphereColor[3],cylinder2.crank1.body.sphereColor[2],cylinder2.crank1.body.sphereColor[1],cylinder2.crank3.color[3],cylinder2.crank3.color[2],cylinder2.crank3.color[1],cylinder2.crank3.body.sphereColor[3],cylinder2.crank3.body.sphereColor[2],cylinder2.crank3.body.sphereColor[1],cylinder2.crank4.color[3],cylinder2.crank4.color[2],cylinder2.crank4.color[1],cylinder2.crank4.body.sphereColor[3],cylinder2.crank4.body.sphereColor[2],cylinder2.crank4.body.sphereColor[1],cylinder2.b2.cylinderColor[3],cylinder2.b2.cylinderColor[2],cylinder2.b2.cylinderColor[1],cylinder2.connectingRod.color[3],cylinder2.connectingRod.color[2],cylinder2.connectingRod.color[1],cylinder2.connectingRod.body.sphereColor[3],cylinder2.connectingRod.body.sphereColor[2],cylinder2.connectingRod.body.sphereColor[1],cylinder2.piston.color[3],cylinder2.piston.color[2],cylinder2.piston.color[1],cylinder2.piston.body.sphereColor[3],cylinder2.piston.body.sphereColor[2],cylinder2.piston.body.sphereColor[1],cylinder1.cylinderTop.color[3],cylinder1.cylinderTop.color[2],cylinder1.cylinderTop.color[1],cylinder1.crankAngle2.color[3],cylinder1.crankAngle2.color[2],cylinder1.crankAngle2.color[1],cylinder1.crankAngle1.color[3],cylinder1.crankAngle1.color[2],cylinder1.crankAngle1.color[1],cylinder1.cylinderInclination.color[3],cylinder1.cylinderInclination.color[2],cylinder1.cylinderInclination.color[1],cylinder1.mounting.color[3],cylinder1.mounting.color[2],cylinder1.mounting.color[1],cylinder1.cylinder.boxColor[3],cylinder1.cylinder.boxColor[2],cylinder1.cylinder.boxColor[1],cylinder1.mid.color[3],cylinder1.mid.color[2],cylinder1.mid.color[1],cylinder1.b1.cylinderColor[3],cylinder1.b1.cylinderColor[2],cylinder1.b1.cylinderColor[1],cylinder1.crank2.color[3],cylinder1.crank2.color[2],cylinder1.crank2.color[1],cylinder1.crank2.body.sphereColor[3],cylinder1.crank2.body.sphereColor[2],cylinder1.crank2.body.sphereColor[1],cylinder1.crank1.color[3],cylinder1.crank1.color[2],cylinder1.crank1.color[1],cylinder1.crank1.body.sphereColor[3],cylinder1.crank1.body.sphereColor[2],cylinder1.crank1.body.sphereColor[1],cylinder1.crank3.color[3],cylinder1.crank3.color[2],cylinder1.crank3.color[1],cylinder1.crank3.body.sphereColor[3],cylinder1.crank3.body.sphereColor[2],cylinder1.crank3.body.sphereColor[1],cylinder1.crank4.color[3],cylinder1.crank4.color[2],cylinder1.crank4.color[1],cylinder1.crank4.body.sphereColor[3],cylinder1.crank4.body.sphereColor[2],cylinder1.crank4.body.sphereColor[1],cylinder1.b2.cylinderColor[3],cylinder1.b2.cylinderColor[2],cylinder1.b2.cylinderColor[1],cylinder1.connectingRod.color[3],cylinder1.connectingRod.color[2],cylinder1.connectingRod.color[1],cylinder1.connectingRod.body.sphereColor[3],cylinder1.connectingRod.body.sphereColor[2],cylinder1.connectingRod.body.sphereColor[1],cylinder1.piston.color[3],cylinder1.piston.color[2],cylinder1.piston.color[1],cylinder1.piston.body.sphereColor[3],cylinder1.piston.body.sphereColor[2],cylinder1.piston.body.sphereColor[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],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],bearing.cylinderColor[3],bearing.cylinderColor[2],bearing.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3172): * Single equations (assignments): 3123 * Array equations: 36 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(784,0.4%)} * 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): 6 systems {(3,10,88.9%), (2,11,100.0%), (2,11,100.0%), (3,10,88.9%), (2,11,100.0%), (3,10,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,12), (2,12), (2,12), (2,12), (2,12), (2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.4938/10.8, allocations: 18.83 MB / 2.611 GB, free: 214.5 MB / 0.7173 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01644/10.82, allocations: 3.339 MB / 2.614 GB, free: 214.5 MB / 0.7173 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2095/11.03, allocations: 82.87 MB / 2.695 GB, free: 192.1 MB / 0.7173 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002434/11.03, allocations: 208.2 kB / 2.696 GB, free: 192.1 MB / 0.7173 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003501/11.03, allocations: 137.7 kB / 2.696 GB, free: 192.1 MB / 0.7173 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004799/11.03, allocations: 111.1 kB / 2.696 GB, free: 192.1 MB / 0.7173 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8638/11.9, allocations: 186.4 MB / 2.878 GB, free: 200.3 MB / 0.7173 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002902/11.9, allocations: 46.41 kB / 2.878 GB, free: 200.3 MB / 0.7173 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01285/11.91, allocations: 2.718 MB / 2.88 GB, free: 200.1 MB / 0.7173 GB Notification: Tearing is skipped for strong component 26 because system size of 683 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.009157/11.92, allocations: 3.898 MB / 2.884 GB, free: 200 MB / 0.7173 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006252/11.92, allocations: 418.3 kB / 2.885 GB, free: 200 MB / 0.7173 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04325/11.97, allocations: 45.96 MB / 2.93 GB, free: 173.3 MB / 0.7173 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.755e-05/11.97, allocations: 76.69 kB / 2.93 GB, free: 173.2 MB / 0.7173 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2374/12.2, allocations: 113.4 MB / 3.04 GB, free: 115.2 MB / 0.7173 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01456/12.22, allocations: 3.323 MB / 3.044 GB, free: 113.7 MB / 0.7173 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01767/12.24, allocations: 443.9 kB / 3.044 GB, free: 113.2 MB / 0.7173 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03013/12.27, allocations: 1.428 MB / 3.045 GB, free: 111.8 MB / 0.7173 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.009572/12.28, allocations: 2.118 MB / 3.048 GB, free: 109.7 MB / 0.7173 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004405/12.28, allocations: 0.578 MB / 3.048 GB, free: 109.1 MB / 0.7173 GB Notification: Performance of sorting global known variables: time 0.05622/12.34, allocations: 23.2 MB / 3.071 GB, free: 86.1 MB / 0.7173 GB Notification: Performance of sort global known variables: time 7.11e-07/12.34, allocations: 1.812 kB / 3.071 GB, free: 86.1 MB / 0.7173 GB Notification: Performance of remove unused functions: time 0.04554/12.38, allocations: 9.069 MB / 3.08 GB, free: 77.04 MB / 0.7173 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 217 * Number of states: 4 (load.phi,load.w,filter.x[1],filter.x[2]) * 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 (1442): * Single equations (assignments): 1429 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(683,0.5%)} * 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): 6 systems {(2,7,100.0%), (2,7,100.0%), (2,7,100.0%), (2,7,100.0%), (2,7,100.0%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,14), (2,14), (2,14), (2,14), (2,14), (2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.635/13.02, allocations: 114.7 MB / 3.192 GB, free: 176.8 MB / 0.7173 GB Notification: Performance of simCode: created initialization part: time 0.8711/13.89, allocations: 234.1 MB / 3.42 GB, free: 217.7 MB / 0.7173 GB Notification: Performance of simCode: created event and clocks part: time 7.432e-05/13.89, allocations: 13.56 kB / 3.42 GB, free: 217.7 MB / 0.7173 GB Notification: Performance of simCode: created simulation system equations: time 0.1008/13.99, allocations: 39.43 MB / 3.459 GB, free: 203.8 MB / 0.7173 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06761/14.06, allocations: 6.663 MB / 3.465 GB, free: 199.2 MB / 0.7173 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.806/16.86, allocations: 1.133 GB / 4.598 GB, free: 321.6 MB / 0.8735 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.07251/16.94, allocations: 28.3 MB / 4.625 GB, free: 311.1 MB / 0.8735 GB Notification: Performance of simCode: alias equations: time 0.04444/16.98, allocations: 10.17 MB / 4.635 GB, free: 307.5 MB / 0.8735 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.04005/17.02, allocations: 23.16 MB / 4.658 GB, free: 286 MB / 0.8735 GB Notification: Performance of SimCode: time 1.713e-06/17.02, allocations: 0 / 4.658 GB, free: 286 MB / 0.8735 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.35/19.37, allocations: 0.845 GB / 5.503 GB, free: 132.5 MB / 0.8735 GB Notification: Performance of buildModelFMU: Generate platform static: time 34.41/53.78, allocations: 13.59 kB / 5.503 GB, free: 132.5 MB / 0.8735 GB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_EngineV6.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/EngineV6/EngineV6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.EngineV6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches