Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.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.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001834/0.001834, allocations: 118.8 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.002333/0.002333, allocations: 198 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.41/1.41, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002501/0.002501, allocations: 59.91 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2571, allocations: 50.54 MB / 408.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01069/0.2678, allocations: 8.88 MB / 417.7 MB, free: 8.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004805/0.2727, allocations: 2.878 MB / 420.5 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005738/0.2733, allocations: 43.81 kB / 420.6 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.2746, allocations: 0.6123 MB / 421.2 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001551/0.2762, allocations: 0.7027 MB / 421.9 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006464/0.2768, allocations: 323.6 kB / 422.2 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002347/0.2792, allocations: 2.229 MB / 424.4 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002027/0.2812, allocations: 1.75 MB / 426.2 MB, free: 4 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001311/0.2825, allocations: 1.02 MB / 427.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001664/0.2842, allocations: 1.292 MB / 428.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003639/0.2846, allocations: 268 kB / 428.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006414/0.2852, allocations: 363.8 kB / 429.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007922/0.2861, allocations: 0.7636 MB / 429.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.2874, allocations: 1.209 MB / 431.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004027/0.2914, allocations: 3.546 MB / 434.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2915, allocations: 0 / 434.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2915, allocations: 0 / 434.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.536e-05/0.2915, allocations: 0 / 434.6 MB, free: 7.527 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.005278/0.2968, allocations: 2.553 MB / 437.2 MB, free: 4.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.2969, allocations: 12.03 kB / 437.2 MB, free: 4.902 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003885/0.2973, allocations: 262 kB / 437.5 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007258/0.298, allocations: 275.3 kB / 437.7 MB, free: 4.367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002334/0.3004, allocations: 1.307 MB / 439 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.3005, allocations: 135.7 kB / 439.2 MB, free: 2.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002938/0.3008, allocations: 187.9 kB / 439.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004161/0.305, allocations: 2.371 MB / 441.7 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.028e-05/0.305, allocations: 7.953 kB / 441.7 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001725/0.3052, allocations: 76 kB / 441.8 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000117/0.3053, allocations: 91.5 kB / 441.9 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003591/0.3089, allocations: 1.969 MB / 443.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01176/0.3207, allocations: 7.084 MB / 450.9 MB, free: 6.855 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/0.3227, allocations: 1.269 MB / 452.2 MB, free: 5.523 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001593/0.3243, allocations: 0.8626 MB / 453.1 MB, free: 4.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002433/0.3246, allocations: 122.1 kB / 453.2 MB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.3246, allocations: 43.5 kB / 453.2 MB, free: 4.469 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.876e-06/0.3247, allocations: 3.938 kB / 453.2 MB, free: 4.465 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.01391/0.3386, allocations: 6.128 MB / 459.4 MB, free: 14.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.3387, allocations: 60.41 kB / 459.4 MB, free: 14.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001816/0.3405, allocations: 1.219 MB / 460.6 MB, free: 12.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.381e-05/0.3406, allocations: 41.7 kB / 460.7 MB, free: 12.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007225/0.3413, allocations: 0.8987 MB / 461.6 MB, free: 11.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000335/0.3417, allocations: 380.8 kB / 462 MB, free: 11.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003707/0.342, allocations: 218.9 kB / 462.2 MB, free: 11.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.3422, allocations: 353.9 kB / 462.5 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.3433, allocations: 0.6155 MB / 463.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001301/0.3446, allocations: 0.9188 MB / 464 MB, free: 9.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002468/0.3471, allocations: 1.643 MB / 465.7 MB, free: 7.551 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.3471, allocations: 4 kB / 465.7 MB, free: 7.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003881/0.351, allocations: 2.236 MB / 467.9 MB, free: 5.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.351, allocations: 11.94 kB / 467.9 MB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.351, allocations: 8 kB / 467.9 MB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/0.3522, allocations: 487.7 kB / 468.4 MB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009917/0.3532, allocations: 271.6 kB / 468.7 MB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007464/0.3606, allocations: 7.014 MB / 475.7 MB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009918/0.3617, allocations: 83.91 kB / 475.8 MB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.154e-05/0.3618, allocations: 44 kB / 475.8 MB, free: 12.94 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001093/0.3629, allocations: 0.6039 MB / 476.4 MB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002685/0.3631, allocations: 147 kB / 476.6 MB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003647/0.3668, allocations: 2.024 MB / 478.6 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.3668, allocations: 15.94 kB / 478.6 MB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.3668, allocations: 4 kB / 478.6 MB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.3668, allocations: 7.969 kB / 478.6 MB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007166/0.374, allocations: 4.215 MB / 482.8 MB, free: 5.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.374, allocations: 4 kB / 482.8 MB, free: 5.727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007498/0.3748, allocations: 175.8 kB / 483 MB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001344/0.3761, allocations: 0.5349 MB / 483.6 MB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.762e-05/0.3762, allocations: 27.98 kB / 483.6 MB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008888/0.3851, allocations: 8.624 MB / 492.2 MB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.757e-05/0.3852, allocations: 11.88 kB / 492.2 MB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004932/0.3901, allocations: 2.946 MB / 495.2 MB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007066/0.3908, allocations: 356 kB / 495.5 MB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002084/0.3911, allocations: 35.92 kB / 495.5 MB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007606/0.3918, allocations: 63.92 kB / 495.6 MB, free: 8.277 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002388/0.3921, allocations: 92.77 kB / 495.7 MB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.545e-05/0.3922, allocations: 35.98 kB / 495.7 MB, free: 8.152 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001321/0.3935, allocations: 0.8383 MB / 496.6 MB, free: 7.309 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3935, allocations: 3.938 kB / 496.6 MB, free: 7.305 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001489/0.395, allocations: 415.9 kB / 497 MB, free: 6.898 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,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 (88): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,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.005388/0.4004, allocations: 3.573 MB / 0.4888 GB, free: 3.223 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003643/0.4041, allocations: 2.164 MB / 0.4909 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.4041, allocations: 1.875 kB / 0.4909 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002452/0.4066, allocations: 1.491 MB / 0.4924 GB, free: 15.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/0.4085, allocations: 387.2 kB / 0.4928 GB, free: 15.04 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02398/0.4325, allocations: 15.14 MB / 0.5076 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001546/0.4341, allocations: 1.634 MB / 0.5091 GB, free: 13.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009361/0.435, allocations: 299.8 kB / 0.5094 GB, free: 13.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000945/0.436, allocations: 0.6945 MB / 0.5101 GB, free: 12.64 MB / 446.1 MB Notification: Performance of SimCode: time 9.31e-07/0.436, allocations: 0 / 0.5101 GB, free: 12.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.273/0.709, allocations: 37.4 MB / 0.5466 GB, free: 128.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.99, allocations: 2.094 kB / 0.5466 GB, free: 128.8 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches