Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 108.6 kB / 21.18 MB, free: 0.7812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 185.9 kB / 24.47 MB, free: 4.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.609/1.609, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] 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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 47.92 kB / 371.7 MB, free: 9.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2445, allocations: 52.18 MB / 423.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01637/0.2609, allocations: 12.92 MB / 436.8 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00913/0.27, allocations: 4.288 MB / 441.1 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0021/0.2721, allocations: 95.44 kB / 441.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003071/0.2752, allocations: 1.025 MB / 442.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004471/0.2797, allocations: 1.328 MB / 443.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0024/0.2821, allocations: 0.866 MB / 444.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005457/0.2875, allocations: 3.883 MB / 448.3 MB, free: 6.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002699/0.2902, allocations: 1.792 MB / 450.1 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002878/0.2931, allocations: 1.881 MB / 452 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003524/0.2966, allocations: 2.09 MB / 454.1 MB, free: 344 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000921/0.2976, allocations: 0.5 MB / 454.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001592/0.2992, allocations: 0.7028 MB / 455.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001137/0.3003, allocations: 1.118 MB / 456.4 MB, free: 14.01 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002743/0.303, allocations: 2.077 MB / 458.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008319/0.3113, allocations: 6.619 MB / 465.1 MB, free: 5.285 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3114, allocations: 0 / 465.1 MB, free: 5.285 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3114, allocations: 4 kB / 465.1 MB, free: 5.281 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001441/0.3115, allocations: 0 / 465.1 MB, free: 5.281 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01188/0.3234, allocations: 4.31 MB / 469.4 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.3234, allocations: 8.031 kB / 469.4 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004274/0.3277, allocations: 0.8261 MB / 470.2 MB, free: 80 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005254/0.3329, allocations: 2.344 MB / 472.6 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002408/0.3332, allocations: 238.4 kB / 472.8 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007914/0.334, allocations: 311.9 kB / 473.1 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009644/0.3436, allocations: 4.23 MB / 477.3 MB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.404e-05/0.3437, allocations: 0 / 477.3 MB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000367/0.3441, allocations: 124 kB / 477.5 MB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001816/0.3443, allocations: 158.3 kB / 477.6 MB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007891/0.3522, allocations: 3.605 MB / 481.2 MB, free: 4.973 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02626/0.3784, allocations: 12.79 MB / 494 MB, free: 7.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005985/0.3844, allocations: 2.625 MB / 496.6 MB, free: 5.355 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002575/0.387, allocations: 1.231 MB / 497.9 MB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007866/0.3948, allocations: 3.453 MB / 0.4896 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.014e-05/0.3949, allocations: 55.56 kB / 0.4896 GB, free: 0.582 MB / 398.1 MB Notification: Performance of pre-optimization done (n=120): time 3.626e-06/0.3949, allocations: 0 / 0.4896 GB, free: 0.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=123): time 0.01211/0.407, allocations: 4.814 MB / 0.4943 GB, free: 11.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/0.4071, allocations: 68.41 kB / 0.4944 GB, free: 11.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003699/0.4108, allocations: 1.698 MB / 0.496 GB, free: 9.941 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001757/0.4109, allocations: 45.7 kB / 0.4961 GB, free: 9.891 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001374/0.4123, allocations: 1.438 MB / 0.4975 GB, free: 8.438 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006035/0.4129, allocations: 456.1 kB / 0.4979 GB, free: 7.988 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006514/0.4136, allocations: 287.4 kB / 0.4982 GB, free: 7.703 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.4137, allocations: 301.1 kB / 0.4985 GB, free: 7.406 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/0.415, allocations: 0.652 MB / 0.4991 GB, free: 6.754 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001651/0.4166, allocations: 1.113 MB / 0.5002 GB, free: 5.441 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002997/0.4196, allocations: 1.874 MB / 0.502 GB, free: 3.367 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.238e-05/0.4196, allocations: 4 kB / 0.5021 GB, free: 3.363 MB / 414.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004437/0.4241, allocations: 2.246 MB / 0.5042 GB, free: 1.098 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/0.4241, allocations: 8 kB / 0.5043 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.891e-05/0.4241, allocations: 16.28 kB / 0.5043 GB, free: 1.074 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008001/0.4249, allocations: 278.1 kB / 0.5045 GB, free: 0.793 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/0.4264, allocations: 355.5 kB / 0.5049 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006674/0.4331, allocations: 5.896 MB / 0.5106 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.4344, allocations: 71.92 kB / 0.5107 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001999/0.4346, allocations: 67.98 kB / 0.5108 GB, free: 10.07 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (180): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(1,1,100.0%), (1,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001902/0.4365, allocations: 1.001 MB / 0.5117 GB, free: 9.055 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004657/0.437, allocations: 186.8 kB / 0.5119 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004282/0.4413, allocations: 1.964 MB / 0.5138 GB, free: 6.875 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.4413, allocations: 12 kB / 0.5138 GB, free: 6.863 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.856e-05/0.4413, allocations: 4 kB / 0.5139 GB, free: 6.859 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/0.4413, allocations: 7.969 kB / 0.5139 GB, free: 6.852 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0094/0.4507, allocations: 4.647 MB / 0.5184 GB, free: 2.109 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.4507, allocations: 4 kB / 0.5184 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008139/0.4515, allocations: 168 kB / 0.5186 GB, free: 1.941 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001364/0.4529, allocations: 450.8 kB / 0.519 GB, free: 1.488 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/0.453, allocations: 39.92 kB / 0.519 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01225/0.4653, allocations: 10.51 MB / 0.5293 GB, free: 6.379 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4653, allocations: 0 / 0.5293 GB, free: 6.379 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005493/0.4708, allocations: 2.848 MB / 0.5321 GB, free: 3.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/0.4718, allocations: 338.7 kB / 0.5324 GB, free: 3.148 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003841/0.4722, allocations: 31.98 kB / 0.5324 GB, free: 3.117 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009614/0.4732, allocations: 59.95 kB / 0.5325 GB, free: 3.059 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002718/0.4735, allocations: 112.7 kB / 0.5326 GB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.675e-05/0.4735, allocations: 35.98 kB / 0.5326 GB, free: 2.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002147/0.4757, allocations: 1.17 MB / 0.5338 GB, free: 1.746 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4757, allocations: 0 / 0.5338 GB, free: 1.746 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002044/0.4777, allocations: 0.5429 MB / 0.5343 GB, free: 1.203 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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 (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,5,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003464/0.4781, allocations: 163.4 kB / 0.5345 GB, free: 1.035 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.212/0.69, allocations: 1.931 MB / 0.5363 GB, free: 106.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.936e-06/0.69, allocations: 0.5625 kB / 0.5363 GB, free: 106.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003724/0.6938, allocations: 1.475 MB / 0.5378 GB, free: 106 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003559/0.6973, allocations: 0.5004 MB / 0.5383 GB, free: 106 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01288/0.7102, allocations: 5.564 MB / 0.5437 GB, free: 103.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002077/0.7123, allocations: 2.24 MB / 0.5459 GB, free: 102.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005203/0.7128, allocations: 136.5 kB / 0.546 GB, free: 102.5 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.7128, allocations: 0 / 0.546 GB, free: 102.5 MB / 446.1 MB Notification: Performance of Templates: time 0.08469/0.7975, allocations: 109.5 MB / 0.6529 GB, free: 13.5 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.222759605152532]