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.001309/0.001309, allocations: 118.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001605/0.001605, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 63.89 kB / 358.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2602, allocations: 50.55 MB / 408.8 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.02246/0.2827, allocations: 23.31 MB / 432.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01563/0.2984, allocations: 7.075 MB / 439.2 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005255/0.3037, allocations: 179.4 kB / 439.4 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01435/0.3181, allocations: 7.898 MB / 447.3 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008738/0.3269, allocations: 3.536 MB / 450.8 MB, free: 7.535 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00488/0.3318, allocations: 2.009 MB / 452.8 MB, free: 5.523 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01787/0.3497, allocations: 13.55 MB / 466.3 MB, free: 7.945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01412/0.3639, allocations: 10.46 MB / 476.8 MB, free: 13.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007396/0.3713, allocations: 4.262 MB / 481.1 MB, free: 9.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008568/0.3799, allocations: 5.699 MB / 486.8 MB, free: 3.402 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003327/0.3833, allocations: 1 MB / 487.8 MB, free: 2.402 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005455/0.3887, allocations: 2.146 MB / 489.9 MB, free: 264 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007068/0.3958, allocations: 5.07 MB / 495 MB, free: 11.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00989/0.4058, allocations: 5.694 MB / 0.4889 GB, free: 5.453 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02039/0.4262, allocations: 17.91 MB / 0.5064 GB, free: 3.484 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.4262, allocations: 0 / 0.5064 GB, free: 3.484 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4262, allocations: 4 kB / 0.5064 GB, free: 3.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005941/0.4268, allocations: 0 / 0.5064 GB, free: 3.48 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.03415/0.461, allocations: 11.83 MB / 0.518 GB, free: 7.543 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.4611, allocations: 12.03 kB / 0.518 GB, free: 7.531 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003986/0.465, allocations: 1.333 MB / 0.5193 GB, free: 6.188 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6305/1.096, allocations: 24.51 MB / 0.5432 GB, free: 115.6 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02163/1.117, allocations: 10.18 MB / 0.5532 GB, free: 112.2 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004737/1.118, allocations: 0.5226 MB / 0.5537 GB, free: 112 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002907/1.121, allocations: 0.7233 MB / 0.5544 GB, free: 111.8 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03257/1.153, allocations: 19.12 MB / 0.5731 GB, free: 94.24 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003601/1.154, allocations: 99.11 kB / 0.5732 GB, free: 94.14 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001734/1.155, allocations: 323.1 kB / 0.5735 GB, free: 93.88 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003283/1.159, allocations: 2.817 MB / 0.5762 GB, free: 91.08 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0278/1.187, allocations: 15.48 MB / 0.5913 GB, free: 75.61 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.08155/1.268, allocations: 72.11 MB / 0.6618 GB, free: 1.512 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02115/1.289, allocations: 8.027 MB / 0.6696 GB, free: 9.34 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005685/1.295, allocations: 4.249 MB / 0.6737 GB, free: 5.07 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02295/1.318, allocations: 14.24 MB / 0.6876 GB, free: 6.281 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.764e-05/1.318, allocations: 80.45 kB / 0.6877 GB, free: 6.191 MB / 494.1 MB Notification: Performance of pre-optimization done (n=309): time 5.72e-06/1.318, allocations: 0 / 0.6877 GB, free: 6.191 MB / 494.1 MB Notification: Performance of matching and sorting (n=416): time 0.1838/1.502, allocations: 50.66 MB / 0.7372 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001921/1.502, allocations: 402.7 kB / 0.7376 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2133/1.716, allocations: 7.578 MB / 0.745 GB, free: 179.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007786/1.716, allocations: 96.7 kB / 0.7451 GB, free: 179.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003435/1.72, allocations: 5.782 MB / 0.7507 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00159/1.722, allocations: 1.507 MB / 0.7522 GB, free: 175.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003302/1.725, allocations: 1.843 MB / 0.754 GB, free: 174.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.084e-05/1.725, allocations: 306.8 kB / 0.7543 GB, free: 174 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005777/1.731, allocations: 4.461 MB / 0.7586 GB, free: 172.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008411/1.739, allocations: 9.415 MB / 0.7678 GB, free: 164.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01474/1.754, allocations: 14.91 MB / 0.7824 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001559/1.754, allocations: 54.19 kB / 0.7824 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1204) (initialization): time 0.03426/1.788, allocations: 18.1 MB / 0.8001 GB, free: 138.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001286/1.789, allocations: 76 kB / 0.8002 GB, free: 138.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002295/1.789, allocations: 175.2 kB / 0.8004 GB, free: 138.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01516/1.804, allocations: 5.189 MB / 0.8054 GB, free: 133 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006012/1.81, allocations: 1.957 MB / 0.8073 GB, free: 131.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03549/1.846, allocations: 30.19 MB / 0.8368 GB, free: 100.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007951/1.854, allocations: 0.5415 MB / 0.8374 GB, free: 100.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001833/1.855, allocations: 0.5077 MB / 0.8378 GB, free: 99.67 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.007636/1.863, allocations: 4.078 MB / 0.8418 GB, free: 95.58 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002147/1.865, allocations: 0.7058 MB / 0.8425 GB, free: 94.87 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02196/1.887, allocations: 11.91 MB / 0.8542 GB, free: 82.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-05/1.887, allocations: 44 kB / 0.8542 GB, free: 82.86 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.872e-05/1.887, allocations: 35.62 kB / 0.8542 GB, free: 82.83 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.053e-05/1.887, allocations: 20.91 kB / 0.8542 GB, free: 82.81 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04044/1.928, allocations: 25.36 MB / 0.879 GB, free: 57.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.166e-05/1.928, allocations: 11.94 kB / 0.879 GB, free: 57.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002527/1.93, allocations: 0.5665 MB / 0.8796 GB, free: 56.78 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01404/1.945, allocations: 4.846 MB / 0.8843 GB, free: 51.93 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007203/1.945, allocations: 83.98 kB / 0.8844 GB, free: 51.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03411/1.979, allocations: 26.89 MB / 0.9107 GB, free: 24.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/1.979, allocations: 11.94 kB / 0.9107 GB, free: 24.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02974/2.009, allocations: 17.83 MB / 0.9281 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00204/2.011, allocations: 0.7301 MB / 0.9288 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002093/2.013, allocations: 76 kB / 0.9289 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004543/2.018, allocations: 275.6 kB / 0.9291 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001218/2.019, allocations: 295.1 kB / 0.9294 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005811/2.02, allocations: 115.4 kB / 0.9295 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00799/2.028, allocations: 4.884 MB / 0.9343 GB, free: 416 kB / 0.5294 GB Notification: Performance of sort global known variables: time 4.9e-07/2.028, allocations: 0 / 0.9343 GB, free: 416 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009868/2.038, allocations: 2.204 MB / 0.9364 GB, free: 14.2 MB / 0.5451 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.2625/2.3, allocations: 18.6 MB / 0.9546 GB, free: 175 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.01652/2.317, allocations: 11.27 MB / 0.9656 GB, free: 170.6 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-05/2.317, allocations: 2.516 kB / 0.9656 GB, free: 170.6 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.007199/2.324, allocations: 4.786 MB / 0.9703 GB, free: 168.5 MB / 0.5451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007917/2.332, allocations: 1.182 MB / 0.9714 GB, free: 168 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1526/2.485, allocations: 99.52 MB / 1.069 GB, free: 69.32 MB / 0.5451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00913/2.494, allocations: 6.376 MB / 1.075 GB, free: 62.91 MB / 0.5451 GB Notification: Performance of simCode: alias equations: time 0.007122/2.501, allocations: 2.923 MB / 1.078 GB, free: 59.98 MB / 0.5451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0065/2.508, allocations: 4.363 MB / 1.082 GB, free: 55.62 MB / 0.5451 GB Notification: Performance of SimCode: time 1.553e-06/2.508, allocations: 0 / 1.082 GB, free: 55.62 MB / 0.5451 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4529/2.961, allocations: 181 MB / 1.259 GB, free: 98.16 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 51.17/54.13, allocations: 14.45 kB / 1.259 GB, free: 98.16 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.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