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.001539/0.001539, 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.001684/0.001684, allocations: 216 kB / 23.73 MB, free: 4.164 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.633/1.633, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.002081/0.002081, allocations: 59.91 kB / 377.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2958, allocations: 53.42 MB / 431.2 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02055/0.3163, allocations: 16.71 MB / 447.9 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01641/0.3327, allocations: 5.809 MB / 453.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004488/0.3372, allocations: 194.9 kB / 453.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01276/0.35, allocations: 5.67 MB / 459.5 MB, free: 9.961 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01164/0.3616, allocations: 3.435 MB / 463 MB, free: 6.516 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004089/0.3657, allocations: 1.564 MB / 464.5 MB, free: 4.949 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01862/0.3843, allocations: 12.71 MB / 477.3 MB, free: 8.215 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01174/0.396, allocations: 5.915 MB / 483.2 MB, free: 2.211 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007639/0.4037, allocations: 3.622 MB / 486.8 MB, free: 14.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00862/0.4123, allocations: 4.84 MB / 491.6 MB, free: 9.723 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003175/0.4155, allocations: 0.7109 MB / 492.3 MB, free: 9.012 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005414/0.4209, allocations: 1.569 MB / 493.9 MB, free: 7.441 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007959/0.4288, allocations: 4.352 MB / 498.3 MB, free: 3.078 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01169/0.4405, allocations: 3.676 MB / 0.4902 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02341/0.464, allocations: 14.43 MB / 0.5043 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.464, allocations: 0 / 0.5043 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.464, allocations: 0 / 0.5043 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005658/0.4645, allocations: 0 / 0.5043 GB, free: 0.8945 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.03852/0.5031, allocations: 10.49 MB / 0.5145 GB, free: 6.312 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.715e-05/0.5031, allocations: 11.98 kB / 0.5145 GB, free: 6.301 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005616/0.5088, allocations: 1.14 MB / 0.5156 GB, free: 5.148 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6997/1.208, allocations: 24.3 MB / 0.5394 GB, free: 95.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02171/1.23, allocations: 9.059 MB / 0.5482 GB, free: 92.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003587/1.231, allocations: 428.8 kB / 0.5486 GB, free: 92.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002422/1.233, allocations: 0.5873 MB / 0.5492 GB, free: 92.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.025/1.258, allocations: 16.42 MB / 0.5652 GB, free: 75.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002583/1.258, allocations: 107.2 kB / 0.5653 GB, free: 75.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008588/1.259, allocations: 266 kB / 0.5656 GB, free: 75.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003361/1.262, allocations: 2.763 MB / 0.5683 GB, free: 72.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02435/1.287, allocations: 12.83 MB / 0.5808 GB, free: 59.7 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.07356/1.36, allocations: 61.34 MB / 0.6407 GB, free: 13.29 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02079/1.381, allocations: 6.908 MB / 0.6475 GB, free: 6.379 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006251/1.387, allocations: 3.935 MB / 0.6513 GB, free: 2.441 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02194/1.409, allocations: 10.15 MB / 0.6612 GB, free: 8.41 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.156e-05/1.409, allocations: 64.5 kB / 0.6613 GB, free: 8.34 MB / 478.1 MB Notification: Performance of pre-optimization done (n=280): time 6.412e-06/1.409, allocations: 0 / 0.6613 GB, free: 8.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=339): time 0.1802/1.59, allocations: 47.79 MB / 0.708 GB, free: 8.879 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002457/1.59, allocations: 402.1 kB / 0.7083 GB, free: 8.398 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0111/1.601, allocations: 7.43 MB / 0.7156 GB, free: 0.9961 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0008448/1.602, allocations: 81.7 kB / 0.7157 GB, free: 0.9102 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.004311/1.606, allocations: 5.343 MB / 0.7209 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001766/1.608, allocations: 1.294 MB / 0.7222 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002607/1.61, allocations: 1.659 MB / 0.7238 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001569/1.611, allocations: 301.1 kB / 0.7241 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006301/1.617, allocations: 3.963 MB / 0.7279 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01197/1.629, allocations: 8.817 MB / 0.7365 GB, free: 9.121 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2868/1.916, allocations: 13.48 MB / 0.7497 GB, free: 178.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001345/1.916, allocations: 46.34 kB / 0.7498 GB, free: 178.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=1070) (initialization): time 0.03264/1.949, allocations: 17.14 MB / 0.7665 GB, free: 174.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.396e-05/1.949, allocations: 77.94 kB / 0.7666 GB, free: 174.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001526/1.949, allocations: 158.3 kB / 0.7667 GB, free: 174.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01587/1.965, allocations: 5.76 MB / 0.7723 GB, free: 173.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005207/1.97, allocations: 1.751 MB / 0.7741 GB, free: 172.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03635/2.006, allocations: 31.07 MB / 0.8044 GB, free: 143.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006972/2.013, allocations: 0.5193 MB / 0.8049 GB, free: 143.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001226/2.014, allocations: 475.8 kB / 0.8054 GB, free: 142.7 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.004654/2.019, allocations: 3.456 MB / 0.8087 GB, free: 139.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001128/2.02, allocations: 0.687 MB / 0.8094 GB, free: 139 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02137/2.042, allocations: 11.41 MB / 0.8205 GB, free: 127.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.427e-05/2.042, allocations: 36 kB / 0.8206 GB, free: 127.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.5e-05/2.042, allocations: 16 kB / 0.8206 GB, free: 127.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.091e-05/2.042, allocations: 23.94 kB / 0.8206 GB, free: 127.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04033/2.082, allocations: 23.59 MB / 0.8436 GB, free: 103.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-05/2.082, allocations: 8 kB / 0.8437 GB, free: 103.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001906/2.084, allocations: 415.3 kB / 0.844 GB, free: 103.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01545/2.099, allocations: 5.369 MB / 0.8493 GB, free: 97.78 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006494/2.1, allocations: 60 kB / 0.8493 GB, free: 97.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03359/2.134, allocations: 29.76 MB / 0.8784 GB, free: 67.83 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/2.134, allocations: 11.94 kB / 0.8784 GB, free: 67.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02716/2.161, allocations: 16.46 MB / 0.8945 GB, free: 51.28 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001812/2.163, allocations: 0.6385 MB / 0.8951 GB, free: 50.64 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001184/2.164, allocations: 67.81 kB / 0.8952 GB, free: 50.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0034/2.167, allocations: 263.7 kB / 0.8954 GB, free: 50.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008172/2.168, allocations: 254.4 kB / 0.8957 GB, free: 50.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002579/2.168, allocations: 91.98 kB / 0.8958 GB, free: 49.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00631/2.175, allocations: 4.612 MB / 0.9003 GB, free: 45.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.71e-07/2.175, allocations: 0 / 0.9003 GB, free: 45.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007933/2.183, allocations: 1.956 MB / 0.9022 GB, free: 43.45 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.02748/2.21, allocations: 17.15 MB / 0.9189 GB, free: 26.11 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01513/2.225, allocations: 10.09 MB / 0.9288 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/2.225, allocations: 4 kB / 0.9288 GB, free: 15.97 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007189/2.232, allocations: 4.369 MB / 0.933 GB, free: 11.56 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005935/2.238, allocations: 1.08 MB / 0.9341 GB, free: 10.49 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3839/2.622, allocations: 91.59 MB / 1.024 GB, free: 137.7 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007059/2.629, allocations: 5.06 MB / 1.028 GB, free: 132.6 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.007592/2.637, allocations: 2.623 MB / 1.031 GB, free: 130.1 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007056/2.644, allocations: 3.74 MB / 1.035 GB, free: 126.4 MB / 0.5607 GB Notification: Performance of SimCode: time 2.004e-06/2.644, allocations: 1.094 kB / 1.035 GB, free: 126.4 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5209/3.165, allocations: 162 MB / 1.193 GB, free: 176 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.94/28.1, allocations: 8.906 kB / 1.193 GB, free: 176 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 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.mat","/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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 32.875927147921175]