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_Steinmetz.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.001724/0.001724, allocations: 81.58 kB / 20.68 MB, free: 1.012 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.001952/0.001952, allocations: 146.7 kB / 23.94 MB, free: 4.266 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.407/1.407, 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_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|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|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|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|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 318.9 MB, free: 3.539 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.703e-05, allocations: 5.094 kB / 319 MB, free: 3.535 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01377/0.0138, allocations: 11.95 MB / 330.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009133/0.02293, allocations: 4.207 MB / 335.1 MB, free: 8.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002742/0.02567, allocations: 96.72 kB / 335.2 MB, free: 8.625 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004048/0.02972, allocations: 1.003 MB / 336.2 MB, free: 7.996 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006126/0.03585, allocations: 1.377 MB / 337.6 MB, free: 6.855 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003556/0.0394, allocations: 0.8726 MB / 338.5 MB, free: 6.145 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008917/0.04832, allocations: 4.278 MB / 342.7 MB, free: 3.438 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005101/0.05342, allocations: 1.735 MB / 344.5 MB, free: 1.992 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007168/0.06059, allocations: 2.842 MB / 347.3 MB, free: 15.14 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004283/0.06487, allocations: 1.754 MB / 349.1 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001066/0.06594, allocations: 0.5039 MB / 349.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001896/0.06783, allocations: 0.6988 MB / 350.3 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001153/0.06899, allocations: 1.145 MB / 351.4 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002211/0.0712, allocations: 1.45 MB / 352.9 MB, free: 9.586 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00822/0.07942, allocations: 6.782 MB / 359.6 MB, free: 2.785 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.07942, allocations: 4 kB / 359.6 MB, free: 2.781 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.07943, allocations: 0 / 359.6 MB, free: 2.781 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001518/0.07958, allocations: 0 / 359.6 MB, free: 2.781 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01263/0.09221, allocations: 4.369 MB / 364 MB, free: 14.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.09225, allocations: 8.922 kB / 364 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004729/0.09698, allocations: 0.8339 MB / 364.9 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005429/0.1024, allocations: 2.36 MB / 367.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000302/0.1027, allocations: 246.8 kB / 367.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001062/0.1038, allocations: 320.3 kB / 367.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009759/0.1135, allocations: 4.414 MB / 372.2 MB, free: 6.043 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-05/0.1136, allocations: 11.89 kB / 372.2 MB, free: 6.031 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003582/0.114, allocations: 136 kB / 372.3 MB, free: 5.898 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001787/0.1142, allocations: 146.4 kB / 372.5 MB, free: 5.754 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008402/0.1226, allocations: 3.594 MB / 376.1 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02531/0.1479, allocations: 11.81 MB / 387.9 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006002/0.1539, allocations: 2.56 MB / 390.4 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002789/0.1567, allocations: 1.273 MB / 391.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007626/0.1643, allocations: 3.011 MB / 394.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.752e-05/0.1643, allocations: 47.88 kB / 394.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=134): time 7.484e-06/0.1644, allocations: 3.984 kB / 394.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=137): time 0.01321/0.1776, allocations: 5.198 MB / 400 MB, free: 9.945 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.62e-05/0.1776, allocations: 72.7 kB / 400 MB, free: 9.863 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002782/0.1804, allocations: 1.591 MB / 401.6 MB, free: 8.262 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001514/0.1806, allocations: 49.7 kB / 401.7 MB, free: 8.207 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001211/0.1818, allocations: 1.492 MB / 403.2 MB, free: 6.703 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004831/0.1823, allocations: 499.7 kB / 403.7 MB, free: 6.211 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005665/0.1828, allocations: 315.4 kB / 404 MB, free: 5.898 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.183, allocations: 313.1 kB / 404.3 MB, free: 5.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/0.1842, allocations: 0.6715 MB / 404.9 MB, free: 4.918 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001706/0.1859, allocations: 1.219 MB / 406.2 MB, free: 3.465 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003124/0.1891, allocations: 2.003 MB / 408.2 MB, free: 1.238 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.314e-05/0.1891, allocations: 4 kB / 408.2 MB, free: 1.234 MB / 366.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.00501/0.1941, allocations: 2.453 MB / 410.6 MB, free: 14.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.977e-05/0.1941, allocations: 12 kB / 410.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.819e-05/0.1942, allocations: 16 kB / 410.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001172/0.1953, allocations: 360.3 kB / 411 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/0.197, allocations: 375.4 kB / 411.4 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009386/0.2064, allocations: 7.816 MB / 419.2 MB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/0.208, allocations: 92 kB / 419.3 MB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000259/0.2082, allocations: 72 kB / 419.3 MB, free: 5.613 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002098/0.2103, allocations: 1.001 MB / 420.3 MB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004806/0.2108, allocations: 182.8 kB / 420.5 MB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004521/0.2153, allocations: 2.11 MB / 422.6 MB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.2153, allocations: 12 kB / 422.6 MB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.306e-05/0.2154, allocations: 8 kB / 422.7 MB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/0.2154, allocations: 7.969 kB / 422.7 MB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009006/0.2244, allocations: 4.188 MB / 426.8 MB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.2244, allocations: 4 kB / 426.9 MB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008603/0.2253, allocations: 171.8 kB / 427 MB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001603/0.2269, allocations: 0.5396 MB / 427.6 MB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/0.227, allocations: 40.11 kB / 427.6 MB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01459/0.2416, allocations: 12.32 MB / 439.9 MB, free: 304 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.2416, allocations: 4.031 kB / 439.9 MB, free: 300 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00606/0.2476, allocations: 3.037 MB / 443 MB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/0.2487, allocations: 330.7 kB / 443.3 MB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004278/0.2491, allocations: 39.98 kB / 443.3 MB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.2501, allocations: 60.14 kB / 443.4 MB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003169/0.2504, allocations: 117 kB / 443.5 MB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.2505, allocations: 39.92 kB / 443.5 MB, free: 12.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001987/0.2525, allocations: 1.062 MB / 444.6 MB, free: 11.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2525, allocations: 0 / 444.6 MB, free: 11.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002347/0.2549, allocations: 0.5742 MB / 445.2 MB, free: 10.99 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,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.0004026/0.2553, allocations: 179 kB / 445.3 MB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004/0.2593, allocations: 2.211 MB / 447.6 MB, free: 8.539 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.2593, allocations: 4 kB / 447.6 MB, free: 8.535 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002851/0.2621, allocations: 1.691 MB / 449.3 MB, free: 6.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002347/0.2645, allocations: 447.6 kB / 449.7 MB, free: 6.336 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/0.2764, allocations: 5.662 MB / 455.4 MB, free: 0.625 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002688/0.2791, allocations: 1.751 MB / 457.1 MB, free: 14.85 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00129/0.2804, allocations: 379.3 kB / 457.5 MB, free: 14.47 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003865/0.2807, allocations: 116.5 kB / 457.6 MB, free: 14.36 MB / 430.1 MB Notification: Performance of SimCode: time 8.41e-07/0.2807, allocations: 0 / 457.6 MB, free: 14.36 MB / 430.1 MB Notification: Performance of Templates: time 0.1952/0.476, allocations: 27.25 MB / 484.8 MB, free: 121.4 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.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.700821589678526]