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.001541/0.001541, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001535/0.001535, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 1.021/1.021, allocations: 177.1 MB / 205 MB, free: 5.582 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.664e-06/1.664e-06, allocations: 0 / 273 MB, free: 1.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.849e-05/2.015e-05, allocations: 2.312 kB / 273 MB, free: 1.48 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01194/0.01196, allocations: 14.17 MB / 287.2 MB, free: 3.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.137/0.149, allocations: 4.599 MB / 291.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002224/0.1512, allocations: 104.2 kB / 291.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002421/0.1536, allocations: 1.013 MB / 292.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003447/0.157, allocations: 1.372 MB / 294.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001989/0.159, allocations: 0.944 MB / 295.2 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00465/0.1637, allocations: 4.326 MB / 299.5 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002419/0.1661, allocations: 1.745 MB / 301.3 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003772/0.1699, allocations: 2.882 MB / 304.1 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002574/0.1725, allocations: 1.93 MB / 306.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001035/0.1735, allocations: 0.507 MB / 306.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.1747, allocations: 0.7233 MB / 307.3 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005718/0.1752, allocations: 1.161 MB / 308.5 MB, free: 9.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001645/0.1769, allocations: 1.466 MB / 309.9 MB, free: 9.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002889/0.1798, allocations: 3.483 MB / 313.4 MB, free: 7.074 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1798, allocations: 3.25 kB / 313.4 MB, free: 7.074 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1798, allocations: 0 / 313.4 MB, free: 7.074 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.122e-05/0.1798, allocations: 0 / 313.4 MB, free: 7.074 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.005441/0.1853, allocations: 4.67 MB / 318.1 MB, free: 2.656 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.1853, allocations: 8.031 kB / 318.1 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002527/0.1878, allocations: 1.242 MB / 319.3 MB, free: 1.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002656/0.1905, allocations: 2.328 MB / 321.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.1906, allocations: 238.8 kB / 321.9 MB, free: 14.9 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003366/0.191, allocations: 327.6 kB / 322.2 MB, free: 14.59 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003771/0.1947, allocations: 2.593 MB / 324.8 MB, free: 11.9 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.81e-05/0.1948, allocations: 11.47 kB / 324.8 MB, free: 11.89 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002016/0.195, allocations: 134 kB / 325 MB, free: 11.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001181/0.1951, allocations: 146.4 kB / 325.1 MB, free: 11.62 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002566/0.1977, allocations: 1.234 MB / 326.3 MB, free: 10.38 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0122/0.2099, allocations: 11.12 MB / 337.5 MB, free: 15.22 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002751/0.2126, allocations: 2.006 MB / 339.5 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001102/0.2137, allocations: 0.7786 MB / 340.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003173/0.2169, allocations: 2.35 MB / 342.6 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.2169, allocations: 50.7 kB / 342.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=134): time 3.486e-06/0.2169, allocations: 4 kB / 342.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=137): time 0.006/0.2229, allocations: 3.564 MB / 346.2 MB, free: 6.586 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.223, allocations: 64.72 kB / 346.3 MB, free: 6.508 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.2244, allocations: 1.433 MB / 347.7 MB, free: 5.055 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.297e-05/0.2244, allocations: 53.7 kB / 347.8 MB, free: 4.996 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001066/0.2255, allocations: 1.576 MB / 349.3 MB, free: 3.414 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003082/0.2258, allocations: 0.502 MB / 349.8 MB, free: 2.918 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003527/0.2261, allocations: 345.1 kB / 350.2 MB, free: 2.574 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.2262, allocations: 480.7 kB / 350.6 MB, free: 2.102 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004563/0.2267, allocations: 251.8 kB / 350.9 MB, free: 1.855 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007968/0.2275, allocations: 1.014 MB / 351.9 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/0.2288, allocations: 1.372 MB / 353.3 MB, free: 14.85 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/0.2289, allocations: 4 kB / 353.3 MB, free: 14.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.002216/0.2311, allocations: 1.603 MB / 354.9 MB, free: 13.22 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.2311, allocations: 12 kB / 354.9 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.722e-05/0.2311, allocations: 16 kB / 354.9 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007379/0.2319, allocations: 319.6 kB / 355.2 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000774/0.2326, allocations: 371.4 kB / 355.6 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004892/0.2375, allocations: 8.898 MB / 364.5 MB, free: 3.125 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008/0.2383, allocations: 75.86 kB / 364.6 MB, free: 3.051 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.114e-05/0.2384, allocations: 79.98 kB / 364.6 MB, free: 2.973 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.0006893/0.2391, allocations: 268.1 kB / 364.9 MB, free: 2.699 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002252/0.2393, allocations: 234.7 kB / 365.1 MB, free: 2.469 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001897/0.2412, allocations: 1.333 MB / 366.5 MB, free: 1.098 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.799e-06/0.2412, allocations: 16 kB / 366.5 MB, free: 1.082 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/0.2413, allocations: 11.94 kB / 366.5 MB, free: 1.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.2413, allocations: 11.97 kB / 366.5 MB, free: 1.059 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004434/0.2457, allocations: 3.518 MB / 370 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.2457, allocations: 4 kB / 370 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004352/0.2461, allocations: 179.7 kB / 370.2 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009546/0.2471, allocations: 476.6 kB / 370.7 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.298e-05/0.2472, allocations: 51.91 kB / 370.7 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007567/0.2547, allocations: 13.8 MB / 384.5 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2548, allocations: 4.312 kB / 384.5 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002411/0.2572, allocations: 1.813 MB / 386.3 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005289/0.2577, allocations: 322.7 kB / 386.6 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.2578, allocations: 31.98 kB / 386.7 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004251/0.2582, allocations: 63.95 kB / 386.7 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000207/0.2585, allocations: 109 kB / 386.8 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.588e-05/0.2585, allocations: 39.98 kB / 386.9 MB, free: 11.81 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008943/0.2594, allocations: 0.8129 MB / 387.7 MB, free: 11 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2594, allocations: 0 / 387.7 MB, free: 11 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001647/0.2611, allocations: 0.5858 MB / 388.3 MB, free: 10.41 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.0002995/0.2614, allocations: 173.3 kB / 388.4 MB, free: 10.24 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00199/0.2633, allocations: 1.764 MB / 390.2 MB, free: 8.398 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2633, allocations: 4 kB / 390.2 MB, free: 8.395 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00157/0.2649, allocations: 1.744 MB / 392 MB, free: 6.543 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.2661, allocations: 480.3 kB / 392.4 MB, free: 6.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007407/0.2735, allocations: 5.082 MB / 397.5 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007465/0.2743, allocations: 0.7865 MB / 398.3 MB, free: 136 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008011/0.2751, allocations: 327.6 kB / 398.6 MB, free: 15.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002407/0.2753, allocations: 124.4 kB / 398.7 MB, free: 15.69 MB / 362.7 MB Notification: Performance of SimCode: time 2.425e-06/0.2753, allocations: 4 kB / 398.7 MB, free: 15.68 MB / 362.7 MB Notification: Performance of Templates: time 0.03928/0.3146, allocations: 27.93 MB / 426.7 MB, free: 4.219 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.92290774313733]