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.00148/0.00148, allocations: 117.7 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001793/0.001793, allocations: 199.8 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.89 kB / 358.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2491, allocations: 50.54 MB / 408.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.02353/0.2726, allocations: 23.3 MB / 432.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0146/0.2873, allocations: 7.075 MB / 439.2 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004402/0.2917, allocations: 175.4 kB / 439.3 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01453/0.3063, allocations: 7.909 MB / 447.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008878/0.3152, allocations: 3.536 MB / 450.8 MB, free: 7.375 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004426/0.3197, allocations: 2.02 MB / 452.8 MB, free: 5.355 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01768/0.3374, allocations: 13.55 MB / 466.4 MB, free: 7.777 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01186/0.3493, allocations: 10.44 MB / 476.8 MB, free: 13.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006767/0.3561, allocations: 4.258 MB / 481.1 MB, free: 8.969 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008036/0.3642, allocations: 5.699 MB / 486.8 MB, free: 3.254 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002622/0.3668, allocations: 1 MB / 487.8 MB, free: 2.254 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004737/0.3716, allocations: 2.158 MB / 489.9 MB, free: 96 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006123/0.3777, allocations: 5.063 MB / 495 MB, free: 11.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008844/0.3866, allocations: 5.694 MB / 0.4889 GB, free: 5.293 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01995/0.4065, allocations: 17.91 MB / 0.5064 GB, free: 3.332 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4066, allocations: 4 kB / 0.5064 GB, free: 3.328 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4066, allocations: 0 / 0.5064 GB, free: 3.328 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005067/0.4071, allocations: 0 / 0.5064 GB, free: 3.328 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.03442/0.4415, allocations: 11.83 MB / 0.518 GB, free: 7.391 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.4416, allocations: 12.03 kB / 0.518 GB, free: 7.379 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003845/0.4455, allocations: 1.333 MB / 0.5193 GB, free: 6.035 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6837/1.129, allocations: 24.51 MB / 0.5432 GB, free: 115.6 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02083/1.15, allocations: 10.18 MB / 0.5532 GB, free: 112.2 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000379/1.15, allocations: 0.5239 MB / 0.5537 GB, free: 112 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002886/1.153, allocations: 0.7281 MB / 0.5544 GB, free: 111.8 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03368/1.187, allocations: 19.12 MB / 0.5731 GB, free: 94.07 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003205/1.187, allocations: 95.08 kB / 0.5732 GB, free: 93.98 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001429/1.189, allocations: 325 kB / 0.5735 GB, free: 93.71 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003357/1.192, allocations: 2.817 MB / 0.5762 GB, free: 90.92 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02792/1.22, allocations: 15.48 MB / 0.5913 GB, free: 75.45 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.0788/1.299, allocations: 72.11 MB / 0.6618 GB, free: 1.336 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02197/1.321, allocations: 8.024 MB / 0.6696 GB, free: 9.164 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006062/1.327, allocations: 4.26 MB / 0.6738 GB, free: 4.883 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02546/1.353, allocations: 14.24 MB / 0.6877 GB, free: 6.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.451e-05/1.353, allocations: 68.52 kB / 0.6877 GB, free: 6.012 MB / 494.1 MB Notification: Performance of pre-optimization done (n=309): time 7.725e-06/1.353, allocations: 0 / 0.6877 GB, free: 6.012 MB / 494.1 MB Notification: Performance of matching and sorting (n=416): time 0.1923/1.545, allocations: 50.65 MB / 0.7372 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001901/1.545, allocations: 414.6 kB / 0.7376 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2302/1.776, allocations: 7.575 MB / 0.745 GB, free: 179.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008485/1.776, allocations: 90.67 kB / 0.7451 GB, free: 179.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003531/1.78, allocations: 5.791 MB / 0.7507 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001605/1.782, allocations: 1.504 MB / 0.7522 GB, free: 175.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003181/1.785, allocations: 1.838 MB / 0.754 GB, free: 174.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.134e-05/1.785, allocations: 308.7 kB / 0.7543 GB, free: 174 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005574/1.79, allocations: 4.456 MB / 0.7586 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008005/1.798, allocations: 9.421 MB / 0.7678 GB, free: 164.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01443/1.813, allocations: 14.91 MB / 0.7824 GB, free: 153 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002369/1.813, allocations: 46.75 kB / 0.7824 GB, free: 153 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1204) (initialization): time 0.03348/1.847, allocations: 18.11 MB / 0.8001 GB, free: 138.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/1.847, allocations: 76 kB / 0.8002 GB, free: 138.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002055/1.847, allocations: 175.1 kB / 0.8004 GB, free: 137.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01532/1.862, allocations: 5.19 MB / 0.8054 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006226/1.869, allocations: 1.953 MB / 0.8073 GB, free: 130.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03708/1.906, allocations: 30.19 MB / 0.8368 GB, free: 100.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008081/1.914, allocations: 0.546 MB / 0.8374 GB, free: 99.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001608/1.916, allocations: 0.5038 MB / 0.8379 GB, free: 99.46 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.006328/1.922, allocations: 4.081 MB / 0.8418 GB, free: 95.37 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001614/1.923, allocations: 0.7097 MB / 0.8425 GB, free: 94.65 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02218/1.946, allocations: 11.92 MB / 0.8542 GB, free: 82.68 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.208e-05/1.946, allocations: 44 kB / 0.8542 GB, free: 82.64 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.169e-05/1.946, allocations: 27.88 kB / 0.8542 GB, free: 82.61 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.951e-05/1.946, allocations: 23.92 kB / 0.8543 GB, free: 82.59 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04759/1.993, allocations: 25.35 MB / 0.879 GB, free: 57.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.876e-05/1.994, allocations: 11.94 kB / 0.879 GB, free: 57.13 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002752/1.996, allocations: 0.5661 MB / 0.8796 GB, free: 56.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01507/2.011, allocations: 4.853 MB / 0.8843 GB, free: 51.71 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009238/2.012, allocations: 72 kB / 0.8844 GB, free: 51.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03342/2.046, allocations: 26.9 MB / 0.9107 GB, free: 24.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.538e-06/2.046, allocations: 12.22 kB / 0.9107 GB, free: 24.59 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02935/2.075, allocations: 17.83 MB / 0.9281 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002209/2.077, allocations: 0.7262 MB / 0.9288 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002058/2.08, allocations: 83.92 kB / 0.9289 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004455/2.084, allocations: 267.7 kB / 0.9291 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001363/2.085, allocations: 303.1 kB / 0.9294 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005192/2.086, allocations: 108 kB / 0.9295 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007799/2.094, allocations: 4.891 MB / 0.9343 GB, free: 188 kB / 0.5294 GB Notification: Performance of sort global known variables: time 3.6e-07/2.094, allocations: 0 / 0.9343 GB, free: 188 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01059/2.104, allocations: 2.204 MB / 0.9364 GB, free: 13.98 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.266/2.37, allocations: 18.59 MB / 0.9546 GB, free: 175 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.0175/2.388, allocations: 11.27 MB / 0.9656 GB, free: 170.6 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 2.02e-05/2.388, allocations: 2.516 kB / 0.9656 GB, free: 170.6 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.00781/2.396, allocations: 4.789 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.008463/2.404, allocations: 1.162 MB / 0.9714 GB, free: 168 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1644/2.569, allocations: 99.53 MB / 1.069 GB, free: 69.1 MB / 0.5451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01068/2.58, allocations: 6.38 MB / 1.075 GB, free: 62.69 MB / 0.5451 GB Notification: Performance of simCode: alias equations: time 0.007898/2.587, allocations: 2.924 MB / 1.078 GB, free: 59.75 MB / 0.5451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007157/2.595, allocations: 4.36 MB / 1.082 GB, free: 55.39 MB / 0.5451 GB Notification: Performance of SimCode: time 9.51e-07/2.595, allocations: 0 / 1.082 GB, free: 55.39 MB / 0.5451 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.533/3.128, allocations: 181 MB / 1.259 GB, free: 97.89 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 53.77/56.9, allocations: 11.48 kB / 1.259 GB, free: 97.88 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