Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.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.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001808/0.001808, allocations: 117.2 kB / 17.78 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00218/0.00218, allocations: 200.6 kB / 18.72 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.565/1.565, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 59.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2951, allocations: 50.55 MB / 408.8 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01134/0.3065, allocations: 7.999 MB / 416.8 MB, free: 9.504 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005685/0.3122, allocations: 2.625 MB / 419.4 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.3135, allocations: 27.94 kB / 419.4 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002054/0.3156, allocations: 0.5442 MB / 420 MB, free: 6.301 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001853/0.3175, allocations: 456.4 kB / 420.4 MB, free: 5.852 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007302/0.3183, allocations: 239.7 kB / 420.6 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002251/0.3205, allocations: 1.432 MB / 422.1 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009885/0.3216, allocations: 0.5846 MB / 422.6 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.3227, allocations: 0.5408 MB / 423.2 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008205/0.3236, allocations: 0.5794 MB / 423.8 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002172/0.3238, allocations: 136 kB / 423.9 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004177/0.3242, allocations: 179.9 kB / 424.1 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002443/0.3245, allocations: 282.9 kB / 424.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008797/0.3254, allocations: 0.6454 MB / 425 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002441/0.3278, allocations: 1.704 MB / 426.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3278, allocations: 0 / 426.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.3279, allocations: 0 / 426.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.423e-05/0.3279, allocations: 0 / 426.7 MB, free: 15.5 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002903/0.3308, allocations: 1.463 MB / 428.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.3309, allocations: 8.031 kB / 428.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001997/0.3311, allocations: 148.3 kB / 428.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000631/0.3317, allocations: 180 kB / 428.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.3332, allocations: 0.7305 MB / 429.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.686e-05/0.3333, allocations: 74 kB / 429.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/0.3335, allocations: 99.95 kB / 429.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.3351, allocations: 0.919 MB / 430.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.309e-05/0.3352, allocations: 4 kB / 430.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002072/0.3354, allocations: 40 kB / 430.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.3354, allocations: 24 kB / 430.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.3367, allocations: 0.6246 MB / 431 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005833/0.3426, allocations: 3.887 MB / 434.9 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007776/0.3434, allocations: 355.3 kB / 435.2 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000319/0.3437, allocations: 154.9 kB / 435.4 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.3438, allocations: 4 kB / 435.4 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.815e-05/0.3438, allocations: 46.44 kB / 435.4 MB, free: 6.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 4.388e-06/0.3438, allocations: 7.984 kB / 435.4 MB, free: 6.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.00278/0.3466, allocations: 1.196 MB / 436.6 MB, free: 5.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.422e-05/0.3467, allocations: 85.11 kB / 436.7 MB, free: 4.977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.348, allocations: 0.8176 MB / 437.5 MB, free: 4.148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.914e-05/0.348, allocations: 33.64 kB / 437.6 MB, free: 4.109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006087/0.3487, allocations: 0.5889 MB / 438.2 MB, free: 3.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.3488, allocations: 134.9 kB / 438.3 MB, free: 3.379 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001935/0.349, allocations: 126.6 kB / 438.4 MB, free: 3.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3492, allocations: 337.9 kB / 438.8 MB, free: 2.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003297/0.3495, allocations: 145.9 kB / 438.9 MB, free: 2.773 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005678/0.3501, allocations: 464 kB / 439.3 MB, free: 2.176 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.3511, allocations: 0.632 MB / 440 MB, free: 1.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.3511, allocations: 4 kB / 440 MB, free: 1.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001375/0.3525, allocations: 0.6885 MB / 440.7 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.3526, allocations: 12 kB / 440.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.3526, allocations: 8.656 kB / 440.7 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001874/0.3528, allocations: 48.72 kB / 440.7 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005208/0.3533, allocations: 151.8 kB / 440.9 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/0.3548, allocations: 1.398 MB / 442.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007632/0.3556, allocations: 27.98 kB / 442.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.559e-05/0.3556, allocations: 36 kB / 442.3 MB, free: 14.88 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005361/0.3562, allocations: 261.7 kB / 442.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/0.3564, allocations: 91.38 kB / 442.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000975/0.3574, allocations: 366.2 kB / 443 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.3574, allocations: 15.88 kB / 443.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.3574, allocations: 4 kB / 443.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.3574, allocations: 3.984 kB / 443.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002352/0.3598, allocations: 1.259 MB / 444.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.3598, allocations: 12 kB / 444.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004105/0.3602, allocations: 71.94 kB / 444.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001146/0.3603, allocations: 32.77 kB / 444.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.3604, allocations: 8 kB / 444.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/0.3616, allocations: 1.367 MB / 445.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.3616, allocations: 4.031 kB / 445.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.3628, allocations: 0.6331 MB / 446.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003711/0.3632, allocations: 192.5 kB / 446.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.323e-05/0.3633, allocations: 8 kB / 446.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003861/0.3637, allocations: 23.92 kB / 446.7 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.469e-05/0.3638, allocations: 31.95 kB / 446.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/0.3639, allocations: 12 kB / 446.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008836/0.3648, allocations: 0.5615 MB / 447.3 MB, free: 9.637 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3648, allocations: 3.938 kB / 447.3 MB, free: 9.633 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009371/0.3657, allocations: 188 kB / 447.5 MB, free: 9.449 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.phi) * 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 (34): * Single equations (assignments): 33 * Array equations: 0 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001613/0.3673, allocations: 1.203 MB / 448.7 MB, free: 8.195 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001225/0.3686, allocations: 0.5039 MB / 449.2 MB, free: 7.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.3686, allocations: 0.75 kB / 449.2 MB, free: 7.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004691/0.3691, allocations: 270.4 kB / 449.4 MB, free: 7.402 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.3703, allocations: 207.1 kB / 449.6 MB, free: 7.207 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.3824, allocations: 7.117 MB / 456.8 MB, free: 15.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007547/0.3832, allocations: 1 MB / 457.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004185/0.3837, allocations: 102.8 kB / 457.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005702/0.3842, allocations: 367.2 kB / 458.2 MB, free: 14.14 MB / 382.1 MB Notification: Performance of SimCode: time 1.182e-06/0.3843, allocations: 0 / 458.2 MB, free: 14.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06303/0.4473, allocations: 17.92 MB / 476.1 MB, free: 12.47 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.71, allocations: 10.44 kB / 476.2 MB, free: 12.46 MB / 398.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches