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_Steinmetz.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.001319/0.001319, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.001148/0.001148, allocations: 161.8 kB / 24.99 MB, free: 9.25 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.9073/0.9073, allocations: 177.1 MB / 205.3 MB, free: 5.598 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_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|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|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.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.[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|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 273.1 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.29e-05/1.423e-05, allocations: 2.312 kB / 273.1 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01085/0.01087, allocations: 14.1 MB / 287.2 MB, free: 3.625 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1165/0.1274, allocations: 4.594 MB / 291.8 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001827/0.1292, allocations: 103.9 kB / 291.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001853/0.1311, allocations: 1.016 MB / 292.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002281/0.1334, allocations: 1.366 MB / 294.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.1347, allocations: 0.9411 MB / 295.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003368/0.138, allocations: 4.327 MB / 299.5 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001949/0.14, allocations: 1.747 MB / 301.3 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003058/0.1431, allocations: 2.885 MB / 304.2 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002278/0.1453, allocations: 1.927 MB / 306.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008179/0.1461, allocations: 0.507 MB / 306.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009091/0.1471, allocations: 0.7141 MB / 307.3 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005305/0.1476, allocations: 1.166 MB / 308.5 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001244/0.1488, allocations: 1.469 MB / 309.9 MB, free: 9.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002269/0.1511, allocations: 3.48 MB / 313.4 MB, free: 7.133 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1511, allocations: 0 / 313.4 MB, free: 7.133 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1511, allocations: 0 / 313.4 MB, free: 7.133 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.049e-05/0.1511, allocations: 3.375 kB / 313.4 MB, free: 7.133 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.004832/0.156, allocations: 4.667 MB / 318.1 MB, free: 2.727 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.156, allocations: 8.031 kB / 318.1 MB, free: 2.719 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002631/0.1586, allocations: 1.246 MB / 319.3 MB, free: 1.477 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002097/0.1607, allocations: 2.327 MB / 321.7 MB, free: 15.21 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.1609, allocations: 241.8 kB / 321.9 MB, free: 14.97 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002991/0.1612, allocations: 324.3 kB / 322.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00358/0.1647, allocations: 2.603 MB / 324.8 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.322e-05/0.1648, allocations: 3.25 kB / 324.8 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001996/0.165, allocations: 133.6 kB / 325 MB, free: 11.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001012/0.1651, allocations: 154.4 kB / 325.1 MB, free: 11.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002501/0.1676, allocations: 1.236 MB / 326.3 MB, free: 10.45 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01088/0.1785, allocations: 11.1 MB / 337.4 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002868/0.1813, allocations: 1.999 MB / 339.4 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/0.1824, allocations: 0.7819 MB / 340.2 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002782/0.1852, allocations: 2.366 MB / 342.6 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.1852, allocations: 50.7 kB / 342.6 MB, free: 10.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=134): time 2.715e-06/0.1852, allocations: 0 / 342.6 MB, free: 10.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=137): time 0.005661/0.1909, allocations: 3.556 MB / 346.2 MB, free: 6.676 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.1909, allocations: 68.72 kB / 346.3 MB, free: 6.594 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.1922, allocations: 1.426 MB / 347.7 MB, free: 5.148 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.521e-05/0.1923, allocations: 49.7 kB / 347.7 MB, free: 5.094 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00071/0.193, allocations: 1.588 MB / 349.3 MB, free: 3.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002682/0.1933, allocations: 0.5027 MB / 349.8 MB, free: 3.004 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003187/0.1936, allocations: 341.1 kB / 350.2 MB, free: 2.664 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.011e-05/0.1937, allocations: 484.7 kB / 350.6 MB, free: 2.188 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004413/0.1941, allocations: 251.8 kB / 350.9 MB, free: 1.941 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007661/0.1949, allocations: 1.017 MB / 351.9 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.1964, allocations: 1.371 MB / 353.3 MB, free: 15 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.1964, allocations: 4 kB / 353.3 MB, free: 15 MB / 314.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.001944/0.1983, allocations: 1.605 MB / 354.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.1984, allocations: 12.62 kB / 354.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.1984, allocations: 19.98 kB / 354.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006344/0.199, allocations: 311.6 kB / 355.2 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007267/0.1997, allocations: 375.4 kB / 355.6 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004514/0.2042, allocations: 8.894 MB / 364.5 MB, free: 3.301 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005327/0.2048, allocations: 80.02 kB / 364.6 MB, free: 3.223 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.2e-05/0.2049, allocations: 75.98 kB / 364.6 MB, free: 3.148 MB / 314.7 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.0005221/0.2054, allocations: 268 kB / 364.9 MB, free: 2.875 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002059/0.2056, allocations: 234.8 kB / 365.1 MB, free: 2.645 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002082/0.2077, allocations: 1.334 MB / 366.5 MB, free: 1.273 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.2077, allocations: 12 kB / 366.5 MB, free: 1.262 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.2077, allocations: 12 kB / 366.5 MB, free: 1.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.2077, allocations: 7.969 kB / 366.5 MB, free: 1.242 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004029/0.2117, allocations: 3.521 MB / 370 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.2117, allocations: 4 kB / 370 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004383/0.2122, allocations: 175.9 kB / 370.2 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001004/0.2132, allocations: 476.7 kB / 370.6 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-05/0.2132, allocations: 47.91 kB / 370.7 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007376/0.2206, allocations: 13.81 MB / 384.5 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2206, allocations: 3.938 kB / 384.5 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/0.2228, allocations: 1.812 MB / 386.3 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003934/0.2232, allocations: 318.7 kB / 386.6 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/0.2234, allocations: 35.98 kB / 386.7 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004039/0.2238, allocations: 55.95 kB / 386.7 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.2239, allocations: 125 kB / 386.8 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.971e-05/0.224, allocations: 35.98 kB / 386.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008205/0.2248, allocations: 0.809 MB / 387.7 MB, free: 11.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2248, allocations: 0 / 387.7 MB, free: 11.18 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001675/0.2265, allocations: 0.582 MB / 388.3 MB, free: 10.59 MB / 346.7 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.0002586/0.2267, allocations: 174 kB / 388.4 MB, free: 10.42 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001791/0.2285, allocations: 1.769 MB / 390.2 MB, free: 8.574 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.2285, allocations: 0 / 390.2 MB, free: 8.574 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001295/0.2298, allocations: 1.739 MB / 391.9 MB, free: 6.727 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.231, allocations: 481.3 kB / 392.4 MB, free: 6.273 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005838/0.2368, allocations: 5.078 MB / 397.5 MB, free: 1.125 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005824/0.2374, allocations: 0.7865 MB / 398.3 MB, free: 328 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005927/0.238, allocations: 327.5 kB / 398.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002199/0.2382, allocations: 128.4 kB / 398.7 MB, free: 15.87 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/0.2382, allocations: 3.938 kB / 398.7 MB, free: 15.87 MB / 362.7 MB Notification: Performance of Templates: time 0.03362/0.2718, allocations: 27.92 MB / 426.7 MB, free: 4.398 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.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.6131419229786843]