Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 108.8 kB / 17.06 MB, free: 5.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 193.4 kB / 18 MB, free: 4.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 47.94 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2636, allocations: 49.44 MB / 400.2 MB, free: 8.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01047/0.2741, allocations: 7.979 MB / 408.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004813/0.279, allocations: 2.601 MB / 410.8 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007895/0.2798, allocations: 23.94 kB / 410.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.2814, allocations: 0.5442 MB / 411.4 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001406/0.2828, allocations: 456.4 kB / 411.8 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000522/0.2833, allocations: 235.7 kB / 412.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001716/0.2851, allocations: 1.431 MB / 413.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008828/0.286, allocations: 0.5846 MB / 414.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000773/0.2867, allocations: 0.533 MB / 414.6 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007553/0.2875, allocations: 0.5872 MB / 415.2 MB, free: 9.883 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001882/0.2877, allocations: 136 kB / 415.3 MB, free: 9.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003636/0.2881, allocations: 172 kB / 415.5 MB, free: 9.582 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002572/0.2884, allocations: 279 kB / 415.8 MB, free: 9.309 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006691/0.289, allocations: 0.6492 MB / 416.4 MB, free: 8.656 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002189/0.2912, allocations: 1.7 MB / 418.1 MB, free: 6.949 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2912, allocations: 4 kB / 418.1 MB, free: 6.945 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.2913, allocations: 3.984 kB / 418.1 MB, free: 6.941 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.312e-05/0.2913, allocations: 0 / 418.1 MB, free: 6.941 MB / 334.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.002579/0.2939, allocations: 1.466 MB / 419.6 MB, free: 5.426 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.2939, allocations: 8.031 kB / 419.6 MB, free: 5.418 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001785/0.2941, allocations: 148.3 kB / 419.8 MB, free: 5.266 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005565/0.2947, allocations: 180 kB / 419.9 MB, free: 5.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.2959, allocations: 0.7265 MB / 420.7 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.511e-05/0.296, allocations: 74 kB / 420.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.2962, allocations: 96 kB / 420.8 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.2978, allocations: 0.9229 MB / 421.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.61e-05/0.2978, allocations: 3.953 kB / 421.7 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.982e-05/0.2979, allocations: 43.94 kB / 421.8 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.461e-05/0.298, allocations: 24 kB / 421.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.2992, allocations: 0.6324 MB / 422.4 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005395/0.3046, allocations: 3.867 MB / 426.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006319/0.3053, allocations: 363.5 kB / 426.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002939/0.3056, allocations: 148.8 kB / 426.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.703e-05/0.3056, allocations: 7.938 kB / 426.8 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.3057, allocations: 46.5 kB / 426.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 4.038e-06/0.3057, allocations: 0 / 426.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002365/0.3081, allocations: 1.212 MB / 428.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.321e-05/0.3082, allocations: 81.11 kB / 428.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.3093, allocations: 0.8215 MB / 429 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/0.3093, allocations: 33.7 kB / 429 MB, free: 11.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004784/0.3098, allocations: 0.5811 MB / 429.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.31, allocations: 138.8 kB / 429.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.3102, allocations: 126.6 kB / 429.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.3103, allocations: 337.9 kB / 430.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000321/0.3107, allocations: 149.9 kB / 430.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005824/0.3113, allocations: 456 kB / 430.8 MB, free: 9.621 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009728/0.3122, allocations: 0.6405 MB / 431.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.3123, allocations: 4 kB / 431.4 MB, free: 8.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001235/0.3135, allocations: 0.6928 MB / 432.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/0.3135, allocations: 12 kB / 432.1 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.3136, allocations: 8 kB / 432.1 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001594/0.3137, allocations: 36.84 kB / 432.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000504/0.3142, allocations: 155.7 kB / 432.3 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.3155, allocations: 1.391 MB / 433.7 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004835/0.316, allocations: 35.94 kB / 433.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-05/0.316, allocations: 32 kB / 433.8 MB, free: 6.324 MB / 350.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.000388/0.3164, allocations: 257.6 kB / 434 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.3166, allocations: 91.38 kB / 434.1 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007643/0.3173, allocations: 374.5 kB / 434.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3174, allocations: 4 kB / 434.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3174, allocations: 4 kB / 434.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.3174, allocations: 3.984 kB / 434.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00198/0.3194, allocations: 1.267 MB / 435.8 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/0.3194, allocations: 7.938 kB / 435.8 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003205/0.3197, allocations: 67.91 kB / 435.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.125e-05/0.3198, allocations: 29.06 kB / 435.9 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.3198, allocations: 12 kB / 435.9 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/0.3209, allocations: 1.367 MB / 437.2 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.321, allocations: 4.031 kB / 437.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.3221, allocations: 0.6439 MB / 437.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000265/0.3223, allocations: 192.6 kB / 438.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.972e-05/0.3224, allocations: 11.94 kB / 438.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003566/0.3228, allocations: 31.84 kB / 438.1 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.977e-05/0.3229, allocations: 23.97 kB / 438.1 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/0.3229, allocations: 12 kB / 438.2 MB, free: 1.637 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008327/0.3237, allocations: 0.5654 MB / 438.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3238, allocations: 4 kB / 438.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007216/0.3245, allocations: 188 kB / 438.9 MB, free: 0.8867 MB / 350.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.001535/0.326, allocations: 1.198 MB / 440.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001035/0.3271, allocations: 0.5075 MB / 440.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.3271, allocations: 3.938 kB / 440.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004334/0.3275, allocations: 264.7 kB / 440.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.3285, allocations: 217.4 kB / 441.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/0.3392, allocations: 7.117 MB / 448.2 MB, free: 7.059 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007393/0.34, allocations: 0.9962 MB / 449.2 MB, free: 6.035 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004323/0.3405, allocations: 102.9 kB / 449.3 MB, free: 5.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004908/0.341, allocations: 359.3 kB / 449.7 MB, free: 5.578 MB / 366.1 MB Notification: Performance of SimCode: time 8.71e-07/0.341, allocations: 0 / 449.7 MB, free: 5.578 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05429/0.3953, allocations: 17.9 MB / 467.6 MB, free: 3.953 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.86, allocations: 7.922 kB / 467.6 MB, free: 3.945 MB / 382.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches