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.001589/0.00159, allocations: 117.1 kB / 17.07 MB, free: 5.949 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.001734/0.001734, allocations: 194.9 kB / 18.01 MB, free: 5.035 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.348/1.348, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001005/0.001005, allocations: 55.91 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2837, allocations: 49.44 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009187/0.2929, allocations: 7.976 MB / 408.2 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004473/0.2974, allocations: 2.597 MB / 410.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.2986, allocations: 23.94 kB / 410.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001832/0.3005, allocations: 0.5676 MB / 411.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001627/0.3022, allocations: 496.4 kB / 411.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007095/0.3029, allocations: 235.8 kB / 412.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001867/0.3048, allocations: 1.428 MB / 413.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009526/0.3058, allocations: 0.5846 MB / 414.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000921/0.3067, allocations: 0.5369 MB / 414.7 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009222/0.3076, allocations: 0.5872 MB / 415.3 MB, free: 9.723 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002792/0.3079, allocations: 140 kB / 415.4 MB, free: 9.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000488/0.3084, allocations: 172 kB / 415.6 MB, free: 9.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002044/0.3086, allocations: 275 kB / 415.8 MB, free: 9.148 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006592/0.3093, allocations: 0.6571 MB / 416.5 MB, free: 8.488 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001879/0.3112, allocations: 1.7 MB / 418.2 MB, free: 6.781 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3112, allocations: 0 / 418.2 MB, free: 6.781 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3112, allocations: 0 / 418.2 MB, free: 6.781 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.073e-05/0.3112, allocations: 0 / 418.2 MB, free: 6.781 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.002533/0.3138, allocations: 1.463 MB / 419.7 MB, free: 5.266 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.3138, allocations: 8.031 kB / 419.7 MB, free: 5.258 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001618/0.314, allocations: 152.2 kB / 419.8 MB, free: 5.102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005765/0.3146, allocations: 180 kB / 420 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.3159, allocations: 0.7304 MB / 420.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.437e-05/0.316, allocations: 81.94 kB / 420.8 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.3161, allocations: 96 kB / 420.9 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.3177, allocations: 0.9152 MB / 421.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.518e-05/0.3177, allocations: 7.891 kB / 421.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-05/0.3178, allocations: 44 kB / 421.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.3178, allocations: 24 kB / 421.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.319, allocations: 0.6285 MB / 422.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005009/0.3241, allocations: 3.875 MB / 426.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005814/0.3247, allocations: 370.6 kB / 426.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002753/0.325, allocations: 144.8 kB / 426.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.325, allocations: 4 kB / 426.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.325, allocations: 42.5 kB / 426.9 MB, free: 13.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.083e-06/0.325, allocations: 0 / 426.9 MB, free: 13.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002365/0.3274, allocations: 1.204 MB / 428.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.3275, allocations: 89.11 kB / 428.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.3285, allocations: 0.8215 MB / 429 MB, free: 11.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.3286, allocations: 29.7 kB / 429.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003656/0.3289, allocations: 0.5811 MB / 429.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.128e-05/0.329, allocations: 134.9 kB / 429.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.3292, allocations: 126.6 kB / 429.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.3293, allocations: 337.9 kB / 430.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002933/0.3296, allocations: 145.9 kB / 430.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004655/0.3301, allocations: 463.9 kB / 430.8 MB, free: 9.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007946/0.3309, allocations: 0.6405 MB / 431.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.3309, allocations: 4 kB / 431.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001189/0.3321, allocations: 0.6926 MB / 432.2 MB, free: 7.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.3322, allocations: 8 kB / 432.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.3322, allocations: 12 kB / 432.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000165/0.3324, allocations: 37.31 kB / 432.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004851/0.3328, allocations: 159.7 kB / 432.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.3339, allocations: 1.382 MB / 433.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005682/0.3345, allocations: 35.94 kB / 433.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-05/0.3345, allocations: 36 kB / 433.8 MB, free: 6.16 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.0003733/0.3349, allocations: 253.6 kB / 434.1 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.3351, allocations: 95.44 kB / 434.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007004/0.3358, allocations: 374.4 kB / 434.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/0.3358, allocations: 4 kB / 434.5 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3358, allocations: 3.938 kB / 434.6 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3358, allocations: 7.984 kB / 434.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/0.3376, allocations: 1.275 MB / 435.8 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/0.3377, allocations: 8.156 kB / 435.8 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003151/0.338, allocations: 71.91 kB / 435.9 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.385e-05/0.3381, allocations: 20.84 kB / 435.9 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.3381, allocations: 8 kB / 435.9 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009124/0.339, allocations: 1.375 MB / 437.3 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.3391, allocations: 7.969 kB / 437.3 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.3401, allocations: 0.6478 MB / 438 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/0.3404, allocations: 184.6 kB / 438.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.905e-05/0.3405, allocations: 12 kB / 438.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003755/0.3409, allocations: 27.91 kB / 438.2 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.068e-05/0.341, allocations: 23.97 kB / 438.2 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.341, allocations: 16 kB / 438.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000742/0.3418, allocations: 0.5615 MB / 438.8 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3418, allocations: 0 / 438.8 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007347/0.3425, allocations: 188 kB / 439 MB, free: 0.7188 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.001422/0.3439, allocations: 1.196 MB / 440.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.345, allocations: 0.5126 MB / 440.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.345, allocations: 0 / 440.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004069/0.3455, allocations: 267.4 kB / 440.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.3465, allocations: 210.9 kB / 441.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009543/0.3561, allocations: 7.124 MB / 448.3 MB, free: 6.887 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005921/0.3567, allocations: 0.9962 MB / 449.3 MB, free: 5.863 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004205/0.3572, allocations: 102.9 kB / 449.4 MB, free: 5.758 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004266/0.3576, allocations: 363.3 kB / 449.7 MB, free: 5.402 MB / 366.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3576, allocations: 0 / 449.7 MB, free: 5.402 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04321/0.4008, allocations: 17.89 MB / 467.6 MB, free: 3.781 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.35, allocations: 10.86 kB / 467.6 MB, free: 3.773 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