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.001224/0.001224, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001342/0.001342, allocations: 211 kB / 24.51 MB, free: 3.922 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.36/1.36, allocations: 230.5 MB / 258.2 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 67.89 kB / 378.5 MB, free: 2.789 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2304, allocations: 53.41 MB / 431.9 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.02598/0.2564, allocations: 16.63 MB / 448.6 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01394/0.2703, allocations: 5.79 MB / 454.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003985/0.2743, allocations: 190.9 kB / 454.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01173/0.286, allocations: 5.666 MB / 460.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008414/0.2944, allocations: 3.423 MB / 463.6 MB, free: 6.621 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003417/0.2979, allocations: 1.584 MB / 465.2 MB, free: 5.035 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01705/0.3149, allocations: 12.69 MB / 477.9 MB, free: 8.324 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00859/0.3235, allocations: 5.947 MB / 483.8 MB, free: 2.289 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006102/0.3296, allocations: 3.626 MB / 487.5 MB, free: 14.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007583/0.3372, allocations: 5.122 MB / 492.6 MB, free: 9.516 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002194/0.3394, allocations: 0.7148 MB / 493.3 MB, free: 8.801 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004318/0.3437, allocations: 1.577 MB / 494.9 MB, free: 7.223 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005822/0.3495, allocations: 4.359 MB / 499.2 MB, free: 2.852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007016/0.3565, allocations: 3.684 MB / 0.4911 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01765/0.3742, allocations: 14.43 MB / 0.5052 GB, free: 0.668 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.3742, allocations: 4 kB / 0.5052 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3742, allocations: 3.938 kB / 0.5052 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003558/0.3745, allocations: 0 / 0.5052 GB, free: 0.6602 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.02821/0.4027, allocations: 10.48 MB / 0.5155 GB, free: 6.086 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.4028, allocations: 8.031 kB / 0.5155 GB, free: 6.078 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002196/0.403, allocations: 179.4 kB / 0.5157 GB, free: 5.902 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00288/0.4059, allocations: 1.144 MB / 0.5168 GB, free: 4.746 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6226/1.028, allocations: 24.29 MB / 0.5405 GB, free: 94.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01716/1.046, allocations: 9.069 MB / 0.5493 GB, free: 92.42 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002358/1.046, allocations: 425.5 kB / 0.5498 GB, free: 92.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001535/1.047, allocations: 0.5864 MB / 0.5503 GB, free: 91.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02088/1.068, allocations: 16.43 MB / 0.5664 GB, free: 75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002065/1.069, allocations: 100.7 kB / 0.5665 GB, free: 74.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000576/1.069, allocations: 273.3 kB / 0.5667 GB, free: 74.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003265/1.072, allocations: 2.76 MB / 0.5694 GB, free: 71.94 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02083/1.093, allocations: 12.86 MB / 0.582 GB, free: 59.08 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.06333/1.157, allocations: 61.35 MB / 0.6419 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0199/1.176, allocations: 6.91 MB / 0.6486 GB, free: 5.758 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005772/1.182, allocations: 3.931 MB / 0.6525 GB, free: 1.824 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01901/1.201, allocations: 10.15 MB / 0.6624 GB, free: 7.789 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.504e-05/1.201, allocations: 68.53 kB / 0.6625 GB, free: 7.719 MB / 478.1 MB Notification: Performance of pre-optimization done (n=280): time 7.414e-06/1.201, allocations: 0 / 0.6625 GB, free: 7.719 MB / 478.1 MB Notification: Performance of matching and sorting (n=339): time 0.1788/1.38, allocations: 47.79 MB / 0.7091 GB, free: 8.25 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002452/1.38, allocations: 402 kB / 0.7095 GB, free: 7.77 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01095/1.391, allocations: 7.159 MB / 0.7165 GB, free: 0.6406 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0007969/1.392, allocations: 77.7 kB / 0.7166 GB, free: 0.5586 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.004546/1.397, allocations: 5.347 MB / 0.7218 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001747/1.398, allocations: 1.298 MB / 0.7231 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002671/1.401, allocations: 1.655 MB / 0.7247 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.401, allocations: 309.1 kB / 0.725 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00594/1.407, allocations: 3.959 MB / 0.7288 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01042/1.417, allocations: 8.813 MB / 0.7375 GB, free: 8.766 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2104/1.628, allocations: 13.48 MB / 0.7506 GB, free: 179.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000125/1.628, allocations: 49.97 kB / 0.7507 GB, free: 179.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=1070) (initialization): time 0.02889/1.657, allocations: 17.13 MB / 0.7674 GB, free: 174.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.936e-05/1.657, allocations: 75.62 kB / 0.7675 GB, free: 174.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000169/1.657, allocations: 160.6 kB / 0.7676 GB, free: 174.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01511/1.672, allocations: 5.756 MB / 0.7732 GB, free: 173.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004861/1.677, allocations: 1.756 MB / 0.775 GB, free: 173.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0324/1.71, allocations: 31.07 MB / 0.8053 GB, free: 143.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006393/1.716, allocations: 0.5222 MB / 0.8058 GB, free: 143.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008855/1.717, allocations: 471.3 kB / 0.8063 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.004319/1.721, allocations: 3.47 MB / 0.8097 GB, free: 139.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001207/1.722, allocations: 0.684 MB / 0.8103 GB, free: 138.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01998/1.742, allocations: 11.4 MB / 0.8215 GB, free: 127.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-05/1.742, allocations: 32 kB / 0.8215 GB, free: 127.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.159e-05/1.742, allocations: 20 kB / 0.8215 GB, free: 127.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.611e-05/1.742, allocations: 15.94 kB / 0.8215 GB, free: 127.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03516/1.778, allocations: 23.59 MB / 0.8446 GB, free: 103.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.689e-05/1.778, allocations: 8 kB / 0.8446 GB, free: 103.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001667/1.779, allocations: 415.3 kB / 0.845 GB, free: 103.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01445/1.794, allocations: 5.368 MB / 0.8502 GB, free: 97.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000484/1.794, allocations: 64 kB / 0.8503 GB, free: 97.67 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03066/1.825, allocations: 29.77 MB / 0.8793 GB, free: 67.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.825, allocations: 15.94 kB / 0.8794 GB, free: 67.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02436/1.849, allocations: 16.44 MB / 0.8954 GB, free: 51.12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001657/1.851, allocations: 0.6429 MB / 0.896 GB, free: 50.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001037/1.852, allocations: 66.06 kB / 0.8961 GB, free: 50.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002935/1.855, allocations: 259.6 kB / 0.8963 GB, free: 50.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007461/1.856, allocations: 250.5 kB / 0.8966 GB, free: 49.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000259/1.856, allocations: 96.05 kB / 0.8967 GB, free: 49.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005799/1.862, allocations: 4.612 MB / 0.9012 GB, free: 45.24 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/1.862, allocations: 3.938 kB / 0.9012 GB, free: 45.24 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007899/1.87, allocations: 1.955 MB / 0.9031 GB, free: 43.29 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.02545/1.895, allocations: 17.14 MB / 0.9198 GB, free: 25.96 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01431/1.909, allocations: 10.1 MB / 0.9297 GB, free: 15.81 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.251e-05/1.909, allocations: 0 / 0.9297 GB, free: 15.81 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00724/1.917, allocations: 4.374 MB / 0.934 GB, free: 11.39 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006248/1.923, allocations: 1.076 MB / 0.935 GB, free: 10.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.32/2.243, allocations: 91.6 MB / 1.024 GB, free: 137.4 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006034/2.249, allocations: 5.06 MB / 1.029 GB, free: 132.3 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005274/2.254, allocations: 2.621 MB / 1.032 GB, free: 129.8 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003804/2.258, allocations: 3.737 MB / 1.036 GB, free: 126.1 MB / 0.5607 GB Notification: Performance of SimCode: time 1.673e-06/2.258, allocations: 3.781 kB / 1.036 GB, free: 126.1 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4218/2.68, allocations: 161.3 MB / 1.193 GB, free: 176.2 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 39.95/42.63, allocations: 16.5 kB / 1.193 GB, free: 176.2 MB / 0.5607 GB " [Timeout remaining time 617] (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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 48.56179592409171]