Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009431/0.0009431, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001039/0.001039, allocations: 171.8 kB / 24.82 MB, free: 9.254 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9641/0.9641, allocations: 177 MB / 205.1 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_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.[0-9,]+.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.178e-05, allocations: 9.125 kB / 273.4 MB, free: 1.191 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01073/0.01075, allocations: 12.89 MB / 286.2 MB, free: 4.234 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1233/0.134, allocations: 4.394 MB / 290.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002185/0.1362, allocations: 101.2 kB / 290.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002259/0.1384, allocations: 0.9903 MB / 291.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0031/0.1415, allocations: 1.322 MB / 293.1 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001545/0.1431, allocations: 0.8752 MB / 293.9 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003981/0.1471, allocations: 4.125 MB / 298.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002366/0.1494, allocations: 1.734 MB / 299.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004193/0.1536, allocations: 2.894 MB / 302.7 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002927/0.1566, allocations: 1.919 MB / 304.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001418/0.158, allocations: 0.4936 MB / 305.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.1596, allocations: 0.7035 MB / 305.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007226/0.1603, allocations: 1.136 MB / 306.9 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001912/0.1622, allocations: 1.414 MB / 308.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003201/0.1654, allocations: 3.387 MB / 311.7 MB, free: 8.094 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1654, allocations: 0 / 311.7 MB, free: 8.094 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1654, allocations: 0 / 311.7 MB, free: 8.094 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001234/0.1655, allocations: 3.156 kB / 311.7 MB, free: 8.094 MB / 266.7 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.005184/0.1707, allocations: 4.438 MB / 316.2 MB, free: 4.027 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.1707, allocations: 11.98 kB / 316.2 MB, free: 4.016 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00316/0.1739, allocations: 1.133 MB / 317.3 MB, free: 2.887 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002455/0.1764, allocations: 2.191 MB / 319.5 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.1765, allocations: 238 kB / 319.7 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000324/0.1768, allocations: 316.5 kB / 320.1 MB, free: 216 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003344/0.1801, allocations: 2.329 MB / 322.4 MB, free: 13.92 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.582e-05/0.1802, allocations: 0 / 322.4 MB, free: 13.92 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002388/0.1804, allocations: 126.9 kB / 322.5 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000136/0.1806, allocations: 154.3 kB / 322.7 MB, free: 13.65 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.1826, allocations: 0.9236 MB / 323.6 MB, free: 12.72 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01286/0.1955, allocations: 10.28 MB / 333.9 MB, free: 2.844 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002916/0.1984, allocations: 1.875 MB / 335.7 MB, free: 1.148 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001411/0.1998, allocations: 0.8882 MB / 336.6 MB, free: 288 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003928/0.2037, allocations: 2.501 MB / 339.1 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.2037, allocations: 50.39 kB / 339.2 MB, free: 13.78 MB / 298.7 MB Notification: Performance of pre-optimization done (n=120): time 2.594e-06/0.2037, allocations: 0 / 339.2 MB, free: 13.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=123): time 0.005465/0.2092, allocations: 2.713 MB / 341.9 MB, free: 11.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.2092, allocations: 67.78 kB / 342 MB, free: 10.99 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.2107, allocations: 1.312 MB / 343.3 MB, free: 9.863 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.688e-05/0.2108, allocations: 49.7 kB / 343.3 MB, free: 9.809 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009926/0.2118, allocations: 1.565 MB / 344.9 MB, free: 8.301 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003408/0.2121, allocations: 471.2 kB / 345.3 MB, free: 7.867 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004098/0.2125, allocations: 308.2 kB / 345.6 MB, free: 7.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002488/0.2128, allocations: 480.7 kB / 346.1 MB, free: 7.117 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003292/0.2131, allocations: 175.8 kB / 346.3 MB, free: 6.945 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007052/0.2138, allocations: 0.8756 MB / 347.2 MB, free: 5.824 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.215, allocations: 1.162 MB / 348.3 MB, free: 4.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/0.215, allocations: 8 kB / 348.3 MB, free: 4.473 MB / 298.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001941/0.217, allocations: 1.341 MB / 349.7 MB, free: 3.215 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.217, allocations: 12.28 kB / 349.7 MB, free: 3.203 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.217, allocations: 16 kB / 349.7 MB, free: 3.188 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006029/0.2176, allocations: 257.5 kB / 349.9 MB, free: 2.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008742/0.2185, allocations: 334.2 kB / 350.3 MB, free: 2.625 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003644/0.2221, allocations: 6.617 MB / 356.9 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005743/0.2227, allocations: 59.88 kB / 356.9 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.874e-05/0.2228, allocations: 59.98 kB / 357 MB, free: 11.63 MB / 314.7 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.0005776/0.2233, allocations: 258.7 kB / 357.3 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/0.2235, allocations: 206.9 kB / 357.5 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/0.225, allocations: 1.147 MB / 358.6 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.225, allocations: 12 kB / 358.6 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/0.225, allocations: 12 kB / 358.6 MB, free: 9.988 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.225, allocations: 7.984 kB / 358.6 MB, free: 9.98 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003672/0.2287, allocations: 2.764 MB / 361.4 MB, free: 7.348 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2287, allocations: 0 / 361.4 MB, free: 7.348 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003595/0.229, allocations: 156 kB / 361.6 MB, free: 7.195 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007662/0.2298, allocations: 422.1 kB / 362 MB, free: 6.777 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-05/0.2299, allocations: 35.98 kB / 362 MB, free: 6.742 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005783/0.2356, allocations: 11.41 MB / 373.4 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.2356, allocations: 8.031 kB / 373.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.2374, allocations: 1.537 MB / 375 MB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007243/0.2381, allocations: 282.8 kB / 375.2 MB, free: 8.988 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.2382, allocations: 31.98 kB / 375.3 MB, free: 8.957 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003583/0.2386, allocations: 51.98 kB / 375.3 MB, free: 8.906 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.2387, allocations: 104.7 kB / 375.4 MB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.504e-05/0.2388, allocations: 27.98 kB / 375.4 MB, free: 8.777 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005659/0.2393, allocations: 0.7057 MB / 376.2 MB, free: 8.137 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2393, allocations: 0 / 376.2 MB, free: 8.137 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001362/0.2407, allocations: 0.539 MB / 376.7 MB, free: 7.598 MB / 330.7 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.0002437/0.2409, allocations: 178 kB / 376.9 MB, free: 7.418 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001315/0.2422, allocations: 1.397 MB / 378.3 MB, free: 5.988 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2422, allocations: 4 kB / 378.3 MB, free: 5.984 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.2433, allocations: 1.454 MB / 379.7 MB, free: 4.457 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009967/0.2443, allocations: 431.8 kB / 380.1 MB, free: 4.051 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005888/0.2502, allocations: 4.786 MB / 384.9 MB, free: 15.21 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000593/0.2508, allocations: 0.7763 MB / 385.7 MB, free: 14.41 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005679/0.2513, allocations: 230.5 kB / 385.9 MB, free: 14.18 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006507/0.252, allocations: 477.9 kB / 386.4 MB, free: 13.71 MB / 346.7 MB Notification: Performance of SimCode: time 9.52e-07/0.252, allocations: 4 kB / 386.4 MB, free: 13.71 MB / 346.7 MB Notification: Performance of Templates: time 0.0365/0.2885, allocations: 27.22 MB / 413.6 MB, free: 2.949 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.372053689789027]