Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.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.001779/0.001779, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001824/0.001824, allocations: 213.1 kB / 23.73 MB, free: 4.16 MB / 14.72 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 1.435/1.435, allocations: 230.5 MB / 257.4 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.Engine1b,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 59.89 kB / 377.8 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2731, allocations: 53.41 MB / 431.2 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.02222/0.2953, allocations: 17.63 MB / 448.8 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01419/0.3095, allocations: 6.008 MB / 454.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003663/0.3131, allocations: 202.8 kB / 455 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01283/0.326, allocations: 6.164 MB / 461.2 MB, free: 8.355 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009779/0.3358, allocations: 3.51 MB / 464.7 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004133/0.3399, allocations: 1.673 MB / 466.4 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01787/0.3578, allocations: 12.98 MB / 479.3 MB, free: 6.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009285/0.367, allocations: 6.263 MB / 485.6 MB, free: 15.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007891/0.3749, allocations: 3.813 MB / 489.4 MB, free: 11.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008944/0.3839, allocations: 5.047 MB / 494.5 MB, free: 6.914 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002655/0.3865, allocations: 0.7461 MB / 495.2 MB, free: 6.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00445/0.391, allocations: 1.604 MB / 496.8 MB, free: 4.562 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006545/0.3975, allocations: 4.527 MB / 0.4896 GB, free: 24 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007646/0.4052, allocations: 3.835 MB / 0.4933 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02005/0.4252, allocations: 14.95 MB / 0.5079 GB, free: 13.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.4252, allocations: 0 / 0.5079 GB, free: 13.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4252, allocations: 3.938 kB / 0.5079 GB, free: 13.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005634/0.4258, allocations: 0 / 0.5079 GB, free: 13.16 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.03474/0.4605, allocations: 10.86 MB / 0.5185 GB, free: 2.215 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.311e-05/0.4606, allocations: 11.98 kB / 0.5185 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004346/0.4649, allocations: 1.193 MB / 0.5197 GB, free: 1 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6892/1.154, allocations: 24.34 MB / 0.5435 GB, free: 95.17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01912/1.173, allocations: 9.239 MB / 0.5525 GB, free: 89.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003602/1.174, allocations: 455.7 kB / 0.5529 GB, free: 88.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002372/1.176, allocations: 0.6094 MB / 0.5535 GB, free: 88.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02612/1.202, allocations: 17.05 MB / 0.5702 GB, free: 70.1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002682/1.202, allocations: 99.34 kB / 0.5703 GB, free: 70 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008836/1.203, allocations: 275.9 kB / 0.5705 GB, free: 69.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00341/1.207, allocations: 2.859 MB / 0.5733 GB, free: 66.94 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02247/1.229, allocations: 13.23 MB / 0.5863 GB, free: 53.72 MB / 446.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.07277/1.302, allocations: 63.16 MB / 0.6479 GB, free: 5.473 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02093/1.323, allocations: 7.187 MB / 0.6549 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005933/1.329, allocations: 4.051 MB / 0.6589 GB, free: 10.19 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02157/1.35, allocations: 10.48 MB / 0.6691 GB, free: 15.83 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.266e-05/1.35, allocations: 72.5 kB / 0.6692 GB, free: 15.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=293): time 6.582e-06/1.35, allocations: 0 / 0.6692 GB, free: 15.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=359): time 0.2187/1.569, allocations: 50.23 MB / 0.7183 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003758/1.57, allocations: 402.2 kB / 0.7186 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02198/1.592, allocations: 7.579 MB / 0.726 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00109/1.593, allocations: 85.7 kB / 0.7261 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.008452/1.601, allocations: 5.531 MB / 0.7315 GB, free: 60 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.003004/1.604, allocations: 1.368 MB / 0.7329 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00612/1.61, allocations: 1.707 MB / 0.7345 GB, free: 12.95 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001847/1.61, allocations: 305.1 kB / 0.7348 GB, free: 12.65 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01197/1.622, allocations: 4.124 MB / 0.7388 GB, free: 8.52 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2417/1.864, allocations: 9.082 MB / 0.7477 GB, free: 181.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01542/1.88, allocations: 13.95 MB / 0.7613 GB, free: 172.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000244/1.88, allocations: 46.03 kB / 0.7614 GB, free: 172.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=1106) (initialization): time 0.03531/1.915, allocations: 17.83 MB / 0.7788 GB, free: 167 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001281/1.915, allocations: 74.5 kB / 0.7789 GB, free: 167 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001865/1.915, allocations: 164 kB / 0.779 GB, free: 167 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01696/1.932, allocations: 6.041 MB / 0.7849 GB, free: 164.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00561/1.938, allocations: 1.824 MB / 0.7867 GB, free: 162.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03595/1.974, allocations: 32.28 MB / 0.8182 GB, free: 130.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007201/1.981, allocations: 0.5401 MB / 0.8188 GB, free: 130.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001219/1.982, allocations: 484 kB / 0.8192 GB, free: 129.6 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 743 * Number of states: 0 () * Number of discrete variables: 72 (rod3.color[3],rod3.color[2],rod3.color[1],rod1.color[3],rod1.color[2],rod1.color[1],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 (967): * Single equations (assignments): 961 * 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 {(7,97,55.1%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.004851/1.987, allocations: 3.589 MB / 0.8227 GB, free: 126.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001262/1.988, allocations: 0.7115 MB / 0.8234 GB, free: 125.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02178/2.01, allocations: 12.01 MB / 0.8351 GB, free: 113.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.18e-05/2.01, allocations: 40 kB / 0.8352 GB, free: 113.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.472e-05/2.01, allocations: 16 kB / 0.8352 GB, free: 113.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.822e-05/2.01, allocations: 19.94 kB / 0.8352 GB, free: 113.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03911/2.049, allocations: 24.76 MB / 0.8594 GB, free: 88.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.602e-05/2.049, allocations: 4 kB / 0.8594 GB, free: 88.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002092/2.052, allocations: 471.3 kB / 0.8598 GB, free: 88.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01528/2.067, allocations: 5.691 MB / 0.8654 GB, free: 82.47 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006052/2.067, allocations: 68 kB / 0.8655 GB, free: 82.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03374/2.101, allocations: 31.1 MB / 0.8958 GB, free: 51.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.286e-06/2.101, allocations: 12 kB / 0.8959 GB, free: 51.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0285/2.13, allocations: 17.36 MB / 0.9128 GB, free: 33.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001859/2.132, allocations: 0.6595 MB / 0.9134 GB, free: 33.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001665/2.133, allocations: 67.98 kB / 0.9135 GB, free: 33.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003962/2.137, allocations: 279.7 kB / 0.9138 GB, free: 32.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009413/2.138, allocations: 270.6 kB / 0.914 GB, free: 32.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003947/2.139, allocations: 91.67 kB / 0.9141 GB, free: 32.38 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006798/2.145, allocations: 4.71 MB / 0.9187 GB, free: 27.71 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/2.145, allocations: 0 / 0.9187 GB, free: 27.71 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007733/2.153, allocations: 2.034 MB / 0.9207 GB, free: 25.68 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (231): * Single equations (assignments): 225 * 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 {(7,90,55.1%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02861/2.182, allocations: 18.08 MB / 0.9384 GB, free: 7.438 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01758/2.199, allocations: 10.5 MB / 0.9486 GB, free: 12.89 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.365e-05/2.199, allocations: 8 kB / 0.9486 GB, free: 12.89 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.2266/2.426, allocations: 4.601 MB / 0.9531 GB, free: 199.6 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006245/2.432, allocations: 1.1 MB / 0.9542 GB, free: 199.5 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1417/2.574, allocations: 95.08 MB / 1.047 GB, free: 116.3 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007754/2.582, allocations: 5.269 MB / 1.052 GB, free: 111.1 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006645/2.588, allocations: 2.713 MB / 1.055 GB, free: 108.4 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006009/2.594, allocations: 3.885 MB / 1.059 GB, free: 104.5 MB / 0.5607 GB Notification: Performance of SimCode: time 1.252e-06/2.594, allocations: 0 / 1.059 GB, free: 104.5 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4584/3.053, allocations: 169.2 MB / 1.224 GB, free: 142.9 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.43/28.48, allocations: 8.734 kB / 1.224 GB, free: 142.9 MB / 0.5607 GB " [Timeout remaining time 631] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_res.csv --start-time 0 --stop-time 0.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 9.94431e-05 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b/Engine1b.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 31.333393957000226]