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.001236/0.001236, allocations: 117.6 kB / 17.79 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.001292/0.001293, allocations: 199.9 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.387/1.387, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 59.89 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2816, allocations: 50.54 MB / 408.8 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.008892/0.2905, allocations: 7.996 MB / 416.8 MB, free: 9.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005116/0.2957, allocations: 2.629 MB / 419.4 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.2969, allocations: 23.94 kB / 419.4 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001842/0.2988, allocations: 0.5676 MB / 420 MB, free: 6.293 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001835/0.3007, allocations: 496.4 kB / 420.5 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006595/0.3014, allocations: 231.8 kB / 420.7 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00189/0.3033, allocations: 1.446 MB / 422.1 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000897/0.3042, allocations: 0.5885 MB / 422.7 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009344/0.3051, allocations: 0.5486 MB / 423.3 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007008/0.3058, allocations: 0.5833 MB / 423.9 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001885/0.306, allocations: 136 kB / 424 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003666/0.3064, allocations: 168 kB / 424.2 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000203/0.3066, allocations: 282.9 kB / 424.4 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006444/0.3073, allocations: 0.6415 MB / 425.1 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002107/0.3094, allocations: 1.7 MB / 426.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.3094, allocations: 0 / 426.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3094, allocations: 7.938 kB / 426.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.75e-05/0.3095, allocations: 0 / 426.8 MB, free: 15.45 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.00287/0.3124, allocations: 1.467 MB / 428.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.3124, allocations: 12.03 kB / 428.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001742/0.3126, allocations: 144.3 kB / 428.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005831/0.3132, allocations: 180 kB / 428.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.3145, allocations: 0.7344 MB / 429.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.78e-05/0.3145, allocations: 66 kB / 429.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.3147, allocations: 99.95 kB / 429.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.3163, allocations: 0.9229 MB / 430.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.646e-05/0.3163, allocations: 4 kB / 430.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-05/0.3164, allocations: 40 kB / 430.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.523e-05/0.3164, allocations: 24 kB / 430.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.3176, allocations: 0.6285 MB / 431.1 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00471/0.3223, allocations: 3.891 MB / 435 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005489/0.3229, allocations: 351.6 kB / 435.3 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00027/0.3232, allocations: 152.7 kB / 435.5 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.3232, allocations: 0 / 435.5 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.3232, allocations: 46.44 kB / 435.5 MB, free: 6.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.653e-06/0.3232, allocations: 0 / 435.5 MB, free: 6.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002258/0.3255, allocations: 1.2 MB / 436.7 MB, free: 5.023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.3256, allocations: 81.11 kB / 436.8 MB, free: 4.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.3266, allocations: 0.8215 MB / 437.6 MB, free: 4.094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.581e-05/0.3267, allocations: 37.64 kB / 437.7 MB, free: 4.051 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003982/0.3271, allocations: 0.5928 MB / 438.2 MB, free: 3.449 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.942e-05/0.3272, allocations: 126.9 kB / 438.4 MB, free: 3.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.3274, allocations: 126.6 kB / 438.5 MB, free: 3.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.3275, allocations: 333.9 kB / 438.8 MB, free: 2.863 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003079/0.3278, allocations: 149.9 kB / 439 MB, free: 2.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004802/0.3283, allocations: 464 kB / 439.4 MB, free: 2.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008076/0.3291, allocations: 0.6242 MB / 440 MB, free: 1.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.3291, allocations: 8 kB / 440.1 MB, free: 1.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001185/0.3303, allocations: 0.6928 MB / 440.7 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.3304, allocations: 8 kB / 440.8 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.3304, allocations: 12 kB / 440.8 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001816/0.3306, allocations: 36.78 kB / 440.8 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004901/0.3311, allocations: 155.7 kB / 441 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.3322, allocations: 1.398 MB / 442.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005686/0.3328, allocations: 44.12 kB / 442.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/0.3328, allocations: 32 kB / 442.4 MB, free: 14.81 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.0003816/0.3332, allocations: 254.7 kB / 442.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.3334, allocations: 91.38 kB / 442.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007108/0.3341, allocations: 378.1 kB / 443.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.3341, allocations: 7.938 kB / 443.1 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3341, allocations: 0 / 443.1 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.3341, allocations: 7.984 kB / 443.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/0.3359, allocations: 1.27 MB / 444.4 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.3359, allocations: 3.938 kB / 444.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000308/0.3362, allocations: 67.91 kB / 444.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001008/0.3364, allocations: 33 kB / 444.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.3364, allocations: 8 kB / 444.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009677/0.3374, allocations: 1.371 MB / 445.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3374, allocations: 0 / 445.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.3384, allocations: 0.6291 MB / 446.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002762/0.3387, allocations: 192.5 kB / 446.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.383e-05/0.3388, allocations: 8 kB / 446.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003664/0.3392, allocations: 31.91 kB / 446.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.554e-05/0.3393, allocations: 27.97 kB / 446.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.3393, allocations: 8 kB / 446.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007428/0.3401, allocations: 0.5615 MB / 447.4 MB, free: 9.582 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3401, allocations: 3.938 kB / 447.4 MB, free: 9.578 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007602/0.3408, allocations: 192 kB / 447.5 MB, free: 9.391 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.001396/0.3422, allocations: 1.2 MB / 448.7 MB, free: 8.137 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.3433, allocations: 0.5073 MB / 449.3 MB, free: 7.617 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.3433, allocations: 0 / 449.3 MB, free: 7.617 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003924/0.3437, allocations: 264 kB / 449.5 MB, free: 7.348 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.3448, allocations: 215 kB / 449.7 MB, free: 7.145 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.3548, allocations: 7.113 MB / 456.8 MB, free: 15.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000579/0.3554, allocations: 0.9999 MB / 457.8 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004285/0.3559, allocations: 102.9 kB / 457.9 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004188/0.3563, allocations: 363.3 kB / 458.3 MB, free: 14.09 MB / 382.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3563, allocations: 4 kB / 458.3 MB, free: 14.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0483/0.4046, allocations: 17.93 MB / 476.2 MB, free: 12.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.54, allocations: 4 kB / 476.2 MB, free: 12.4 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.0.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