Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 107.1 kB / 20.44 MB, free: 1.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 206.9 kB / 23.72 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 51.92 kB / 378.2 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2336, allocations: 53.37 MB / 431.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01664/0.2502, allocations: 11.78 MB / 443.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008882/0.2591, allocations: 4.264 MB / 447.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/0.2612, allocations: 99.38 kB / 447.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002973/0.2642, allocations: 0.9824 MB / 448.7 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004235/0.2684, allocations: 1.286 MB / 450 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002302/0.2707, allocations: 0.8712 MB / 450.9 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005714/0.2764, allocations: 3.937 MB / 454.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002931/0.2793, allocations: 1.788 MB / 456.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003064/0.2824, allocations: 1.904 MB / 458.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004088/0.2865, allocations: 2.219 MB / 460.7 MB, free: 9.414 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009385/0.2874, allocations: 0.4961 MB / 461.2 MB, free: 8.918 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00165/0.2891, allocations: 0.7029 MB / 461.9 MB, free: 8.215 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001188/0.2903, allocations: 1.118 MB / 463 MB, free: 7.094 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002488/0.2928, allocations: 1.638 MB / 464.7 MB, free: 5.449 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007917/0.3007, allocations: 6.669 MB / 471.3 MB, free: 14.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3007, allocations: 0 / 471.3 MB, free: 14.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3007, allocations: 4 kB / 471.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001435/0.3008, allocations: 0 / 471.4 MB, free: 14.75 MB / 382.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.01171/0.3125, allocations: 4.348 MB / 475.7 MB, free: 10.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3126, allocations: 8.031 kB / 475.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004591/0.3172, allocations: 0.8027 MB / 476.5 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005554/0.3227, allocations: 2.345 MB / 478.9 MB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002241/0.3229, allocations: 238.2 kB / 479.1 MB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006668/0.3236, allocations: 311.9 kB / 479.4 MB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008047/0.3317, allocations: 4.381 MB / 483.8 MB, free: 2.137 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.989e-05/0.3317, allocations: 4 kB / 483.8 MB, free: 2.133 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003123/0.332, allocations: 128 kB / 483.9 MB, free: 2.008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001676/0.3322, allocations: 150.2 kB / 484 MB, free: 1.859 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006648/0.3389, allocations: 3.609 MB / 487.7 MB, free: 14.24 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02039/0.3592, allocations: 11.19 MB / 498.8 MB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00559/0.3648, allocations: 2.642 MB / 0.4897 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003061/0.3679, allocations: 1.515 MB / 0.4912 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007114/0.375, allocations: 3.333 MB / 0.4945 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.829e-05/0.3751, allocations: 47.56 kB / 0.4945 GB, free: 11.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 3.487e-06/0.3751, allocations: 0 / 0.4945 GB, free: 11.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01135/0.3864, allocations: 4.974 MB / 0.4994 GB, free: 6.281 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.3865, allocations: 64.41 kB / 0.4994 GB, free: 6.203 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002308/0.3888, allocations: 1.529 MB / 0.5009 GB, free: 4.664 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.38e-05/0.3889, allocations: 45.7 kB / 0.501 GB, free: 4.613 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001176/0.39, allocations: 1.453 MB / 0.5024 GB, free: 3.148 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004025/0.3904, allocations: 456.1 kB / 0.5028 GB, free: 2.699 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004807/0.3909, allocations: 295.4 kB / 0.5031 GB, free: 2.406 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.3911, allocations: 301.1 kB / 0.5034 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.3923, allocations: 0.6598 MB / 0.504 GB, free: 1.449 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/0.3939, allocations: 1.154 MB / 0.5052 GB, free: 92 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00294/0.3968, allocations: 1.89 MB / 0.507 GB, free: 14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.587e-06/0.3968, allocations: 4 kB / 0.507 GB, free: 14 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00428/0.4011, allocations: 2.32 MB / 0.5093 GB, free: 11.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.4011, allocations: 12 kB / 0.5093 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/0.4012, allocations: 19.92 kB / 0.5093 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008765/0.402, allocations: 315.3 kB / 0.5096 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/0.4035, allocations: 351.5 kB / 0.5099 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006869/0.4103, allocations: 6.188 MB / 0.516 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.4115, allocations: 75.91 kB / 0.5161 GB, free: 4.391 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/0.4116, allocations: 67.98 kB / 0.5161 GB, free: 4.324 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 (177): * Single equations (assignments): 173 * 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,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00169/0.4133, allocations: 1.001 MB / 0.5171 GB, free: 3.312 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002882/0.4136, allocations: 174.9 kB / 0.5173 GB, free: 3.141 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004106/0.4177, allocations: 2.018 MB / 0.5192 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.4177, allocations: 12 kB / 0.5193 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/0.4178, allocations: 11.98 kB / 0.5193 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.4178, allocations: 7.922 kB / 0.5193 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007618/0.4254, allocations: 4.089 MB / 0.5233 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.4254, allocations: 0 / 0.5233 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008145/0.4262, allocations: 167.8 kB / 0.5234 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00137/0.4276, allocations: 496 kB / 0.5239 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.351e-05/0.4277, allocations: 39.98 kB / 0.5239 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0119/0.4396, allocations: 10.72 MB / 0.5344 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.4396, allocations: 4.031 kB / 0.5344 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1972/0.6367, allocations: 2.927 MB / 0.5373 GB, free: 98.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/0.6379, allocations: 327.5 kB / 0.5376 GB, free: 98.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/0.6381, allocations: 29.41 kB / 0.5376 GB, free: 98.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008477/0.639, allocations: 65.08 kB / 0.5377 GB, free: 98.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002584/0.6392, allocations: 110.4 kB / 0.5378 GB, free: 98.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.237e-05/0.6393, allocations: 37.05 kB / 0.5378 GB, free: 98.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001424/0.6407, allocations: 1.024 MB / 0.5388 GB, free: 98.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6407, allocations: 0 / 0.5388 GB, free: 98.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001811/0.6426, allocations: 0.5454 MB / 0.5393 GB, free: 98.45 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 (83): * Single equations (assignments): 78 * 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,8,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.0002707/0.6428, allocations: 161.5 kB / 0.5395 GB, free: 98.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002952/0.6458, allocations: 1.99 MB / 0.5414 GB, free: 97.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.6458, allocations: 3.875 kB / 0.5414 GB, free: 97.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001992/0.6478, allocations: 1.497 MB / 0.5429 GB, free: 96.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/0.6496, allocations: 420.9 kB / 0.5433 GB, free: 96.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007418/0.657, allocations: 5.568 MB / 0.5487 GB, free: 93.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/0.6584, allocations: 1.736 MB / 0.5504 GB, free: 93.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009628/0.6594, allocations: 348.8 kB / 0.5508 GB, free: 92.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002634/0.6596, allocations: 114.8 kB / 0.5509 GB, free: 92.84 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6596, allocations: 0 / 0.5509 GB, free: 92.84 MB / 446.1 MB Notification: Performance of Templates: time 0.03902/0.6986, allocations: 29.93 MB / 0.5801 GB, free: 64.62 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 5.957974276971072]