Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009499/0.0009499, allocations: 196.6 kB / 18.1 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 226.5 MB / 245.4 MB, free: 6.449 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007864/0.0007864, allocations: 94.97 kB / 297.5 MB, free: 6.695 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002106/0.0002106, allocations: 8 kB / 358.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2078, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2927/0.5005, allocations: 110.7 MB / 0.5079 GB, free: 97.04 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.5008, allocations: 96.78 kB / 0.508 GB, free: 97.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1702/0.6711, allocations: 83.49 MB / 0.5896 GB, free: 22.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.6711, allocations: 0 / 0.5896 GB, free: 22.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002423/0.6713, allocations: 83.92 kB / 0.5897 GB, free: 22.35 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.008615/0.68, allocations: 3.548 MB / 0.5931 GB, free: 18.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.68, allocations: 8.031 kB / 0.5931 GB, free: 18.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003946/0.684, allocations: 0.7657 MB / 0.5939 GB, free: 17.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004667/0.6886, allocations: 2.759 MB / 0.5966 GB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.6888, allocations: 238.6 kB / 0.5968 GB, free: 14.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000409/0.6892, allocations: 316.3 kB / 0.5971 GB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005782/0.695, allocations: 4.192 MB / 0.6012 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-05/0.6951, allocations: 7.906 kB / 0.6012 GB, free: 10.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002664/0.6954, allocations: 128 kB / 0.6013 GB, free: 10.15 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-05/0.6955, allocations: 142.2 kB / 0.6015 GB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005207/0.7007, allocations: 3.46 MB / 0.6048 GB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01878/0.7195, allocations: 13.64 MB / 0.6182 GB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006217/0.7257, allocations: 6.886 MB / 0.6249 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002193/0.7279, allocations: 1.414 MB / 0.6263 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006222/0.7342, allocations: 3.892 MB / 0.6301 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.238e-05/0.7343, allocations: 51.5 kB / 0.6301 GB, free: 11.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=124): time 2.655e-06/0.7343, allocations: 0 / 0.6301 GB, free: 11.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=144): time 0.01257/0.7468, allocations: 6.602 MB / 0.6366 GB, free: 4.434 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.7469, allocations: 76.64 kB / 0.6366 GB, free: 4.348 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00268/0.7496, allocations: 1.837 MB / 0.6384 GB, free: 2.512 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.531e-05/0.7497, allocations: 53.69 kB / 0.6385 GB, free: 2.453 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009534/0.7507, allocations: 1.427 MB / 0.6399 GB, free: 1.008 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003757/0.7511, allocations: 0.4929 MB / 0.6404 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.191e-05/0.7511, allocations: 36 kB / 0.6404 GB, free: 484 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.7513, allocations: 373.8 kB / 0.6407 GB, free: 104 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/0.7525, allocations: 0.7613 MB / 0.6415 GB, free: 15.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.7539, allocations: 1.212 MB / 0.6427 GB, free: 13.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002751/0.7567, allocations: 2.108 MB / 0.6447 GB, free: 11.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/0.7567, allocations: 4 kB / 0.6447 GB, free: 11.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004284/0.761, allocations: 2.648 MB / 0.6473 GB, free: 8.973 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.761, allocations: 12.78 kB / 0.6473 GB, free: 8.961 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/0.7611, allocations: 12 kB / 0.6473 GB, free: 8.949 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/0.7623, allocations: 0.5055 MB / 0.6478 GB, free: 8.438 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.7637, allocations: 379.5 kB / 0.6482 GB, free: 8.066 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007498/0.7712, allocations: 6.424 MB / 0.6545 GB, free: 1.367 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.7727, allocations: 88.02 kB / 0.6546 GB, free: 1.281 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.7729, allocations: 68 kB / 0.6546 GB, free: 1.215 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(7,67.3%) 31} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002/0.7749, allocations: 1.04 MB / 0.6556 GB, free: 168 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003763/0.7753, allocations: 201.5 kB / 0.6558 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004052/0.7793, allocations: 2.504 MB / 0.6583 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.7793, allocations: 12 kB / 0.6583 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.7794, allocations: 12 kB / 0.6583 GB, free: 13.37 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.727e-05/0.7794, allocations: 11.95 kB / 0.6583 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008229/0.7876, allocations: 5.505 MB / 0.6637 GB, free: 7.715 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.7876, allocations: 0 / 0.6637 GB, free: 7.715 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009579/0.7886, allocations: 223.7 kB / 0.6639 GB, free: 7.496 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001181/0.7898, allocations: 0.4957 MB / 0.6644 GB, free: 6.988 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-05/0.7899, allocations: 35.92 kB / 0.6644 GB, free: 6.953 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2039/0.9938, allocations: 10.45 MB / 0.6746 GB, free: 91.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.9939, allocations: 3.25 kB / 0.6746 GB, free: 91.29 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004912/0.9988, allocations: 3.576 MB / 0.6781 GB, free: 90.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009088/0.9997, allocations: 455.5 kB / 0.6785 GB, free: 90.75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/1, allocations: 36.08 kB / 0.6786 GB, free: 90.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008838/1.001, allocations: 79.03 kB / 0.6787 GB, free: 90.74 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002689/1.001, allocations: 108.7 kB / 0.6788 GB, free: 90.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.923e-05/1.001, allocations: 45.62 kB / 0.6788 GB, free: 90.74 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001909/1.003, allocations: 1.262 MB / 0.68 GB, free: 90.63 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.003, allocations: 0.9688 kB / 0.68 GB, free: 90.63 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00219/1.005, allocations: 0.6381 MB / 0.6807 GB, free: 90.63 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,loadInertia.w) * 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 (102): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 12,(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005356/1.006, allocations: 383.6 kB / 0.681 GB, free: 90.54 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003453/1.009, allocations: 2.384 MB / 0.6834 GB, free: 90.24 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.009, allocations: 3.406 kB / 0.6834 GB, free: 90.24 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00204/1.011, allocations: 1.724 MB / 0.685 GB, free: 89.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002368/1.014, allocations: 0.5016 MB / 0.6855 GB, free: 89.65 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009329/1.023, allocations: 7.152 MB / 0.6925 GB, free: 86.73 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001925/1.025, allocations: 2.368 MB / 0.6948 GB, free: 85.95 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001483/1.027, allocations: 421.5 kB / 0.6952 GB, free: 85.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003289/1.027, allocations: 130.2 kB / 0.6953 GB, free: 85.89 MB / 442.7 MB Notification: Performance of SimCode: time 7.71e-07/1.027, allocations: 0 / 0.6953 GB, free: 85.89 MB / 442.7 MB Notification: Performance of Templates: time 0.04652/1.073, allocations: 31.88 MB / 0.7265 GB, free: 84.33 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches