Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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.001417/0.001417, allocations: 81.81 kB / 21.42 MB, free: 3.07 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.001691/0.001691, allocations: 161.4 kB / 24.82 MB, free: 8.867 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.9419/0.9419, allocations: 177 MB / 205.1 MB, free: 5.434 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|imc.stator.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|imc.stator.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 3.938 kB / 273.4 MB, free: 1.137 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.981e-05/3.204e-05, allocations: 2.312 kB / 273.4 MB, free: 1.133 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.1454/0.1454, allocations: 31.56 MB / 304.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0153/0.1607, allocations: 9.13 MB / 314.1 MB, free: 6.223 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005475/0.1662, allocations: 296 kB / 314.4 MB, free: 6.121 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01061/0.1768, allocations: 8.235 MB / 322.6 MB, free: 196 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01039/0.1872, allocations: 3.837 MB / 326.4 MB, free: 12.97 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004503/0.1917, allocations: 2.154 MB / 328.6 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01428/0.206, allocations: 13.76 MB / 342.4 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01859/0.2246, allocations: 14.8 MB / 357.1 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01314/0.2377, allocations: 9.957 MB / 367.1 MB, free: 4.102 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009573/0.2473, allocations: 7.089 MB / 374.2 MB, free: 13 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004132/0.2514, allocations: 1.875 MB / 376.1 MB, free: 11.12 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006173/0.2576, allocations: 2.269 MB / 378.3 MB, free: 8.855 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004544/0.2621, allocations: 3.885 MB / 382.2 MB, free: 4.961 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008096/0.2702, allocations: 4.838 MB / 387.1 MB, free: 116 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01526/0.2855, allocations: 11.86 MB / 398.9 MB, free: 4.219 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2855, allocations: 0 / 398.9 MB, free: 4.219 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2855, allocations: 0 / 398.9 MB, free: 4.219 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003737/0.2859, allocations: 0 / 398.9 MB, free: 4.219 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.02259/0.3085, allocations: 14.57 MB / 413.5 MB, free: 5.527 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.3085, allocations: 15.98 kB / 413.5 MB, free: 5.512 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01961/0.3281, allocations: 6.78 MB / 420.3 MB, free: 14.72 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01009/0.3382, allocations: 7.375 MB / 427.7 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005385/0.3388, allocations: 0.7907 MB / 428.4 MB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002249/0.341, allocations: 1.047 MB / 429.5 MB, free: 5.414 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.223/0.564, allocations: 8.525 MB / 438 MB, free: 79.32 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002508/0.5643, allocations: 18.11 kB / 438 MB, free: 79.32 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001184/0.5655, allocations: 436.4 kB / 438.5 MB, free: 79.32 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005525/0.566, allocations: 0.6315 MB / 439.1 MB, free: 79.29 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009949/0.576, allocations: 4.063 MB / 443.2 MB, free: 79.02 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05257/0.6286, allocations: 42.89 MB / 486 MB, free: 57.82 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008423/0.637, allocations: 7.839 MB / 493.9 MB, free: 51.27 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002107/0.6391, allocations: 1.727 MB / 495.6 MB, free: 49.59 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008424/0.6475, allocations: 6.597 MB / 0.4904 GB, free: 43.35 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/0.6475, allocations: 80.02 kB / 0.4905 GB, free: 43.26 MB / 378.8 MB Notification: Performance of pre-optimization done (n=398): time 5.82e-06/0.6476, allocations: 0 / 0.4905 GB, free: 43.26 MB / 378.8 MB Notification: Performance of matching and sorting (n=423): time 0.01877/0.6663, allocations: 10.25 MB / 0.5005 GB, free: 33.43 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.6664, allocations: 120.7 kB / 0.5006 GB, free: 33.3 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003217/0.6696, allocations: 3.765 MB / 0.5043 GB, free: 30.16 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004246/0.67, allocations: 97.7 kB / 0.5044 GB, free: 30.06 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001574/0.6716, allocations: 5.091 MB / 0.5094 GB, free: 25.44 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008819/0.6725, allocations: 1.558 MB / 0.5109 GB, free: 23.97 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001164/0.6736, allocations: 1.266 MB / 0.5121 GB, free: 22.8 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.329e-05/0.6737, allocations: 480.8 kB / 0.5126 GB, free: 22.33 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008572/0.6745, allocations: 0.7282 MB / 0.5133 GB, free: 21.6 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001699/0.6762, allocations: 3.81 MB / 0.517 GB, free: 16.69 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003218/0.6794, allocations: 5.085 MB / 0.522 GB, free: 10.73 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.573e-05/0.6795, allocations: 20 kB / 0.522 GB, free: 10.71 MB / 378.8 MB Notification: Performance of matching and sorting (n=764) (initialization): time 0.006688/0.6861, allocations: 5.241 MB / 0.5271 GB, free: 5.898 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.893e-05/0.6862, allocations: 32 kB / 0.5272 GB, free: 5.867 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.022e-05/0.6862, allocations: 64.41 kB / 0.5272 GB, free: 5.805 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002646/0.6889, allocations: 1.469 MB / 0.5287 GB, free: 4.336 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002337/0.6912, allocations: 1.227 MB / 0.5299 GB, free: 3.199 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01047/0.7017, allocations: 12.92 MB / 0.5425 GB, free: 6.059 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003287/0.705, allocations: 208 kB / 0.5427 GB, free: 5.855 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007464/0.7057, allocations: 236 kB / 0.5429 GB, free: 5.625 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 296 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (671): * Single equations (assignments): 667 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (7,28,61.2%), (1,1,100.0%), (14,44,39.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00263/0.7084, allocations: 0.5282 MB / 0.5434 GB, free: 5.176 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001501/0.7099, allocations: 0.618 MB / 0.544 GB, free: 4.555 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005618/0.7155, allocations: 3.907 MB / 0.5478 GB, free: 0.6484 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.266e-05/0.7155, allocations: 44 kB / 0.5479 GB, free: 0.6055 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.987e-05/0.7155, allocations: 16 kB / 0.5479 GB, free: 0.5898 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.53e-05/0.7155, allocations: 19.92 kB / 0.5479 GB, free: 0.5703 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01805/0.7336, allocations: 11.6 MB / 0.5592 GB, free: 6.039 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/0.7336, allocations: 8 kB / 0.5593 GB, free: 6.031 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001633/0.7353, allocations: 0.6415 MB / 0.5599 GB, free: 5.426 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002797/0.738, allocations: 1.367 MB / 0.5612 GB, free: 4.055 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003754/0.7384, allocations: 104 kB / 0.5613 GB, free: 3.953 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01191/0.7503, allocations: 18.19 MB / 0.5791 GB, free: 1.234 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.7503, allocations: 11.75 kB / 0.5791 GB, free: 1.227 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1448/0.8952, allocations: 4.997 MB / 0.584 GB, free: 103.6 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002006/0.8972, allocations: 0.9276 MB / 0.5849 GB, free: 103.6 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006665/0.8978, allocations: 89.05 kB / 0.585 GB, free: 103.6 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001509/0.8994, allocations: 129 kB / 0.5851 GB, free: 103.6 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006781/0.9, allocations: 351.9 kB / 0.5854 GB, free: 103.6 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002366/0.9003, allocations: 103.5 kB / 0.5855 GB, free: 103.6 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.002523/0.9028, allocations: 1.745 MB / 0.5872 GB, free: 103.4 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/0.9028, allocations: 0 / 0.5872 GB, free: 103.4 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.005232/0.908, allocations: 1.861 MB / 0.589 GB, free: 103.4 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.stray.Phi.re,imc.stator.stray.Phi.im,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (364): * Single equations (assignments): 357 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (14,44,41.3%), (2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005526/0.9086, allocations: 278.3 kB / 0.5893 GB, free: 103.3 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.006025/0.9146, allocations: 4.637 MB / 0.5938 GB, free: 102.4 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/0.9146, allocations: 2.125 kB / 0.5938 GB, free: 102.4 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003546/0.9182, allocations: 3.286 MB / 0.597 GB, free: 101 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004342/0.9225, allocations: 1.145 MB / 0.5982 GB, free: 101 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02041/0.9429, allocations: 16.19 MB / 0.614 GB, free: 94.8 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002745/0.9457, allocations: 2.86 MB / 0.6168 GB, free: 93.78 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.002451/0.9481, allocations: 0.7554 MB / 0.6175 GB, free: 93.18 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001869/0.95, allocations: 1.183 MB / 0.6187 GB, free: 92.23 MB / 426.8 MB Notification: Performance of SimCode: time 1.683e-06/0.95, allocations: 0 / 0.6187 GB, free: 92.23 MB / 426.8 MB Notification: Performance of Templates: time 0.1032/1.053, allocations: 80.29 MB / 0.6971 GB, free: 19.34 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 7.503815543837845]