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.001814/0.001814, allocations: 81.03 kB / 20.68 MB, free: 1.023 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.002126/0.002126, allocations: 147.4 kB / 23.94 MB, free: 4.164 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.436/1.436, allocations: 173.4 MB / 200.4 MB, free: 12.86 MB / 190.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 1.343e-06/1.343e-06, allocations: 0 / 318.9 MB, free: 3.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.023e-05, allocations: 2.281 kB / 319 MB, free: 3.539 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01341/0.01343, allocations: 11.25 MB / 330.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009601/0.02303, allocations: 4.017 MB / 334.2 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002365/0.0254, allocations: 98.09 kB / 334.3 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003326/0.02873, allocations: 0.9739 MB / 335.3 MB, free: 8.719 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004721/0.03345, allocations: 1.339 MB / 336.6 MB, free: 7.613 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002643/0.03609, allocations: 0.8307 MB / 337.5 MB, free: 6.941 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006223/0.04231, allocations: 4.07 MB / 341.5 MB, free: 4.363 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003681/0.04599, allocations: 1.711 MB / 343.2 MB, free: 3.234 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005566/0.05156, allocations: 2.753 MB / 346 MB, free: 484 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003675/0.05523, allocations: 1.754 MB / 347.7 MB, free: 14.71 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001148/0.05638, allocations: 0.4961 MB / 348.2 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002185/0.05857, allocations: 0.6909 MB / 348.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001503/0.06007, allocations: 1.13 MB / 350.1 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00294/0.06301, allocations: 1.407 MB / 351.5 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008191/0.0712, allocations: 6.665 MB / 358.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.07121, allocations: 0 / 358.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.688e-06/0.07122, allocations: 0 / 358.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001012/0.07132, allocations: 0 / 358.1 MB, free: 4.297 MB / 318.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.01146/0.08278, allocations: 4.29 MB / 362.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.08283, allocations: 12.92 kB / 362.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004729/0.08755, allocations: 0.8106 MB / 363.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005145/0.0927, allocations: 2.316 MB / 365.6 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002272/0.09293, allocations: 234.6 kB / 365.8 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006884/0.09361, allocations: 316.3 kB / 366.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008077/0.1017, allocations: 4.381 MB / 370.5 MB, free: 7.758 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.829e-05/0.1018, allocations: 4 kB / 370.5 MB, free: 7.754 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003307/0.1021, allocations: 124 kB / 370.6 MB, free: 7.633 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001726/0.1023, allocations: 150.3 kB / 370.8 MB, free: 7.484 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006696/0.109, allocations: 3.601 MB / 374.4 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01918/0.1281, allocations: 11.16 MB / 385.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005248/0.1334, allocations: 2.606 MB / 388.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002119/0.1355, allocations: 1.235 MB / 389.4 MB, free: 4.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00567/0.1412, allocations: 3.084 MB / 392.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.1412, allocations: 47.56 kB / 392.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 2.815e-06/0.1412, allocations: 4 kB / 392.5 MB, free: 1.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=123): time 0.01036/0.1516, allocations: 4.794 MB / 397.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.1516, allocations: 64.41 kB / 397.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002104/0.1537, allocations: 1.505 MB / 398.9 MB, free: 11.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.103e-05/0.1538, allocations: 53.7 kB / 398.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001082/0.1549, allocations: 1.445 MB / 400.4 MB, free: 9.586 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003623/0.1553, allocations: 448.2 kB / 400.8 MB, free: 9.145 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004458/0.1557, allocations: 283.5 kB / 401.1 MB, free: 8.863 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1558, allocations: 305.1 kB / 401.4 MB, free: 8.562 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.157, allocations: 0.6442 MB / 402 MB, free: 7.918 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.1585, allocations: 1.139 MB / 403.1 MB, free: 6.574 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002771/0.1613, allocations: 1.871 MB / 405 MB, free: 4.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.828e-06/0.1613, allocations: 8 kB / 405 MB, free: 4.492 MB / 366.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.0039/0.1652, allocations: 2.233 MB / 407.3 MB, free: 2.238 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.1652, allocations: 12 kB / 407.3 MB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/0.1652, allocations: 16 kB / 407.3 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000699/0.1659, allocations: 267.5 kB / 407.5 MB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/0.1673, allocations: 355.4 kB / 407.9 MB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006133/0.1734, allocations: 5.765 MB / 413.7 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.1748, allocations: 80.09 kB / 413.7 MB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001451/0.175, allocations: 71.98 kB / 413.8 MB, free: 11.37 MB / 382.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.002044/0.177, allocations: 0.9969 MB / 414.8 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003393/0.1773, allocations: 174.9 kB / 415 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004078/0.1814, allocations: 1.944 MB / 416.9 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.1814, allocations: 12 kB / 416.9 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/0.1814, allocations: 8 kB / 416.9 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.728e-05/0.1815, allocations: 7.969 kB / 416.9 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00761/0.1891, allocations: 3.967 MB / 420.9 MB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.1891, allocations: 0 / 420.9 MB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007936/0.1899, allocations: 175.7 kB / 421.1 MB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001226/0.1911, allocations: 446.2 kB / 421.5 MB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.141e-05/0.1912, allocations: 39.98 kB / 421.6 MB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01101/0.2022, allocations: 10.29 MB / 431.8 MB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2022, allocations: 0 / 431.8 MB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005089/0.2073, allocations: 2.832 MB / 434.7 MB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000732/0.208, allocations: 318.8 kB / 435 MB, free: 5.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002132/0.2082, allocations: 28 kB / 435 MB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008282/0.2091, allocations: 63.94 kB / 435.1 MB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002629/0.2093, allocations: 104.9 kB / 435.2 MB, free: 5.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.648e-05/0.2094, allocations: 35.94 kB / 435.2 MB, free: 5.273 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001542/0.211, allocations: 1.021 MB / 436.2 MB, free: 4.254 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.211, allocations: 4 kB / 436.2 MB, free: 4.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001827/0.2128, allocations: 0.5351 MB / 436.8 MB, free: 3.715 MB / 398.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.0003147/0.2131, allocations: 159 kB / 436.9 MB, free: 3.551 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003311/0.2164, allocations: 1.95 MB / 438.9 MB, free: 1.562 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2164, allocations: 0 / 438.9 MB, free: 1.562 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002354/0.2188, allocations: 1.472 MB / 440.4 MB, free: 24 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/0.2206, allocations: 408.9 kB / 440.8 MB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008886/0.2295, allocations: 5.357 MB / 446.1 MB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001987/0.2315, allocations: 1.727 MB / 447.8 MB, free: 8.461 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001072/0.2325, allocations: 362.1 kB / 448.2 MB, free: 8.102 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003244/0.2329, allocations: 112.5 kB / 448.3 MB, free: 7.988 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.2329, allocations: 3.938 kB / 448.3 MB, free: 7.984 MB / 414.1 MB Notification: Performance of Templates: time 0.1817/0.4146, allocations: 24.82 MB / 473.1 MB, free: 128.2 MB / 430.1 MB " [Timeout remaining time 660] 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/jenkins/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/jenkins/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: 5.572447661310434]