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.001364/0.001364, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001444/0.001444, allocations: 207.5 kB / 23.72 MB, free: 4.391 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.438/1.438, allocations: 230.5 MB / 257.4 MB, free: 7.734 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.Engine1a,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 67.89 kB / 377.8 MB, free: 2.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2629, allocations: 53.4 MB / 431.2 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02064/0.2835, allocations: 16.73 MB / 447.9 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01399/0.2975, allocations: 5.798 MB / 453.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003546/0.3011, allocations: 194.9 kB / 453.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01098/0.3121, allocations: 5.681 MB / 459.6 MB, free: 9.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00959/0.3216, allocations: 3.416 MB / 463 MB, free: 6.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005071/0.3267, allocations: 1.58 MB / 464.6 MB, free: 4.918 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02443/0.3512, allocations: 12.69 MB / 477.2 MB, free: 8.211 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01122/0.3624, allocations: 5.919 MB / 483.2 MB, free: 2.203 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0103/0.3727, allocations: 3.638 MB / 486.8 MB, free: 14.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01117/0.3839, allocations: 4.833 MB / 491.6 MB, free: 9.707 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002979/0.3868, allocations: 0.7148 MB / 492.3 MB, free: 8.992 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006018/0.3928, allocations: 1.565 MB / 493.9 MB, free: 7.426 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008192/0.401, allocations: 4.355 MB / 498.3 MB, free: 3.059 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009329/0.4104, allocations: 3.676 MB / 0.4902 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02618/0.4365, allocations: 14.43 MB / 0.5043 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.819e-06/0.4366, allocations: 0 / 0.5043 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.4366, allocations: 0 / 0.5043 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005979/0.4372, allocations: 0 / 0.5043 GB, free: 0.8789 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.04482/0.482, allocations: 10.49 MB / 0.5145 GB, free: 6.297 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.456e-05/0.482, allocations: 11.98 kB / 0.5145 GB, free: 6.285 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004441/0.4865, allocations: 1.144 MB / 0.5156 GB, free: 5.129 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7304/1.217, allocations: 24.3 MB / 0.5394 GB, free: 95.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01923/1.236, allocations: 9.06 MB / 0.5482 GB, free: 92.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002982/1.236, allocations: 428.9 kB / 0.5486 GB, free: 92.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002045/1.238, allocations: 0.5887 MB / 0.5492 GB, free: 92.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02473/1.263, allocations: 16.43 MB / 0.5652 GB, free: 75.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002479/1.263, allocations: 95.3 kB / 0.5653 GB, free: 75.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006726/1.264, allocations: 270.2 kB / 0.5656 GB, free: 75.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003305/1.267, allocations: 2.763 MB / 0.5683 GB, free: 72.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02117/1.289, allocations: 12.83 MB / 0.5808 GB, free: 59.65 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.06574/1.354, allocations: 61.35 MB / 0.6407 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0199/1.374, allocations: 6.904 MB / 0.6475 GB, free: 6.328 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00554/1.38, allocations: 3.941 MB / 0.6513 GB, free: 2.387 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02195/1.402, allocations: 10.15 MB / 0.6612 GB, free: 8.355 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.974e-05/1.402, allocations: 68.5 kB / 0.6613 GB, free: 8.281 MB / 478.1 MB Notification: Performance of pre-optimization done (n=280): time 6.362e-06/1.402, allocations: 0 / 0.6613 GB, free: 8.281 MB / 478.1 MB Notification: Performance of matching and sorting (n=339): time 0.1794/1.581, allocations: 47.78 MB / 0.708 GB, free: 8.832 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002581/1.581, allocations: 406 kB / 0.7083 GB, free: 8.348 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01196/1.593, allocations: 7.422 MB / 0.7156 GB, free: 0.9531 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0007353/1.594, allocations: 77.7 kB / 0.7157 GB, free: 0.8711 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.004523/1.599, allocations: 5.351 MB / 0.7209 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001768/1.6, allocations: 1.302 MB / 0.7222 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002641/1.603, allocations: 1.651 MB / 0.7238 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.603, allocations: 301.1 kB / 0.7241 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006234/1.609, allocations: 3.959 MB / 0.7279 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01099/1.62, allocations: 8.817 MB / 0.7365 GB, free: 9.082 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2193/1.84, allocations: 13.48 MB / 0.7497 GB, free: 178.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001425/1.84, allocations: 45.25 kB / 0.7497 GB, free: 178.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=1070) (initialization): time 0.03217/1.872, allocations: 17.14 MB / 0.7665 GB, free: 174.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/1.872, allocations: 74.44 kB / 0.7666 GB, free: 174.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001786/1.872, allocations: 162.5 kB / 0.7667 GB, free: 174.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0161/1.888, allocations: 5.761 MB / 0.7723 GB, free: 173 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005217/1.894, allocations: 1.75 MB / 0.774 GB, free: 172.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03406/1.928, allocations: 31.07 MB / 0.8044 GB, free: 143.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00798/1.936, allocations: 0.5191 MB / 0.8049 GB, free: 143 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001705/1.937, allocations: 480 kB / 0.8054 GB, free: 142.6 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 727 * 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 (934): * Single equations (assignments): 928 * 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%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.007084/1.944, allocations: 3.461 MB / 0.8087 GB, free: 139.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001719/1.946, allocations: 0.6891 MB / 0.8094 GB, free: 138.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03012/1.976, allocations: 11.4 MB / 0.8205 GB, free: 127.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.174e-05/1.976, allocations: 36 kB / 0.8206 GB, free: 127.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.093e-05/1.976, allocations: 20 kB / 0.8206 GB, free: 127.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-05/1.976, allocations: 15.95 kB / 0.8206 GB, free: 127.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03902/2.015, allocations: 23.57 MB / 0.8436 GB, free: 103.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-05/2.015, allocations: 11.98 kB / 0.8436 GB, free: 103.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001905/2.017, allocations: 415.6 kB / 0.844 GB, free: 103.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01477/2.032, allocations: 5.378 MB / 0.8493 GB, free: 97.71 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006699/2.033, allocations: 60 kB / 0.8493 GB, free: 97.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03221/2.065, allocations: 29.76 MB / 0.8784 GB, free: 67.76 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/2.065, allocations: 11.94 kB / 0.8784 GB, free: 67.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02668/2.092, allocations: 16.45 MB / 0.8945 GB, free: 51.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001909/2.094, allocations: 0.6424 MB / 0.8951 GB, free: 50.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001501/2.095, allocations: 63.98 kB / 0.8952 GB, free: 50.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003676/2.099, allocations: 263.7 kB / 0.8954 GB, free: 50.25 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001089/2.1, allocations: 250.5 kB / 0.8957 GB, free: 50.01 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004538/2.1, allocations: 92.27 kB / 0.8958 GB, free: 49.92 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01074/2.111, allocations: 4.612 MB / 0.9003 GB, free: 45.34 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.21e-07/2.111, allocations: 0 / 0.9003 GB, free: 45.34 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01298/2.124, allocations: 1.963 MB / 0.9022 GB, free: 43.39 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (214): * Single equations (assignments): 208 * 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,87,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.04584/2.17, allocations: 17.15 MB / 0.9189 GB, free: 26.04 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02415/2.194, allocations: 10.1 MB / 0.9288 GB, free: 15.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.545e-05/2.194, allocations: 0 / 0.9288 GB, free: 15.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01178/2.206, allocations: 4.366 MB / 0.933 GB, free: 11.49 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008958/2.215, allocations: 1.082 MB / 0.9341 GB, free: 10.41 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3799/2.595, allocations: 91.6 MB / 1.024 GB, free: 137.5 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006067/2.601, allocations: 5.06 MB / 1.028 GB, free: 132.5 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005529/2.606, allocations: 2.622 MB / 1.031 GB, free: 130 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004256/2.611, allocations: 3.736 MB / 1.035 GB, free: 126.3 MB / 0.5607 GB Notification: Performance of SimCode: time 1.653e-06/2.611, allocations: 0 / 1.035 GB, free: 126.3 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4582/3.069, allocations: 162 MB / 1.193 GB, free: 175.9 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.04/28.11, allocations: 2.188 kB / 1.193 GB, free: 175.9 MB / 0.5607 GB " [Timeout remaining time 632] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1a/Engine1a.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.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: 30.855011011008173]