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.001354/0.001354, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001451/0.001451, allocations: 211.7 kB / 23.73 MB, free: 4.16 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.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.001763/0.001763, allocations: 51.92 kB / 378.2 MB, free: 2.543 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2427, allocations: 53.37 MB / 431.6 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01523/0.258, allocations: 11.78 MB / 443.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008363/0.2663, allocations: 4.258 MB / 447.6 MB, free: 6.645 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001888/0.2682, allocations: 107.3 kB / 447.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002817/0.271, allocations: 0.9708 MB / 448.7 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003896/0.2749, allocations: 1.289 MB / 450 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00234/0.2773, allocations: 0.8725 MB / 450.9 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004981/0.2822, allocations: 3.94 MB / 454.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003174/0.2854, allocations: 1.714 MB / 456.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003007/0.2884, allocations: 1.901 MB / 458.4 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003784/0.2922, allocations: 2.09 MB / 460.5 MB, free: 9.652 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001036/0.2932, allocations: 0.4961 MB / 461 MB, free: 9.156 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001937/0.2952, allocations: 0.7107 MB / 461.7 MB, free: 8.445 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001592/0.2968, allocations: 1.102 MB / 462.8 MB, free: 7.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003226/0.3, allocations: 1.646 MB / 464.5 MB, free: 5.688 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009258/0.3093, allocations: 6.677 MB / 471.2 MB, free: 14.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3093, allocations: 4 kB / 471.2 MB, free: 14.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3093, allocations: 0 / 471.2 MB, free: 14.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001452/0.3094, allocations: 0 / 471.2 MB, free: 14.98 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.01176/0.3212, allocations: 4.334 MB / 475.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.3212, allocations: 12.03 kB / 475.5 MB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004317/0.3255, allocations: 0.8066 MB / 476.3 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005262/0.3308, allocations: 2.333 MB / 478.6 MB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002332/0.331, allocations: 242.2 kB / 478.9 MB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006887/0.3317, allocations: 308 kB / 479.2 MB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007613/0.3393, allocations: 4.385 MB / 483.6 MB, free: 2.379 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.246e-05/0.3394, allocations: 8 kB / 483.6 MB, free: 2.371 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000288/0.3397, allocations: 120 kB / 483.7 MB, free: 2.254 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001645/0.3399, allocations: 154.3 kB / 483.8 MB, free: 2.102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006379/0.3462, allocations: 3.601 MB / 487.4 MB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01964/0.3659, allocations: 11.19 MB / 498.6 MB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005395/0.3713, allocations: 2.648 MB / 0.4895 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002989/0.3743, allocations: 1.5 MB / 0.491 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006974/0.3812, allocations: 3.341 MB / 0.4943 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.089e-05/0.3813, allocations: 43.56 kB / 0.4943 GB, free: 11.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 4.168e-06/0.3813, allocations: 8 kB / 0.4943 GB, free: 11.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01142/0.3927, allocations: 4.963 MB / 0.4992 GB, free: 6.543 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.3928, allocations: 68.34 kB / 0.4992 GB, free: 6.461 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002382/0.3951, allocations: 1.533 MB / 0.5007 GB, free: 4.918 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-05/0.3952, allocations: 45.7 kB / 0.5008 GB, free: 4.867 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001112/0.3964, allocations: 1.461 MB / 0.5022 GB, free: 3.395 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004083/0.3968, allocations: 456.1 kB / 0.5026 GB, free: 2.945 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004467/0.3972, allocations: 283.5 kB / 0.5029 GB, free: 2.664 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.3973, allocations: 305.1 kB / 0.5032 GB, free: 2.363 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/0.3985, allocations: 0.6636 MB / 0.5038 GB, free: 1.699 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00154/0.4, allocations: 1.146 MB / 0.5049 GB, free: 356 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002821/0.4028, allocations: 1.902 MB / 0.5068 GB, free: 14.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/0.4029, allocations: 4 kB / 0.5068 GB, free: 14.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004269/0.4071, allocations: 2.312 MB / 0.5091 GB, free: 11.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.4071, allocations: 8 kB / 0.5091 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/0.4072, allocations: 19.94 kB / 0.5091 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008503/0.408, allocations: 326.1 kB / 0.5094 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/0.4093, allocations: 343.4 kB / 0.5097 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006568/0.4159, allocations: 6.189 MB / 0.5158 GB, free: 4.719 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.4173, allocations: 71.92 kB / 0.5158 GB, free: 4.648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/0.4174, allocations: 71.98 kB / 0.5159 GB, free: 4.578 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.001723/0.4191, allocations: 1.005 MB / 0.5169 GB, free: 3.562 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003514/0.4195, allocations: 170.9 kB / 0.5171 GB, free: 3.395 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00396/0.4234, allocations: 2.026 MB / 0.519 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.4234, allocations: 12 kB / 0.519 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.4234, allocations: 4 kB / 0.5191 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.4234, allocations: 11.92 kB / 0.5191 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007801/0.4312, allocations: 4.081 MB / 0.523 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.4313, allocations: 4 kB / 0.5231 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007713/0.432, allocations: 167.8 kB / 0.5232 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001375/0.4334, allocations: 0.4953 MB / 0.5237 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.4335, allocations: 35.98 kB / 0.5237 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01275/0.4463, allocations: 10.71 MB / 0.5342 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.675e-06/0.4463, allocations: 4.031 kB / 0.5342 GB, free: 1.215 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2118/0.6581, allocations: 2.931 MB / 0.5371 GB, free: 98.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/0.6591, allocations: 327.7 kB / 0.5374 GB, free: 98.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/0.6594, allocations: 28.47 kB / 0.5374 GB, free: 98.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008238/0.6602, allocations: 64.2 kB / 0.5375 GB, free: 98.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002529/0.6604, allocations: 110.4 kB / 0.5376 GB, free: 98.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.707e-05/0.6605, allocations: 37.11 kB / 0.5376 GB, free: 98.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001438/0.6619, allocations: 1.024 MB / 0.5386 GB, free: 98.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6619, allocations: 0 / 0.5386 GB, free: 98.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001879/0.6638, allocations: 0.5433 MB / 0.5391 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.0002855/0.6641, allocations: 165 kB / 0.5393 GB, free: 98.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003121/0.6672, allocations: 1.988 MB / 0.5412 GB, free: 97.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6672, allocations: 0 / 0.5412 GB, free: 97.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002023/0.6693, allocations: 1.504 MB / 0.5427 GB, free: 96.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001734/0.671, allocations: 425.2 kB / 0.5431 GB, free: 96.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007348/0.6783, allocations: 5.558 MB / 0.5485 GB, free: 93.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001406/0.6797, allocations: 1.734 MB / 0.5502 GB, free: 93.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009789/0.6807, allocations: 358.6 kB / 0.5506 GB, free: 93.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/0.681, allocations: 112 kB / 0.5507 GB, free: 92.98 MB / 446.1 MB Notification: Performance of SimCode: time 7.31e-07/0.681, allocations: 0 / 0.5507 GB, free: 92.98 MB / 446.1 MB Notification: Performance of Templates: time 0.03967/0.7207, allocations: 29.32 MB / 0.5793 GB, free: 65.42 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.749427447095513]