Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.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.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 110 kB / 17.06 MB, free: 6.113 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.001883/0.001883, allocations: 198.9 kB / 18 MB, free: 5.191 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.321/1.321, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009485/0.0009485, allocations: 47.92 kB / 350.8 MB, free: 3.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2318, allocations: 49.44 MB / 400.3 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.00978/0.2416, allocations: 8.834 MB / 409.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004772/0.2464, allocations: 2.828 MB / 411.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.2474, allocations: 43.81 kB / 412 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001592/0.2491, allocations: 0.6319 MB / 412.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002003/0.2511, allocations: 0.7496 MB / 413.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007502/0.2519, allocations: 319.5 kB / 413.7 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002558/0.2544, allocations: 2.222 MB / 415.9 MB, free: 9.117 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001871/0.2563, allocations: 1.746 MB / 417.6 MB, free: 7.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.2576, allocations: 1.024 MB / 418.6 MB, free: 6.293 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001478/0.259, allocations: 1.277 MB / 419.9 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003266/0.2594, allocations: 268 kB / 420.2 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005648/0.2599, allocations: 363.8 kB / 420.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006711/0.2606, allocations: 0.7558 MB / 421.3 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001084/0.2617, allocations: 1.202 MB / 422.5 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0031/0.2648, allocations: 3.538 MB / 426 MB, free: 14.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2649, allocations: 0 / 426 MB, free: 14.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2649, allocations: 4 kB / 426 MB, free: 14.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.766e-05/0.2649, allocations: 0 / 426 MB, free: 14.88 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.004515/0.2694, allocations: 2.538 MB / 428.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.2695, allocations: 12.03 kB / 428.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002986/0.2698, allocations: 270 kB / 428.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000584/0.2704, allocations: 259.4 kB / 429.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002058/0.2724, allocations: 1.314 MB / 430.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.2726, allocations: 139.9 kB / 430.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002632/0.2728, allocations: 179.9 kB / 430.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003473/0.2763, allocations: 2.378 MB / 433.1 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.697e-05/0.2764, allocations: 7.953 kB / 433.1 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001663/0.2765, allocations: 71.98 kB / 433.2 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.064e-05/0.2766, allocations: 95.5 kB / 433.3 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003091/0.2797, allocations: 1.962 MB / 435.2 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009639/0.2894, allocations: 7.08 MB / 442.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.2911, allocations: 1.282 MB / 443.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001452/0.2926, allocations: 0.858 MB / 444.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000213/0.2928, allocations: 118.1 kB / 444.6 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.2928, allocations: 47.56 kB / 444.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.956e-06/0.2928, allocations: 7.938 kB / 444.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.0128/0.3056, allocations: 6.12 MB / 450.8 MB, free: 5.566 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.3057, allocations: 72.34 kB / 450.8 MB, free: 5.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001678/0.3074, allocations: 1.215 MB / 452 MB, free: 4.254 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.934e-05/0.3075, allocations: 41.7 kB / 452.1 MB, free: 4.207 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006114/0.3081, allocations: 0.887 MB / 453 MB, free: 3.309 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003027/0.3084, allocations: 388.7 kB / 453.3 MB, free: 2.926 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003388/0.3088, allocations: 218.9 kB / 453.6 MB, free: 2.707 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.3089, allocations: 353.9 kB / 453.9 MB, free: 2.355 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009551/0.3099, allocations: 0.6194 MB / 454.5 MB, free: 1.734 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/0.3111, allocations: 0.9188 MB / 455.4 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002226/0.3133, allocations: 1.643 MB / 457.1 MB, free: 14.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.3133, allocations: 4 kB / 457.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003651/0.317, allocations: 2.228 MB / 459.3 MB, free: 12.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.317, allocations: 16.25 kB / 459.3 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.317, allocations: 8 kB / 459.3 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.3181, allocations: 471.9 kB / 459.8 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000975/0.3191, allocations: 267.6 kB / 460.1 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006529/0.3257, allocations: 7.019 MB / 467.1 MB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.3268, allocations: 75.88 kB / 467.2 MB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-05/0.3269, allocations: 55.98 kB / 467.2 MB, free: 4.324 MB / 382.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.0009579/0.3278, allocations: 0.5912 MB / 467.8 MB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/0.3281, allocations: 147 kB / 467.9 MB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003247/0.3313, allocations: 2.028 MB / 470 MB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.3314, allocations: 8 kB / 470 MB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.3314, allocations: 4 kB / 470 MB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.3314, allocations: 7.984 kB / 470 MB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006665/0.3381, allocations: 4.219 MB / 474.2 MB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.3381, allocations: 4.469 kB / 474.2 MB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007251/0.3388, allocations: 175.8 kB / 474.4 MB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001282/0.3401, allocations: 0.527 MB / 474.9 MB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.092e-05/0.3402, allocations: 31.98 kB / 474.9 MB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007551/0.3478, allocations: 8.633 MB / 483.6 MB, free: 3.191 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/0.3478, allocations: 4 kB / 483.6 MB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004318/0.3521, allocations: 2.958 MB / 486.5 MB, free: 136 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006747/0.3528, allocations: 348.3 kB / 486.9 MB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/0.353, allocations: 35.73 kB / 486.9 MB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007515/0.3537, allocations: 71.92 kB / 487 MB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.3539, allocations: 92.75 kB / 487.1 MB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.56e-05/0.354, allocations: 31.98 kB / 487.1 MB, free: 15.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00116/0.3552, allocations: 0.8343 MB / 487.9 MB, free: 14.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3552, allocations: 4 kB / 487.9 MB, free: 14.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001295/0.3565, allocations: 411.9 kB / 488.3 MB, free: 14.3 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.004606/0.3611, allocations: 3.583 MB / 491.9 MB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003239/0.3644, allocations: 2.169 MB / 494.1 MB, free: 8.359 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.3644, allocations: 4.5 kB / 494.1 MB, free: 8.355 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002175/0.3666, allocations: 1.483 MB / 495.6 MB, free: 6.801 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/0.3683, allocations: 375.9 kB / 496 MB, free: 6.438 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02032/0.3886, allocations: 15.14 MB / 0.4991 GB, free: 6.703 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/0.3898, allocations: 1.63 MB / 0.5007 GB, free: 5.039 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007972/0.3906, allocations: 299.8 kB / 0.501 GB, free: 4.742 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008063/0.3915, allocations: 0.6867 MB / 0.5017 GB, free: 4.055 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3915, allocations: 0 / 0.5017 GB, free: 4.055 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2473/0.6388, allocations: 37.3 MB / 0.5381 GB, free: 130.1 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/12.02, allocations: 6.984 kB / 0.5381 GB, free: 130.1 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches