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.0008008/0.0008008, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 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.0009138/0.0009138, allocations: 172.2 kB / 24.82 MB, free: 9.312 MB / 18.57 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 0.9276/0.9276, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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.[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_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.[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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 273.4 MB, free: 1.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.44e-05/1.603e-05, allocations: 9.625 kB / 273.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.009989/0.01, allocations: 12.89 MB / 286.3 MB, free: 4.332 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1211/0.1311, allocations: 4.393 MB / 290.7 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002402/0.1335, allocations: 98.03 kB / 290.8 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002428/0.1359, allocations: 0.9891 MB / 291.8 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003301/0.1392, allocations: 1.327 MB / 293.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.1407, allocations: 0.8695 MB / 294 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004098/0.1448, allocations: 4.119 MB / 298.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002427/0.1472, allocations: 1.736 MB / 299.8 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003986/0.1512, allocations: 2.894 MB / 302.7 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002591/0.1538, allocations: 1.915 MB / 304.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001137/0.155, allocations: 0.493 MB / 305.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.1562, allocations: 0.7005 MB / 305.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005738/0.1568, allocations: 1.134 MB / 307 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001579/0.1584, allocations: 1.414 MB / 308.4 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002904/0.1613, allocations: 3.387 MB / 311.8 MB, free: 8.211 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1613, allocations: 0 / 311.8 MB, free: 8.211 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1613, allocations: 0 / 311.8 MB, free: 8.211 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001282/0.1614, allocations: 0 / 311.8 MB, free: 8.211 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.005319/0.1667, allocations: 4.432 MB / 316.2 MB, free: 4.168 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.1668, allocations: 8.031 kB / 316.2 MB, free: 4.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002292/0.1691, allocations: 1.138 MB / 317.3 MB, free: 3.027 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001945/0.171, allocations: 2.178 MB / 319.5 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.554e-05/0.1711, allocations: 238.4 kB / 319.8 MB, free: 0.668 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002486/0.1714, allocations: 314 kB / 320.1 MB, free: 376 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002623/0.174, allocations: 2.335 MB / 322.4 MB, free: 14.07 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.34e-05/0.174, allocations: 4 kB / 322.4 MB, free: 14.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000191/0.1742, allocations: 125.1 kB / 322.5 MB, free: 13.95 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/0.1743, allocations: 150.3 kB / 322.7 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/0.1757, allocations: 0.9163 MB / 323.6 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0113/0.187, allocations: 10.28 MB / 333.9 MB, free: 3 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002322/0.1893, allocations: 1.869 MB / 335.7 MB, free: 1.305 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.1905, allocations: 0.8986 MB / 336.6 MB, free: 444 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003321/0.1938, allocations: 2.5 MB / 339.1 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.1938, allocations: 46.39 kB / 339.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=120): time 3.397e-06/0.1938, allocations: 0 / 339.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=123): time 0.004474/0.1983, allocations: 2.712 MB / 341.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.1983, allocations: 67.78 kB / 342 MB, free: 11.15 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.1994, allocations: 1.299 MB / 343.3 MB, free: 10.03 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.726e-05/0.1995, allocations: 53.7 kB / 343.3 MB, free: 9.973 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007093/0.2002, allocations: 1.555 MB / 344.9 MB, free: 8.473 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004104/0.2006, allocations: 475.6 kB / 345.3 MB, free: 8.035 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003128/0.2009, allocations: 307.3 kB / 345.6 MB, free: 7.758 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.201, allocations: 480.7 kB / 346.1 MB, free: 7.285 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/0.2013, allocations: 179.8 kB / 346.3 MB, free: 7.109 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005801/0.2018, allocations: 0.8762 MB / 347.2 MB, free: 5.988 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009607/0.2028, allocations: 1.159 MB / 348.3 MB, free: 4.645 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.2028, allocations: 7.984 kB / 348.3 MB, free: 4.637 MB / 298.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001476/0.2043, allocations: 1.334 MB / 349.7 MB, free: 3.387 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.2043, allocations: 10.19 kB / 349.7 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.2043, allocations: 16.28 kB / 349.7 MB, free: 3.363 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004722/0.2048, allocations: 256.8 kB / 349.9 MB, free: 3.102 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006468/0.2055, allocations: 334.3 kB / 350.3 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003287/0.2087, allocations: 6.63 MB / 356.9 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005084/0.2092, allocations: 59.3 kB / 356.9 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.08e-05/0.2093, allocations: 56 kB / 357 MB, free: 11.79 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.0005119/0.2098, allocations: 256.7 kB / 357.2 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.21, allocations: 210.9 kB / 357.5 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.2114, allocations: 1.154 MB / 358.6 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.2114, allocations: 12 kB / 358.6 MB, free: 10.17 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.2114, allocations: 8 kB / 358.6 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.2114, allocations: 7.969 kB / 358.6 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003199/0.2146, allocations: 2.761 MB / 361.4 MB, free: 7.535 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.2146, allocations: 4 kB / 361.4 MB, free: 7.531 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003518/0.215, allocations: 147.8 kB / 361.5 MB, free: 7.387 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007047/0.2157, allocations: 415.5 kB / 362 MB, free: 6.969 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.896e-05/0.2157, allocations: 39.97 kB / 362 MB, free: 6.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005525/0.2213, allocations: 11.41 MB / 373.4 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2213, allocations: 4 kB / 373.4 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.2232, allocations: 1.541 MB / 374.9 MB, free: 9.457 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004207/0.2237, allocations: 286.8 kB / 375.2 MB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.2238, allocations: 31.98 kB / 375.3 MB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003661/0.2241, allocations: 51.97 kB / 375.3 MB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.2243, allocations: 104.7 kB / 375.4 MB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.457e-05/0.2243, allocations: 27.98 kB / 375.4 MB, free: 8.965 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00058/0.2249, allocations: 0.7027 MB / 376.1 MB, free: 8.328 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2249, allocations: 0 / 376.1 MB, free: 8.328 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001461/0.2264, allocations: 0.539 MB / 376.7 MB, free: 7.789 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.0002471/0.2266, allocations: 177.7 kB / 376.9 MB, free: 7.609 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001316/0.2279, allocations: 1.394 MB / 378.2 MB, free: 6.188 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2279, allocations: 0 / 378.2 MB, free: 6.188 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.229, allocations: 1.453 MB / 379.7 MB, free: 4.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.23, allocations: 439.1 kB / 380.1 MB, free: 4.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005593/0.2356, allocations: 4.776 MB / 384.9 MB, free: 15.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005983/0.2362, allocations: 0.7762 MB / 385.7 MB, free: 14.61 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005186/0.2367, allocations: 226.5 kB / 385.9 MB, free: 14.39 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006473/0.2373, allocations: 481.9 kB / 386.4 MB, free: 13.91 MB / 346.7 MB Notification: Performance of SimCode: time 8.92e-07/0.2373, allocations: 0 / 386.4 MB, free: 13.91 MB / 346.7 MB Notification: Performance of Templates: time 0.03738/0.2747, allocations: 27.22 MB / 413.6 MB, free: 3.191 MB / 362.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] 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","",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.3080626339651644]