Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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_analytic,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_analytic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_analytic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001369/0.001369, allocations: 103.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001616/0.001616, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.196/1.196, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001063/0.001063, allocations: 57.44 kB / 307.1 MB, free: 0.5234 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08561/0.08669, allocations: 50.53 MB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.1559/0.2427, allocations: 23.3 MB / 380.9 MB, free: 8.457 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01066/0.2534, allocations: 7.078 MB / 388 MB, free: 4.352 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00181/0.2552, allocations: 176.2 kB / 388.1 MB, free: 4.316 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01037/0.2656, allocations: 7.91 MB / 396 MB, free: 380 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006365/0.272, allocations: 3.539 MB / 399.6 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003304/0.2753, allocations: 2.004 MB / 401.6 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01331/0.2886, allocations: 13.57 MB / 415.2 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008805/0.2974, allocations: 10.47 MB / 425.6 MB, free: 7.246 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004224/0.3017, allocations: 4.238 MB / 429.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005366/0.3071, allocations: 5.691 MB / 435.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001265/0.3083, allocations: 1 MB / 436.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003323/0.3117, allocations: 2.139 MB / 438.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00527/0.3169, allocations: 4.992 MB / 443.7 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008704/0.3257, allocations: 5.69 MB / 449.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01793/0.3436, allocations: 17.58 MB / 467 MB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.3437, allocations: 0 / 467 MB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3437, allocations: 0 / 467 MB, free: 13.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004153/0.3441, allocations: 0 / 467 MB, free: 13.79 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2752 * Number of variables: 2752 Notification: Performance of Generate backend data structure: time 0.02945/0.3735, allocations: 11.85 MB / 478.8 MB, free: 1.836 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3736, allocations: 8.031 kB / 478.8 MB, free: 1.828 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002726/0.3763, allocations: 1.337 MB / 480.2 MB, free: 492 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2799/0.6562, allocations: 24.51 MB / 0.4928 GB, free: 7.926 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01968/0.676, allocations: 9.974 MB / 0.5026 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004166/0.6764, allocations: 0.5218 MB / 0.5031 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002313/0.6787, allocations: 0.7337 MB / 0.5038 GB, free: 12.6 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03481/0.7135, allocations: 19.12 MB / 0.5225 GB, free: 8.441 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003268/0.7139, allocations: 99.09 kB / 0.5226 GB, free: 8.344 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001643/0.7155, allocations: 331.8 kB / 0.5229 GB, free: 8.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003857/0.7194, allocations: 2.817 MB / 0.5256 GB, free: 5.199 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2845/1.004, allocations: 15.47 MB / 0.5407 GB, free: 129.5 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.07028/1.074, allocations: 72.5 MB / 0.6115 GB, free: 70.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01867/1.093, allocations: 8.027 MB / 0.6194 GB, free: 62.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004244/1.097, allocations: 4.252 MB / 0.6235 GB, free: 58.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02222/1.119, allocations: 14.25 MB / 0.6374 GB, free: 43.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.38e-05/1.12, allocations: 76.52 kB / 0.6375 GB, free: 43.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=309): time 7.153e-06/1.12, allocations: 0 / 0.6375 GB, free: 43.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=416): time 0.1641/1.284, allocations: 50.63 MB / 0.687 GB, free: 8.898 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001768/1.284, allocations: 406.7 kB / 0.6874 GB, free: 8.414 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01295/1.297, allocations: 7.587 MB / 0.6948 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007321/1.298, allocations: 89.7 kB / 0.6948 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004118/1.302, allocations: 5.79 MB / 0.7005 GB, free: 10.87 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001739/1.304, allocations: 1.503 MB / 0.702 GB, free: 9.348 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003633/1.307, allocations: 1.841 MB / 0.7038 GB, free: 7.492 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.174e-05/1.307, allocations: 301.1 kB / 0.7041 GB, free: 7.195 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0063/1.314, allocations: 4.465 MB / 0.7084 GB, free: 2.723 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1457/1.459, allocations: 9.411 MB / 0.7176 GB, free: 146.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01375/1.473, allocations: 14.91 MB / 0.7322 GB, free: 136.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000159/1.473, allocations: 48.88 kB / 0.7322 GB, free: 136.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=1204) (initialization): time 0.03041/1.504, allocations: 18.11 MB / 0.7499 GB, free: 130.1 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.809e-05/1.504, allocations: 80.97 kB / 0.75 GB, free: 130.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001341/1.504, allocations: 169.6 kB / 0.7501 GB, free: 130.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01344/1.517, allocations: 5.215 MB / 0.7552 GB, free: 129 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00526/1.523, allocations: 1.946 MB / 0.7571 GB, free: 128.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03198/1.555, allocations: 30.23 MB / 0.7867 GB, free: 103.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006683/1.561, allocations: 0.5391 MB / 0.7872 GB, free: 102.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009998/1.562, allocations: 0.5116 MB / 0.7877 GB, free: 102.3 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 774 * Number of states: 0 () * Number of discrete variables: 73 (jointRRP.jointUSP.prismatic.positiveBranch,jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.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 (1047): * Single equations (assignments): 1042 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,129,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004719/1.567, allocations: 4.085 MB / 0.7917 GB, free: 98.33 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/1.568, allocations: 0.7173 MB / 0.7924 GB, free: 97.99 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01951/1.588, allocations: 11.91 MB / 0.804 GB, free: 86.02 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.171e-05/1.588, allocations: 40 kB / 0.804 GB, free: 85.98 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.177e-05/1.588, allocations: 24 kB / 0.8041 GB, free: 85.96 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.363e-05/1.588, allocations: 23.92 kB / 0.8041 GB, free: 85.94 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03666/1.625, allocations: 25.69 MB / 0.8292 GB, free: 60.17 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.157e-05/1.625, allocations: 8 kB / 0.8292 GB, free: 60.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002449/1.627, allocations: 0.585 MB / 0.8298 GB, free: 59.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01345/1.641, allocations: 4.829 MB / 0.8345 GB, free: 54.74 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005212/1.641, allocations: 83.58 kB / 0.8346 GB, free: 54.66 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03143/1.673, allocations: 26.92 MB / 0.8608 GB, free: 27.76 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.876e-06/1.673, allocations: 19.94 kB / 0.8609 GB, free: 27.74 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0259/1.698, allocations: 17.8 MB / 0.8782 GB, free: 9.895 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001719/1.7, allocations: 0.7296 MB / 0.879 GB, free: 9.145 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001505/1.702, allocations: 79.94 kB / 0.879 GB, free: 9.066 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003388/1.705, allocations: 271.6 kB / 0.8793 GB, free: 8.801 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008224/1.706, allocations: 287.2 kB / 0.8796 GB, free: 8.52 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000265/1.706, allocations: 115 kB / 0.8797 GB, free: 8.41 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.1624/1.869, allocations: 4.885 MB / 0.8844 GB, free: 139.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.092e-06/1.869, allocations: 0 / 0.8844 GB, free: 139.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01006/1.879, allocations: 2.205 MB / 0.8866 GB, free: 139.7 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (287): * Single equations (assignments): 283 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,113,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03039/1.909, allocations: 18.56 MB / 0.9047 GB, free: 134.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.02487/1.934, allocations: 15.89 MB / 0.9202 GB, free: 129.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/1.934, allocations: 3.781 kB / 0.9202 GB, free: 129.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005512/1.94, allocations: 4.818 MB / 0.925 GB, free: 127.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005156/1.945, allocations: 1.173 MB / 0.9261 GB, free: 126.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1363/2.081, allocations: 126.3 MB / 1.049 GB, free: 8.359 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01078/2.092, allocations: 6.374 MB / 1.056 GB, free: 1.949 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.1795/2.272, allocations: 2.916 MB / 1.059 GB, free: 152.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005674/2.277, allocations: 4.354 MB / 1.063 GB, free: 152.2 MB / 494.1 MB Notification: Performance of SimCode: time 1.603e-06/2.277, allocations: 0 / 1.063 GB, free: 152.2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.204/5.481, allocations: 183.5 MB / 1.242 GB, free: 124.8 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.93/20.41, allocations: 5.938 kB / 1.242 GB, free: 124.8 MB / 494.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_analytic_fmu --startTime=0 --stopTime=0.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1b_analytic.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Engine1b_analytic/Engine1b_analytic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches