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.001261/0.001261, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001305/0.001305, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 55.91 kB / 358.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2514, allocations: 50.55 MB / 408.9 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.02448/0.2759, allocations: 23.3 MB / 432.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01764/0.2936, allocations: 7.078 MB / 439.2 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005076/0.2987, allocations: 179.4 kB / 439.4 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01476/0.3136, allocations: 7.898 MB / 447.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009259/0.3229, allocations: 3.536 MB / 450.9 MB, free: 7.324 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004645/0.3276, allocations: 2.02 MB / 452.9 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01947/0.347, allocations: 13.56 MB / 466.4 MB, free: 7.719 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01347/0.3606, allocations: 10.44 MB / 476.9 MB, free: 13.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008097/0.3687, allocations: 4.25 MB / 481.1 MB, free: 8.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009396/0.3782, allocations: 5.691 MB / 486.8 MB, free: 3.211 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003365/0.3816, allocations: 1 MB / 487.8 MB, free: 2.211 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005724/0.3873, allocations: 2.131 MB / 490 MB, free: 80 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006824/0.3942, allocations: 4.996 MB / 494.9 MB, free: 11.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01065/0.4049, allocations: 5.694 MB / 0.4889 GB, free: 5.348 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02361/0.4285, allocations: 17.96 MB / 0.5064 GB, free: 3.328 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.327e-06/0.4286, allocations: 8 kB / 0.5064 GB, free: 3.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4286, allocations: 0 / 0.5064 GB, free: 3.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005906/0.4292, allocations: 0 / 0.5064 GB, free: 3.32 MB / 430.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.03828/0.4674, allocations: 12.12 MB / 0.5183 GB, free: 7.078 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/0.4675, allocations: 12.03 kB / 0.5183 GB, free: 7.066 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004709/0.4722, allocations: 1.337 MB / 0.5196 GB, free: 5.719 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7018/1.174, allocations: 24.57 MB / 0.5436 GB, free: 115.2 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0207/1.195, allocations: 10.23 MB / 0.5536 GB, free: 112.2 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004145/1.195, allocations: 0.5186 MB / 0.5541 GB, free: 112.1 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00273/1.198, allocations: 0.7248 MB / 0.5548 GB, free: 111.8 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03438/1.232, allocations: 19.13 MB / 0.5735 GB, free: 93.76 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003549/1.233, allocations: 95.3 kB / 0.5736 GB, free: 93.67 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001925/1.235, allocations: 327.7 kB / 0.5739 GB, free: 93.4 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00347/1.238, allocations: 2.817 MB / 0.5766 GB, free: 90.6 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02788/1.266, allocations: 15.47 MB / 0.5917 GB, free: 75.14 MB / 462.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.07628/1.342, allocations: 72.25 MB / 0.6623 GB, free: 1.223 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02219/1.365, allocations: 8.02 MB / 0.6701 GB, free: 9.051 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006323/1.371, allocations: 4.245 MB / 0.6743 GB, free: 4.785 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02482/1.396, allocations: 14.26 MB / 0.6882 GB, free: 6.109 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.506e-05/1.396, allocations: 72.52 kB / 0.6883 GB, free: 6.027 MB / 494.1 MB Notification: Performance of pre-optimization done (n=309): time 5.961e-06/1.396, allocations: 0 / 0.6883 GB, free: 6.027 MB / 494.1 MB Notification: Performance of matching and sorting (n=416): time 0.1958/1.592, allocations: 51.14 MB / 0.7382 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002438/1.592, allocations: 402.7 kB / 0.7386 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2359/1.828, allocations: 7.588 MB / 0.746 GB, free: 179.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00098/1.829, allocations: 96.58 kB / 0.7461 GB, free: 179.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004195/1.833, allocations: 5.978 MB / 0.7519 GB, free: 176.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00191/1.835, allocations: 1.581 MB / 0.7535 GB, free: 175.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002753/1.838, allocations: 1.852 MB / 0.7553 GB, free: 175 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.345e-05/1.838, allocations: 304.9 kB / 0.7556 GB, free: 174.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005154/1.843, allocations: 4.46 MB / 0.7599 GB, free: 173 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007651/1.851, allocations: 9.414 MB / 0.7691 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01466/1.866, allocations: 14.92 MB / 0.7837 GB, free: 153.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001726/1.866, allocations: 48.56 kB / 0.7838 GB, free: 153.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1204) (initialization): time 0.03194/1.898, allocations: 18.14 MB / 0.8015 GB, free: 138.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/1.898, allocations: 78.66 kB / 0.8015 GB, free: 138.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001604/1.898, allocations: 172 kB / 0.8017 GB, free: 138.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01454/1.913, allocations: 5.19 MB / 0.8068 GB, free: 133 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006058/1.919, allocations: 1.957 MB / 0.8087 GB, free: 131.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0344/1.953, allocations: 30.22 MB / 0.8382 GB, free: 100.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007469/1.961, allocations: 0.5384 MB / 0.8387 GB, free: 100.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00126/1.962, allocations: 0.5101 MB / 0.8392 GB, free: 99.66 MB / 0.5294 GB 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.005964/1.968, allocations: 4.075 MB / 0.8432 GB, free: 95.57 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001587/1.969, allocations: 0.7419 MB / 0.8439 GB, free: 94.82 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02117/1.991, allocations: 11.92 MB / 0.8556 GB, free: 82.86 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.361e-05/1.991, allocations: 47.94 kB / 0.8556 GB, free: 82.81 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.393e-05/1.991, allocations: 28.22 kB / 0.8556 GB, free: 82.78 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-05/1.991, allocations: 19.92 kB / 0.8557 GB, free: 82.76 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04086/2.032, allocations: 25.36 MB / 0.8804 GB, free: 57.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.023e-05/2.032, allocations: 15.88 kB / 0.8804 GB, free: 57.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002605/2.034, allocations: 0.5662 MB / 0.881 GB, free: 56.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01425/2.049, allocations: 4.849 MB / 0.8857 GB, free: 51.85 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006683/2.049, allocations: 80 kB / 0.8858 GB, free: 51.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03088/2.08, allocations: 26.91 MB / 0.9121 GB, free: 24.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/2.08, allocations: 19.88 kB / 0.9121 GB, free: 24.71 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02774/2.108, allocations: 17.87 MB / 0.9295 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002136/2.11, allocations: 0.7654 MB / 0.9303 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001858/2.112, allocations: 76 kB / 0.9304 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003942/2.116, allocations: 275.7 kB / 0.9306 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00104/2.117, allocations: 295 kB / 0.9309 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003239/2.117, allocations: 115.7 kB / 0.931 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006529/2.124, allocations: 4.888 MB / 0.9358 GB, free: 248 kB / 0.5294 GB Notification: Performance of sort global known variables: time 3.3e-07/2.124, allocations: 0 / 0.9358 GB, free: 248 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01002/2.134, allocations: 2.199 MB / 0.9379 GB, free: 14.04 MB / 0.545 GB 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.2648/2.399, allocations: 18.63 MB / 0.9561 GB, free: 174.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01591/2.415, allocations: 11.28 MB / 0.9671 GB, free: 170.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.58e-05/2.415, allocations: 4.219 kB / 0.9672 GB, free: 170.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006656/2.422, allocations: 4.8 MB / 0.9718 GB, free: 168.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006748/2.428, allocations: 1.161 MB / 0.973 GB, free: 167.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1401/2.569, allocations: 99.89 MB / 1.071 GB, free: 68.02 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007297/2.576, allocations: 6.388 MB / 1.077 GB, free: 61.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005917/2.582, allocations: 2.924 MB / 1.08 GB, free: 58.66 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004808/2.587, allocations: 4.367 MB / 1.084 GB, free: 54.29 MB / 0.545 GB Notification: Performance of SimCode: time 7.41e-07/2.587, allocations: 0 / 1.084 GB, free: 54.29 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4465/3.033, allocations: 178.4 MB / 1.258 GB, free: 99.29 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 50.58/53.61, allocations: 11.12 kB / 1.258 GB, free: 99.28 MB / 0.5607 GB (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.1.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