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.0009943/0.0009943, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 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.001474/0.001474, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 18.57 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 0.897/0.897, allocations: 173.4 MB / 201.1 MB, free: 8.98 MB / 186.7 MB " [Timeout remaining time 179] 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.[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.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.[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.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 268 MB, free: 6.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.527e-05, allocations: 2.312 kB / 268 MB, free: 6.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01114/0.01116, allocations: 13.53 MB / 281.6 MB, free: 8.652 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009787/0.02095, allocations: 4.349 MB / 285.9 MB, free: 4.289 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002532/0.02348, allocations: 95.44 kB / 286 MB, free: 4.195 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002793/0.02628, allocations: 0.9975 MB / 287 MB, free: 3.191 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003826/0.0301, allocations: 1.405 MB / 288.4 MB, free: 1.777 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.03172, allocations: 0.8835 MB / 289.3 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1169/0.1486, allocations: 4.257 MB / 293.5 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00336/0.152, allocations: 1.74 MB / 295.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005182/0.1572, allocations: 2.966 MB / 298.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00333/0.1605, allocations: 1.897 MB / 300.2 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001451/0.162, allocations: 0.5034 MB / 300.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001934/0.1639, allocations: 0.6939 MB / 301.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009135/0.1648, allocations: 1.145 MB / 302.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002073/0.1669, allocations: 1.449 MB / 303.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003254/0.1701, allocations: 3.429 MB / 307.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1701, allocations: 2.969 kB / 307.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1701, allocations: 0 / 307.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001394/0.1703, allocations: 3.406 kB / 307.4 MB, free: 11.93 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.006003/0.1763, allocations: 4.617 MB / 312 MB, free: 9.391 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1763, allocations: 7.641 kB / 312 MB, free: 9.391 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002528/0.1788, allocations: 1.255 MB / 313.3 MB, free: 8.938 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002344/0.1812, allocations: 2.306 MB / 315.6 MB, free: 7.086 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.764e-05/0.1813, allocations: 242.8 kB / 315.8 MB, free: 6.848 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002633/0.1815, allocations: 328.3 kB / 316.1 MB, free: 6.527 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00323/0.1848, allocations: 2.59 MB / 318.7 MB, free: 3.848 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.752e-05/0.1848, allocations: 11.42 kB / 318.7 MB, free: 3.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001812/0.185, allocations: 145.1 kB / 318.9 MB, free: 3.703 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.087e-05/0.1851, allocations: 142.4 kB / 319 MB, free: 3.562 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002203/0.1873, allocations: 1.227 MB / 320.2 MB, free: 2.332 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01099/0.1983, allocations: 11.03 MB / 331.3 MB, free: 7.254 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002621/0.2009, allocations: 1.996 MB / 333.3 MB, free: 5.391 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.2019, allocations: 0.7613 MB / 334 MB, free: 4.621 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00289/0.2048, allocations: 2.302 MB / 336.3 MB, free: 2.352 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.2049, allocations: 50.7 kB / 336.4 MB, free: 2.289 MB / 282.7 MB Notification: Performance of pre-optimization done (n=134): time 3.357e-06/0.2049, allocations: 0 / 336.4 MB, free: 2.289 MB / 282.7 MB Notification: Performance of matching and sorting (n=137): time 0.005642/0.2105, allocations: 3.538 MB / 339.9 MB, free: 14.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.2105, allocations: 72.72 kB / 340 MB, free: 14.65 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.2119, allocations: 1.396 MB / 341.4 MB, free: 13.24 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.578e-05/0.212, allocations: 53.7 kB / 341.4 MB, free: 13.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007468/0.2127, allocations: 1.575 MB / 343 MB, free: 11.6 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002862/0.213, allocations: 0.5013 MB / 343.5 MB, free: 11.11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000322/0.2133, allocations: 337.1 kB / 343.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.734e-05/0.2134, allocations: 480.7 kB / 344.3 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004274/0.2139, allocations: 251.3 kB / 344.5 MB, free: 10.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000735/0.2146, allocations: 1.016 MB / 345.6 MB, free: 8.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.2159, allocations: 1.366 MB / 346.9 MB, free: 7.125 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.2159, allocations: 8 kB / 346.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.00205/0.2179, allocations: 1.592 MB / 348.5 MB, free: 5.613 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.2179, allocations: 12 kB / 348.5 MB, free: 5.602 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.218, allocations: 16 kB / 348.6 MB, free: 5.586 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007128/0.2187, allocations: 314.9 kB / 348.9 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007822/0.2195, allocations: 376.2 kB / 349.2 MB, free: 4.918 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00502/0.2245, allocations: 8.919 MB / 358.1 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008687/0.2253, allocations: 67.97 kB / 358.2 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.768e-05/0.2254, allocations: 79.98 kB / 358.3 MB, free: 11.44 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.000703/0.2261, allocations: 261.1 kB / 358.5 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/0.2264, allocations: 238.8 kB / 358.8 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001794/0.2281, allocations: 1.329 MB / 360.1 MB, free: 9.613 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.739e-06/0.2282, allocations: 16 kB / 360.1 MB, free: 9.598 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/0.2282, allocations: 12 kB / 360.1 MB, free: 9.586 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.2282, allocations: 7.969 kB / 360.1 MB, free: 9.578 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004187/0.2324, allocations: 3.49 MB / 363.6 MB, free: 6.055 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.2324, allocations: 3.984 kB / 363.6 MB, free: 6.051 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004252/0.2328, allocations: 174.7 kB / 363.8 MB, free: 5.891 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000934/0.2337, allocations: 471.4 kB / 364.3 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-05/0.2338, allocations: 39.98 kB / 364.3 MB, free: 5.375 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006823/0.2406, allocations: 13.8 MB / 378.1 MB, free: 6.941 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2406, allocations: 4 kB / 378.1 MB, free: 6.938 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002272/0.2429, allocations: 1.808 MB / 379.9 MB, free: 5.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004609/0.2434, allocations: 314.7 kB / 380.2 MB, free: 4.781 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.2435, allocations: 35.98 kB / 380.3 MB, free: 4.746 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003894/0.2439, allocations: 59.95 kB / 380.3 MB, free: 4.688 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/0.2441, allocations: 120.6 kB / 380.4 MB, free: 4.574 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.387e-05/0.2441, allocations: 39.98 kB / 380.5 MB, free: 4.535 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008155/0.2449, allocations: 0.7847 MB / 381.3 MB, free: 3.754 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2449, allocations: 0 / 381.3 MB, free: 3.754 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001431/0.2464, allocations: 0.5781 MB / 381.8 MB, free: 3.176 MB / 330.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.0002645/0.2466, allocations: 166.2 kB / 382 MB, free: 3.016 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001877/0.2485, allocations: 1.771 MB / 383.8 MB, free: 1.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.2485, allocations: 0 / 383.8 MB, free: 1.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001336/0.2499, allocations: 1.745 MB / 385.5 MB, free: 15.39 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.251, allocations: 465.7 kB / 386 MB, free: 14.95 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006524/0.2575, allocations: 5.058 MB / 391 MB, free: 9.824 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006224/0.2581, allocations: 0.782 MB / 391.8 MB, free: 9.027 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007313/0.2589, allocations: 331.3 kB / 392.1 MB, free: 8.699 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.2591, allocations: 116.5 kB / 392.2 MB, free: 8.586 MB / 346.7 MB Notification: Performance of SimCode: time 1.533e-06/0.2591, allocations: 0 / 392.2 MB, free: 8.586 MB / 346.7 MB Notification: Performance of Templates: time 0.03617/0.2953, allocations: 28.5 MB / 420.7 MB, free: 12.58 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] 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","",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.575163607019931]