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: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 112.7 kB / 17.06 MB, free: 6.004 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.001061/0.001061, allocations: 195.9 kB / 18 MB, free: 5.086 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.393/1.393, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001051, allocations: 47.92 kB / 351.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2799, allocations: 49.43 MB / 400.7 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01142/0.2914, allocations: 8.842 MB / 409.6 MB, free: 8 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006206/0.2976, allocations: 2.835 MB / 412.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001705/0.2994, allocations: 47.81 kB / 412.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001987/0.3014, allocations: 0.6251 MB / 413.1 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002793/0.3042, allocations: 0.7379 MB / 413.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.3053, allocations: 327.5 kB / 414.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003107/0.3084, allocations: 2.221 MB / 416.4 MB, free: 9.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002498/0.3109, allocations: 1.742 MB / 418.1 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001778/0.3127, allocations: 1.028 MB / 419.1 MB, free: 6.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0023/0.315, allocations: 1.28 MB / 420.4 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006344/0.3157, allocations: 272 kB / 420.7 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.3168, allocations: 359.8 kB / 421 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001134/0.3179, allocations: 0.7519 MB / 421.8 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001539/0.3195, allocations: 1.206 MB / 423 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003788/0.3233, allocations: 3.533 MB / 426.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.3233, allocations: 4 kB / 426.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.045e-06/0.3233, allocations: 0 / 426.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.206e-05/0.3234, allocations: 0 / 426.5 MB, free: 14.96 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.005852/0.3293, allocations: 2.477 MB / 429 MB, free: 12.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.3293, allocations: 8.031 kB / 429 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007793/0.3301, allocations: 250.2 kB / 429.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002114/0.3323, allocations: 1.305 MB / 430.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.3324, allocations: 131.9 kB / 430.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002669/0.3327, allocations: 188 kB / 430.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004399/0.3371, allocations: 2.374 MB / 433.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.804e-05/0.3372, allocations: 11.98 kB / 433.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001792/0.3374, allocations: 68 kB / 433.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00013/0.3375, allocations: 99.44 kB / 433.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003744/0.3412, allocations: 1.958 MB / 435.4 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01144/0.3527, allocations: 7.062 MB / 442.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/0.3545, allocations: 1.286 MB / 443.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001572/0.3561, allocations: 0.8581 MB / 444.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002486/0.3564, allocations: 122.1 kB / 444.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.3564, allocations: 39.56 kB / 444.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.965e-06/0.3565, allocations: 0 / 444.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.01401/0.3705, allocations: 6.093 MB / 450.8 MB, free: 6.062 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.3706, allocations: 76.34 kB / 450.9 MB, free: 5.973 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/0.3725, allocations: 1.207 MB / 452.1 MB, free: 4.754 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001333/0.3727, allocations: 41.7 kB / 452.2 MB, free: 4.707 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006571/0.3734, allocations: 0.8651 MB / 453 MB, free: 3.828 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003495/0.3737, allocations: 370.8 kB / 453.4 MB, free: 3.461 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003411/0.3741, allocations: 214.8 kB / 453.6 MB, free: 3.246 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3742, allocations: 357.9 kB / 453.9 MB, free: 2.891 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.3752, allocations: 0.6233 MB / 454.6 MB, free: 2.266 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/0.3764, allocations: 0.9188 MB / 455.5 MB, free: 1.223 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002376/0.3788, allocations: 1.635 MB / 457.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/0.3789, allocations: 4 kB / 457.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0038/0.3827, allocations: 2.231 MB / 459.4 MB, free: 13.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.3827, allocations: 12.06 kB / 459.4 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/0.3827, allocations: 11.94 kB / 459.4 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/0.3838, allocations: 479.9 kB / 459.8 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009936/0.3848, allocations: 267.6 kB / 460.1 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006796/0.3916, allocations: 7.017 MB / 467.1 MB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.3929, allocations: 79.83 kB / 467.2 MB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-05/0.393, allocations: 51.98 kB / 467.3 MB, free: 4.855 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.00107/0.3941, allocations: 0.5912 MB / 467.8 MB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002515/0.3943, allocations: 134.4 kB / 468 MB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00347/0.3978, allocations: 2.035 MB / 470 MB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.3978, allocations: 12 kB / 470 MB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.3978, allocations: 4 kB / 470 MB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.3979, allocations: 3.984 kB / 470 MB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006746/0.4046, allocations: 4.211 MB / 474.2 MB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/0.4047, allocations: 4.469 kB / 474.2 MB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000752/0.4054, allocations: 179.8 kB / 474.4 MB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001303/0.4067, allocations: 0.5231 MB / 474.9 MB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.673e-05/0.4068, allocations: 31.98 kB / 475 MB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008097/0.4149, allocations: 8.631 MB / 483.6 MB, free: 3.734 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.415, allocations: 7.938 kB / 483.6 MB, free: 3.727 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004813/0.4198, allocations: 2.941 MB / 486.6 MB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007658/0.4206, allocations: 339.4 kB / 486.9 MB, free: 340 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000339/0.4209, allocations: 28 kB / 486.9 MB, free: 312 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009439/0.4219, allocations: 79.86 kB / 487 MB, free: 232 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002337/0.4221, allocations: 84.81 kB / 487.1 MB, free: 148 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.326e-05/0.4222, allocations: 35.98 kB / 487.1 MB, free: 112 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001506/0.4237, allocations: 0.8421 MB / 487.9 MB, free: 15.26 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4237, allocations: 0 / 487.9 MB, free: 15.26 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001753/0.4255, allocations: 416 kB / 488.4 MB, free: 14.85 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.0004352/0.4259, allocations: 186.9 kB / 488.5 MB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003811/0.4298, allocations: 2.173 MB / 490.7 MB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.4298, allocations: 0 / 490.7 MB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002385/0.4322, allocations: 1.468 MB / 492.2 MB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/0.4344, allocations: 396.7 kB / 492.6 MB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007071/0.4415, allocations: 3.893 MB / 496.5 MB, free: 6.512 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001622/0.4431, allocations: 1.634 MB / 498.1 MB, free: 4.844 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001043/0.4442, allocations: 299.8 kB / 498.4 MB, free: 4.547 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003572/0.4446, allocations: 95.42 kB / 498.5 MB, free: 4.453 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4446, allocations: 0 / 498.5 MB, free: 4.453 MB / 414.1 MB Notification: Performance of Templates: time 0.04076/0.4853, allocations: 22.64 MB / 0.5089 GB, free: 14.03 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile (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 & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/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