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.001599/0.001599, allocations: 89.22 kB / 20.68 MB, free: 1.02 MB / 14.72 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.001712/0.001712, allocations: 158.6 kB / 23.95 MB, free: 4.152 MB / 14.72 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 1.433/1.433, allocations: 177 MB / 204.1 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.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_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.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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 1.188 kB / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.282e-05, allocations: 6.219 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01493/0.01495, allocations: 11.79 MB / 336.8 MB, free: 8.297 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008729/0.02368, allocations: 4.284 MB / 341.1 MB, free: 4.816 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001418/0.0251, allocations: 101.4 kB / 341.2 MB, free: 4.777 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00238/0.02748, allocations: 0.9871 MB / 342.2 MB, free: 3.863 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003275/0.03075, allocations: 1.316 MB / 343.5 MB, free: 2.535 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001945/0.0327, allocations: 0.8683 MB / 344.4 MB, free: 1.668 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004705/0.0374, allocations: 4.137 MB / 348.5 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002448/0.03985, allocations: 1.722 MB / 350.2 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003828/0.04368, allocations: 2.768 MB / 353 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002914/0.04659, allocations: 1.761 MB / 354.8 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007318/0.04732, allocations: 0.5 MB / 355.3 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.04877, allocations: 0.7066 MB / 356 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001082/0.04985, allocations: 1.133 MB / 357.1 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001838/0.05169, allocations: 1.411 MB / 358.5 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007486/0.05917, allocations: 6.696 MB / 365.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.05918, allocations: 3.938 kB / 365.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.05918, allocations: 0 / 365.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001037/0.05928, allocations: 0 / 365.2 MB, free: 12.71 MB / 334.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.01074/0.07002, allocations: 4.306 MB / 369.5 MB, free: 8.348 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.07006, allocations: 15.98 kB / 369.5 MB, free: 8.332 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004426/0.07448, allocations: 0.8105 MB / 370.4 MB, free: 7.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004342/0.07883, allocations: 2.332 MB / 372.7 MB, free: 5.133 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.07902, allocations: 234.6 kB / 372.9 MB, free: 4.902 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005168/0.07954, allocations: 316.2 kB / 373.2 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007438/0.08698, allocations: 4.381 MB / 377.6 MB, free: 128 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.619e-05/0.08704, allocations: 4 kB / 377.6 MB, free: 124 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003367/0.08738, allocations: 128.1 kB / 377.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001609/0.08754, allocations: 154.3 kB / 377.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006475/0.09401, allocations: 3.605 MB / 381.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02094/0.115, allocations: 11.19 MB / 392.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006103/0.1211, allocations: 2.641 MB / 395.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003245/0.1243, allocations: 1.503 MB / 396.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007267/0.1316, allocations: 3.349 MB / 400.2 MB, free: 9.352 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.866e-05/0.1316, allocations: 51.5 kB / 400.2 MB, free: 9.293 MB / 366.1 MB Notification: Performance of pre-optimization done (n=120): time 3.567e-06/0.1316, allocations: 0 / 400.2 MB, free: 9.293 MB / 366.1 MB Notification: Performance of matching and sorting (n=123): time 0.01206/0.1437, allocations: 4.963 MB / 405.2 MB, free: 4.285 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.1438, allocations: 68.34 kB / 405.3 MB, free: 4.203 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002416/0.1462, allocations: 1.537 MB / 406.8 MB, free: 2.656 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.1463, allocations: 49.7 kB / 406.8 MB, free: 2.602 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001186/0.1475, allocations: 1.457 MB / 408.3 MB, free: 1.133 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003979/0.1479, allocations: 452.2 kB / 408.7 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004878/0.1483, allocations: 283.5 kB / 409 MB, free: 416 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1485, allocations: 301.1 kB / 409.3 MB, free: 112 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/0.1497, allocations: 0.6559 MB / 410 MB, free: 15.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001662/0.1514, allocations: 1.146 MB / 411.1 MB, free: 14.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003052/0.1545, allocations: 1.906 MB / 413 MB, free: 11.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.1545, allocations: 4 kB / 413 MB, free: 11.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004447/0.1589, allocations: 2.315 MB / 415.3 MB, free: 9.652 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.1589, allocations: 12 kB / 415.3 MB, free: 9.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/0.159, allocations: 12 kB / 415.4 MB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008854/0.1598, allocations: 319.5 kB / 415.7 MB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/0.1613, allocations: 355.4 kB / 416 MB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007154/0.1684, allocations: 6.166 MB / 422.2 MB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.1697, allocations: 80.11 kB / 422.3 MB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/0.1698, allocations: 67.98 kB / 422.3 MB, free: 2.336 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 (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.001898/0.1717, allocations: 1.001 MB / 423.3 MB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000321/0.1721, allocations: 174.9 kB / 423.5 MB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004294/0.1764, allocations: 2.03 MB / 425.5 MB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.1764, allocations: 12 kB / 425.5 MB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.1764, allocations: 8 kB / 425.5 MB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/0.1764, allocations: 3.984 kB / 425.6 MB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007707/0.1841, allocations: 4.089 MB / 429.6 MB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.1841, allocations: 4.031 kB / 429.6 MB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008228/0.1849, allocations: 171.8 kB / 429.8 MB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001406/0.1863, allocations: 491.8 kB / 430.3 MB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.265e-05/0.1864, allocations: 39.98 kB / 430.3 MB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01298/0.1994, allocations: 10.71 MB / 441 MB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.1994, allocations: 0 / 441 MB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006091/0.2055, allocations: 2.93 MB / 444 MB, free: 12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/0.2066, allocations: 322.7 kB / 444.3 MB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004484/0.207, allocations: 28 kB / 444.3 MB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.2081, allocations: 67.94 kB / 444.4 MB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000299/0.2084, allocations: 112.6 kB / 444.5 MB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/0.2085, allocations: 39.98 kB / 444.5 MB, free: 11.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002114/0.2106, allocations: 1.025 MB / 445.6 MB, free: 10.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2106, allocations: 0 / 445.6 MB, free: 10.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002305/0.213, allocations: 0.5429 MB / 446.1 MB, free: 9.871 MB / 414.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.0004236/0.2134, allocations: 159.1 kB / 446.3 MB, free: 9.707 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004001/0.2174, allocations: 1.988 MB / 448.2 MB, free: 7.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2174, allocations: 1.938 kB / 448.2 MB, free: 7.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002734/0.2201, allocations: 1.495 MB / 449.7 MB, free: 6.117 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002248/0.2224, allocations: 429.4 kB / 450.2 MB, free: 5.707 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01168/0.234, allocations: 5.382 MB / 455.5 MB, free: 276 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00307/0.2371, allocations: 1.732 MB / 457.3 MB, free: 14.51 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001261/0.2384, allocations: 358.3 kB / 457.6 MB, free: 14.15 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004038/0.2388, allocations: 112.5 kB / 457.7 MB, free: 14.04 MB / 430.1 MB Notification: Performance of SimCode: time 1.132e-06/0.2388, allocations: 0 / 457.7 MB, free: 14.04 MB / 430.1 MB Notification: Performance of Templates: time 0.1997/0.4385, allocations: 25.52 MB / 483.3 MB, free: 119.8 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.571240425109863]