Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: 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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001603/0.001603, allocations: 119.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00182/0.00182, allocations: 210.7 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.417/1.417, allocations: 227.7 MB / 247.9 MB, free: 10.3 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 59.91 kB / 359.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2362, allocations: 50.55 MB / 410.2 MB, free: 1.492 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01162/0.2478, allocations: 8.893 MB / 419.1 MB, free: 8.562 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005852/0.2537, allocations: 2.886 MB / 422 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.2548, allocations: 47.81 kB / 422 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001628/0.2564, allocations: 0.6443 MB / 422.7 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.2584, allocations: 0.7457 MB / 423.4 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007258/0.2591, allocations: 327.5 kB / 423.8 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002517/0.2616, allocations: 2.241 MB / 426 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001655/0.2633, allocations: 1.274 MB / 427.3 MB, free: 340 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001493/0.2648, allocations: 1.032 MB / 428.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001812/0.2666, allocations: 1.277 MB / 429.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003816/0.267, allocations: 272 kB / 429.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006591/0.2676, allocations: 367.8 kB / 430.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007751/0.2684, allocations: 0.7674 MB / 431 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001302/0.2697, allocations: 1.206 MB / 432.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004373/0.2741, allocations: 3.546 MB / 435.7 MB, free: 7.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.2741, allocations: 4 kB / 435.7 MB, free: 7.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2741, allocations: 4 kB / 435.7 MB, free: 7.844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.442e-05/0.2742, allocations: 0 / 435.7 MB, free: 7.844 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.005214/0.2794, allocations: 2.545 MB / 438.3 MB, free: 5.238 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.2794, allocations: 12.03 kB / 438.3 MB, free: 5.227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007118/0.2801, allocations: 267.4 kB / 438.5 MB, free: 4.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002428/0.2825, allocations: 1.314 MB / 439.9 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.2827, allocations: 135.9 kB / 440 MB, free: 3.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003053/0.283, allocations: 187.9 kB / 440.2 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004009/0.287, allocations: 2.371 MB / 442.5 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.979e-05/0.287, allocations: 7.891 kB / 442.6 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001873/0.2872, allocations: 72 kB / 442.6 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001061/0.2873, allocations: 91.5 kB / 442.7 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003537/0.2909, allocations: 1.966 MB / 444.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01147/0.3023, allocations: 7.084 MB / 451.8 MB, free: 7.453 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001902/0.3042, allocations: 1.226 MB / 453 MB, free: 6.164 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001598/0.3058, allocations: 0.8073 MB / 453.8 MB, free: 5.355 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002506/0.3061, allocations: 118.1 kB / 453.9 MB, free: 5.219 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/0.3061, allocations: 47.55 kB / 454 MB, free: 5.164 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.615e-06/0.3061, allocations: 4 kB / 454 MB, free: 5.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.01462/0.3208, allocations: 6.116 MB / 460.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.3208, allocations: 60.41 kB / 460.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001883/0.3227, allocations: 1.223 MB / 461.4 MB, free: 13.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001083/0.3228, allocations: 41.7 kB / 461.4 MB, free: 13.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007176/0.3235, allocations: 0.887 MB / 462.3 MB, free: 12.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003459/0.3239, allocations: 388.6 kB / 462.7 MB, free: 12.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003709/0.3242, allocations: 218.9 kB / 462.9 MB, free: 12.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.3244, allocations: 353.9 kB / 463.2 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.3255, allocations: 0.6155 MB / 463.8 MB, free: 11.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.3269, allocations: 0.9266 MB / 464.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002485/0.3293, allocations: 1.635 MB / 466.4 MB, free: 8.254 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.3293, allocations: 7.938 kB / 466.4 MB, free: 8.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004088/0.3334, allocations: 2.228 MB / 468.6 MB, free: 5.977 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.3335, allocations: 12 kB / 468.7 MB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.3335, allocations: 12.25 kB / 468.7 MB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00115/0.3346, allocations: 483.9 kB / 469.1 MB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.3356, allocations: 267.6 kB / 469.4 MB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007598/0.3432, allocations: 7.022 MB / 476.4 MB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.3444, allocations: 75.92 kB / 476.5 MB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.3445, allocations: 51.98 kB / 476.5 MB, free: 13.64 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.001049/0.3456, allocations: 0.595 MB / 477.1 MB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002887/0.3459, allocations: 147 kB / 477.3 MB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003655/0.3495, allocations: 2.02 MB / 479.3 MB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.3495, allocations: 12 kB / 479.3 MB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.3495, allocations: 7.984 kB / 479.3 MB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.3495, allocations: 3.984 kB / 479.3 MB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007161/0.3567, allocations: 4.203 MB / 483.5 MB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/0.3567, allocations: 4 kB / 483.5 MB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007641/0.3575, allocations: 188.2 kB / 483.7 MB, free: 6.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001328/0.3588, allocations: 0.514 MB / 484.2 MB, free: 5.746 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.77e-05/0.3589, allocations: 31.98 kB / 484.3 MB, free: 5.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008813/0.3677, allocations: 8.635 MB / 492.9 MB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.3677, allocations: 4 kB / 492.9 MB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00496/0.3727, allocations: 2.946 MB / 495.9 MB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007502/0.3734, allocations: 352 kB / 496.2 MB, free: 9.113 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002434/0.3737, allocations: 35.92 kB / 496.2 MB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007944/0.3744, allocations: 71.92 kB / 496.3 MB, free: 9.008 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002172/0.3747, allocations: 88.81 kB / 496.4 MB, free: 8.922 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.609e-05/0.3747, allocations: 39.92 kB / 496.4 MB, free: 8.883 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001245/0.376, allocations: 0.8345 MB / 497.3 MB, free: 8.043 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.376, allocations: 4 kB / 497.3 MB, free: 8.039 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001468/0.3775, allocations: 411.9 kB / 497.7 MB, free: 7.637 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.0004003/0.3779, allocations: 184.5 kB / 497.8 MB, free: 7.449 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003594/0.3814, allocations: 2.095 MB / 499.9 MB, free: 5.273 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3815, allocations: 4.062 kB / 499.9 MB, free: 5.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002335/0.3838, allocations: 1.424 MB / 0.4896 GB, free: 3.777 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001825/0.3856, allocations: 398.8 kB / 0.49 GB, free: 3.398 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00642/0.392, allocations: 3.947 MB / 0.4939 GB, free: 15.37 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001442/0.3935, allocations: 1.638 MB / 0.4955 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008807/0.3944, allocations: 307.7 kB / 0.4957 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/0.3946, allocations: 95.42 kB / 0.4958 GB, free: 13.3 MB / 430.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3946, allocations: 0 / 0.4958 GB, free: 13.3 MB / 430.1 MB Notification: Performance of Templates: time 0.03961/0.4342, allocations: 22.89 MB / 0.5182 GB, free: 6.645 MB / 446.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/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_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches