Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.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.001231/0.001231, allocations: 83.67 kB / 21.7 MB, free: 2.852 MB / 18.57 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.0009333/0.0009333, allocations: 160.4 kB / 24.99 MB, free: 9.289 MB / 18.57 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 0.9212/0.9212, allocations: 177 MB / 205.2 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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_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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 273 MB, free: 1.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.299e-05/1.467e-05, allocations: 2.312 kB / 273 MB, free: 1.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01057/0.01059, allocations: 14.09 MB / 287.1 MB, free: 3.562 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1049/0.1155, allocations: 4.598 MB / 291.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001857/0.1173, allocations: 105.1 kB / 291.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002005/0.1193, allocations: 1.014 MB / 292.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002476/0.1218, allocations: 1.37 MB / 294.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.1231, allocations: 0.9426 MB / 295.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003321/0.1265, allocations: 4.35 MB / 299.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00174/0.1282, allocations: 1.742 MB / 301.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002553/0.1307, allocations: 2.892 MB / 304.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001745/0.1325, allocations: 1.927 MB / 306.1 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005048/0.133, allocations: 0.5076 MB / 306.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007925/0.1338, allocations: 0.7175 MB / 307.3 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005113/0.1343, allocations: 1.163 MB / 308.4 MB, free: 9.973 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009633/0.1353, allocations: 1.469 MB / 309.9 MB, free: 9.168 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002191/0.1375, allocations: 3.483 MB / 313.4 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.1375, allocations: 0 / 313.4 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1375, allocations: 0 / 313.4 MB, free: 7.066 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.002e-05/0.1375, allocations: 3.281 kB / 313.4 MB, free: 7.066 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.004846/0.1423, allocations: 4.669 MB / 318.1 MB, free: 2.645 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1424, allocations: 15.98 kB / 318.1 MB, free: 2.629 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002708/0.1451, allocations: 1.242 MB / 319.3 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002586/0.1477, allocations: 2.344 MB / 321.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.1478, allocations: 238.8 kB / 321.9 MB, free: 14.87 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002953/0.1481, allocations: 335.4 kB / 322.2 MB, free: 14.55 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00326/0.1513, allocations: 2.59 MB / 324.8 MB, free: 11.87 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.578e-05/0.1514, allocations: 7.984 kB / 324.8 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001995/0.1516, allocations: 135.9 kB / 325 MB, free: 11.73 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/0.1517, allocations: 145.6 kB / 325.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002374/0.1541, allocations: 1.232 MB / 326.3 MB, free: 10.35 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01094/0.165, allocations: 11.11 MB / 337.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002658/0.1677, allocations: 1.991 MB / 339.4 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.1688, allocations: 0.7751 MB / 340.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002806/0.1716, allocations: 2.365 MB / 342.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.1716, allocations: 50.7 kB / 342.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=134): time 2.234e-06/0.1716, allocations: 0 / 342.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=137): time 0.00562/0.1772, allocations: 3.567 MB / 346.2 MB, free: 6.574 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.1772, allocations: 64.72 kB / 346.3 MB, free: 6.496 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.1786, allocations: 1.434 MB / 347.7 MB, free: 5.043 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.507e-05/0.1786, allocations: 49.7 kB / 347.7 MB, free: 4.984 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007228/0.1794, allocations: 1.588 MB / 349.3 MB, free: 3.391 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002743/0.1796, allocations: 0.5051 MB / 349.8 MB, free: 2.895 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003398/0.18, allocations: 341.1 kB / 350.2 MB, free: 2.555 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.118e-05/0.1801, allocations: 480.7 kB / 350.6 MB, free: 2.082 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004322/0.1805, allocations: 255.2 kB / 350.9 MB, free: 1.836 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009874/0.1815, allocations: 1.013 MB / 351.9 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.1828, allocations: 1.369 MB / 353.3 MB, free: 14.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.1828, allocations: 8 kB / 353.3 MB, free: 14.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.001978/0.1848, allocations: 1.605 MB / 354.9 MB, free: 13.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.1848, allocations: 12 kB / 354.9 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.1848, allocations: 16 kB / 354.9 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006369/0.1854, allocations: 311.8 kB / 355.2 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007353/0.1862, allocations: 375.4 kB / 355.6 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004493/0.1907, allocations: 8.912 MB / 364.5 MB, free: 3.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005207/0.1912, allocations: 80 kB / 364.6 MB, free: 3.102 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.47e-05/0.1913, allocations: 80 kB / 364.6 MB, free: 3.023 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.0006933/0.192, allocations: 268 kB / 364.9 MB, free: 2.75 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002044/0.1922, allocations: 230.8 kB / 365.1 MB, free: 2.523 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/0.194, allocations: 1.333 MB / 366.5 MB, free: 1.148 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.194, allocations: 16 kB / 366.5 MB, free: 1.133 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.194, allocations: 12 kB / 366.5 MB, free: 1.121 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.194, allocations: 7.969 kB / 366.5 MB, free: 1.113 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003985/0.198, allocations: 3.519 MB / 370 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.198, allocations: 4 kB / 370 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004184/0.1984, allocations: 172 kB / 370.2 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008931/0.1993, allocations: 477.8 kB / 370.7 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.31e-05/0.1994, allocations: 43.92 kB / 370.7 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007046/0.2064, allocations: 13.8 MB / 384.5 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.2064, allocations: 4 kB / 384.5 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002175/0.2086, allocations: 1.817 MB / 386.3 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000614/0.2092, allocations: 330.6 kB / 386.6 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.2093, allocations: 32 kB / 386.7 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004071/0.2097, allocations: 63.95 kB / 386.7 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.2099, allocations: 117 kB / 386.9 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-05/0.2099, allocations: 39.98 kB / 386.9 MB, free: 11.86 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007747/0.2107, allocations: 0.817 MB / 387.7 MB, free: 11.04 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2107, allocations: 0 / 387.7 MB, free: 11.04 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001196/0.2119, allocations: 0.5781 MB / 388.3 MB, free: 10.46 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.0002377/0.2122, allocations: 167.1 kB / 388.5 MB, free: 10.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001691/0.2139, allocations: 1.766 MB / 390.2 MB, free: 8.457 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2139, allocations: 4 kB / 390.2 MB, free: 8.453 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001232/0.2151, allocations: 1.754 MB / 392 MB, free: 6.59 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.2162, allocations: 469.6 kB / 392.4 MB, free: 6.145 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005377/0.2216, allocations: 5.094 MB / 397.5 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000547/0.2221, allocations: 0.7906 MB / 398.3 MB, free: 176 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005861/0.2227, allocations: 327.5 kB / 398.6 MB, free: 15.85 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/0.2229, allocations: 120.5 kB / 398.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.2229, allocations: 4 kB / 398.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of Templates: time 0.03135/0.2543, allocations: 27.92 MB / 426.7 MB, free: 4.246 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.51650096103549]