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.0009119/0.0009119, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.001096/0.001096, allocations: 156.9 kB / 23.94 MB, free: 0.6172 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.9431/0.9431, allocations: 177 MB / 204.1 MB, free: 5.738 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: "" <> 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 1.853e-06/1.853e-06, allocations: 0 / 324.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.262e-05, allocations: 6.281 kB / 324.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b): time 0.01228/0.01231, allocations: 17.66 MB / 342.2 MB, free: 14.11 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009589/0.0219, allocations: 6.023 MB / 348.2 MB, free: 8.062 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002808/0.0247, allocations: 206.8 kB / 348.4 MB, free: 7.859 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006164/0.03087, allocations: 6.479 MB / 354.9 MB, free: 1.359 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006047/0.03691, allocations: 3.619 MB / 358.5 MB, free: 13.72 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002653/0.03957, allocations: 1.891 MB / 360.4 MB, free: 11.83 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01251/0.05207, allocations: 15.08 MB / 375.5 MB, free: 12.73 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008936/0.06101, allocations: 7.81 MB / 383.3 MB, free: 4.824 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008985/0.06999, allocations: 5.789 MB / 389.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006267/0.07626, allocations: 5.815 MB / 394.9 MB, free: 9.195 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002058/0.07832, allocations: 0.7773 MB / 395.7 MB, free: 8.418 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002964/0.08128, allocations: 1.693 MB / 397.4 MB, free: 6.723 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004356/0.08564, allocations: 4.793 MB / 402.2 MB, free: 1.918 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005551/0.09119, allocations: 3.171 MB / 405.4 MB, free: 14.74 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01265/0.1038, allocations: 15.22 MB / 420.6 MB, free: 15.47 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/0.1038, allocations: 0 / 420.6 MB, free: 15.47 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1038, allocations: 0 / 420.6 MB, free: 15.47 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004255/0.1043, allocations: 4 kB / 420.6 MB, free: 15.47 MB / 394.7 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.02217/0.1264, allocations: 11.18 MB / 431.8 MB, free: 4.203 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.1265, allocations: 15.98 kB / 431.8 MB, free: 4.188 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00218/0.1287, allocations: 1.19 MB / 433 MB, free: 2.988 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3827/0.5114, allocations: 25.55 MB / 458.5 MB, free: 107.6 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01254/0.5239, allocations: 8.238 MB / 466.7 MB, free: 102.3 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001845/0.5241, allocations: 445.9 kB / 467.2 MB, free: 101.9 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001303/0.5254, allocations: 0.6186 MB / 467.8 MB, free: 101.4 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01792/0.5433, allocations: 17.07 MB / 484.9 MB, free: 83.33 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002045/0.5436, allocations: 99.3 kB / 485 MB, free: 83.23 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000475/0.544, allocations: 281.2 kB / 485.2 MB, free: 83.01 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002103/0.5461, allocations: 2.856 MB / 488.1 MB, free: 80.17 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01567/0.5618, allocations: 13.26 MB / 0.4896 GB, free: 66.91 MB / 410.8 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.05401/0.6158, allocations: 64.66 MB / 0.5527 GB, free: 1.363 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01218/0.628, allocations: 7.47 MB / 0.56 GB, free: 9.895 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004002/0.632, allocations: 4.057 MB / 0.564 GB, free: 5.832 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01472/0.6467, allocations: 10.96 MB / 0.5747 GB, free: 10.99 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.6468, allocations: 64.56 kB / 0.5748 GB, free: 10.92 MB / 442.8 MB Notification: Performance of pre-optimization done (n=293): time 5.64e-06/0.6468, allocations: 0 / 0.5748 GB, free: 10.92 MB / 442.8 MB Notification: Performance of matching and sorting (n=359): time 0.2689/0.9157, allocations: 52.38 MB / 0.6259 GB, free: 156.4 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.789e-05/0.9158, allocations: 396.1 kB / 0.6263 GB, free: 155.9 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008863/0.9246, allocations: 8.66 MB / 0.6348 GB, free: 153.2 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007425/0.9254, allocations: 76.55 kB / 0.6348 GB, free: 153.1 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002211/0.9276, allocations: 5.478 MB / 0.6402 GB, free: 149.5 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001402/0.929, allocations: 1.362 MB / 0.6415 GB, free: 148.5 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001583/0.9306, allocations: 1.687 MB / 0.6432 GB, free: 147.7 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 2.791e-05/0.9306, allocations: 308.9 kB / 0.6435 GB, free: 147.4 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00343/0.934, allocations: 4.124 MB / 0.6475 GB, free: 145.9 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00427/0.9383, allocations: 9.088 MB / 0.6564 GB, free: 136.4 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009988/0.9483, allocations: 13.96 MB / 0.67 GB, free: 120.3 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001091/0.9484, allocations: 47.84 kB / 0.67 GB, free: 120.3 MB / 474.8 MB Notification: Performance of matching and sorting (n=1106) (initialization): time 0.02119/0.9696, allocations: 17.83 MB / 0.6874 GB, free: 102.4 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.152e-05/0.9697, allocations: 72 kB / 0.6875 GB, free: 102.3 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001182/0.9698, allocations: 164 kB / 0.6877 GB, free: 102.2 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009107/0.9789, allocations: 6.037 MB / 0.6936 GB, free: 96.12 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003651/0.9825, allocations: 1.829 MB / 0.6953 GB, free: 94.29 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02472/1.007, allocations: 32.33 MB / 0.7269 GB, free: 61.64 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006099/1.013, allocations: 0.6546 MB / 0.7276 GB, free: 60.99 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001006/1.014, allocations: 484 kB / 0.728 GB, free: 60.52 MB / 474.8 MB 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.004512/1.019, allocations: 3.588 MB / 0.7315 GB, free: 56.92 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001694/1.021, allocations: 0.7063 MB / 0.7322 GB, free: 56.21 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0131/1.034, allocations: 12.01 MB / 0.7439 GB, free: 44.12 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.324e-05/1.034, allocations: 43.98 kB / 0.744 GB, free: 44.08 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.719e-05/1.034, allocations: 16 kB / 0.744 GB, free: 44.07 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.834e-05/1.034, allocations: 19.94 kB / 0.744 GB, free: 44.05 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02894/1.063, allocations: 25.03 MB / 0.7685 GB, free: 18.62 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.08e-05/1.063, allocations: 8 kB / 0.7685 GB, free: 18.61 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/1.064, allocations: 463.3 kB / 0.7689 GB, free: 18.16 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008595/1.072, allocations: 5.697 MB / 0.7745 GB, free: 12.45 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003989/1.073, allocations: 75.81 kB / 0.7745 GB, free: 12.38 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1781/1.251, allocations: 31.14 MB / 0.805 GB, free: 152.4 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.251, allocations: 3.969 kB / 0.805 GB, free: 152.4 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01866/1.27, allocations: 17.35 MB / 0.8219 GB, free: 146.3 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002475/1.272, allocations: 0.7856 MB / 0.8227 GB, free: 146.2 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001234/1.273, allocations: 62.66 kB / 0.8227 GB, free: 146.2 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00272/1.276, allocations: 383 kB / 0.8231 GB, free: 146.2 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007337/1.277, allocations: 274.6 kB / 0.8234 GB, free: 146.1 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001982/1.277, allocations: 97.19 kB / 0.8235 GB, free: 146.1 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.005767/1.283, allocations: 5.541 MB / 0.8289 GB, free: 142.4 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.8e-07/1.283, allocations: 0 / 0.8289 GB, free: 142.4 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.007898/1.291, allocations: 2.358 MB / 0.8312 GB, free: 140 MB / 490.8 MB 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.01813/1.309, allocations: 18.07 MB / 0.8488 GB, free: 122.7 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01013/1.319, allocations: 10.5 MB / 0.8591 GB, free: 112.2 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/1.319, allocations: 4 kB / 0.8591 GB, free: 112.2 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00454/1.323, allocations: 4.614 MB / 0.8636 GB, free: 107.6 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005372/1.329, allocations: 1.12 MB / 0.8647 GB, free: 106.5 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1115/1.44, allocations: 98.76 MB / 0.9611 GB, free: 232 kB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006992/1.447, allocations: 5.262 MB / 0.9662 GB, free: 10.93 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.1455/1.593, allocations: 2.752 MB / 0.9689 GB, free: 169.4 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00429/1.597, allocations: 3.919 MB / 0.9728 GB, free: 169.4 MB / 0.4949 GB Notification: Performance of SimCode: time 1.733e-06/1.597, allocations: 0 / 0.9728 GB, free: 169.4 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1545/1.752, allocations: 174.2 MB / 1.143 GB, free: 17.29 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.5/17.26, allocations: 7.891 kB / 1.143 GB, free: 17.29 MB / 0.4949 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_fmu --startTime=0 --stopTime=0.5 --stepSize=9.94431e-05 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b/Engine1b.csv","/var/lib/jenkins/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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 20.396694525144994]