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.001163/0.001163, allocations: 195 kB / 14.16 MB, free: 1.152 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009818/0.0009818, allocations: 85.06 kB / 292.1 MB, free: 5.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.2e-05/2.201e-05, allocations: 0 / 350.6 MB, free: 2.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08964/0.08968, allocations: 51.48 MB / 402 MB, free: 14.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3272/0.4169, allocations: 110.6 MB / 0.5006 GB, free: 11.28 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.4172, allocations: 95.25 kB / 0.5007 GB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.421/0.8382, allocations: 83.74 MB / 0.5825 GB, free: 74.56 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.8383, allocations: 3.812 kB / 0.5825 GB, free: 74.56 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002922/0.8386, allocations: 83.91 kB / 0.5826 GB, free: 74.55 MB / 442.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.01008/0.8487, allocations: 3.248 MB / 0.5858 GB, free: 73.42 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.8487, allocations: 9.406 kB / 0.5858 GB, free: 73.42 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004829/0.8536, allocations: 0.7635 MB / 0.5865 GB, free: 73.23 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009613/0.8632, allocations: 3.378 MB / 0.5898 GB, free: 72.72 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003656/0.8636, allocations: 234.4 kB / 0.59 GB, free: 72.71 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001408/0.865, allocations: 315.2 kB / 0.5903 GB, free: 72.71 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01057/0.8756, allocations: 4.091 MB / 0.5943 GB, free: 72.33 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001228/0.8758, allocations: 3.156 kB / 0.5943 GB, free: 72.33 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006554/0.8765, allocations: 130.7 kB / 0.5945 GB, free: 72.33 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001463/0.8766, allocations: 145.9 kB / 0.5946 GB, free: 72.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006195/0.8828, allocations: 3.344 MB / 0.5979 GB, free: 72.29 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02355/0.9064, allocations: 13.62 MB / 0.6112 GB, free: 69.55 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006729/0.9132, allocations: 6.807 MB / 0.6178 GB, free: 64.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002592/0.9158, allocations: 1.359 MB / 0.6192 GB, free: 64.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007484/0.9233, allocations: 3.867 MB / 0.6229 GB, free: 63.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.9234, allocations: 51.89 kB / 0.623 GB, free: 63.15 MB / 442.7 MB Notification: Performance of pre-optimization done (n=122): time 2.785e-06/0.9234, allocations: 0 / 0.623 GB, free: 63.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=142): time 0.009856/0.9332, allocations: 5.013 MB / 0.6279 GB, free: 60.66 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.9333, allocations: 66.12 kB / 0.6279 GB, free: 60.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003116/0.9364, allocations: 1.627 MB / 0.6295 GB, free: 59.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001268/0.9366, allocations: 47.77 kB / 0.6296 GB, free: 59.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008185/0.9374, allocations: 1.439 MB / 0.631 GB, free: 58.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000324/0.9377, allocations: 494.6 kB / 0.6314 GB, free: 58.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.9378, allocations: 35.22 kB / 0.6315 GB, free: 58.4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.938, allocations: 376.8 kB / 0.6318 GB, free: 58.06 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/0.9391, allocations: 0.713 MB / 0.6325 GB, free: 57.76 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001313/0.9404, allocations: 1.164 MB / 0.6337 GB, free: 56.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001494/0.9419, allocations: 0.9283 MB / 0.6346 GB, free: 56.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.638e-05/0.9419, allocations: 6.812 kB / 0.6346 GB, free: 56.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.00418/0.9461, allocations: 2.553 MB / 0.6371 GB, free: 55.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.9461, allocations: 17.2 kB / 0.6371 GB, free: 55.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.9462, allocations: 11.59 kB / 0.6371 GB, free: 55.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/0.9474, allocations: 0.4974 MB / 0.6376 GB, free: 55.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/0.9488, allocations: 385.4 kB / 0.638 GB, free: 55.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006749/0.9555, allocations: 6.396 MB / 0.6442 GB, free: 50.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/0.9574, allocations: 73.67 kB / 0.6443 GB, free: 50.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002115/0.9576, allocations: 79.34 kB / 0.6444 GB, free: 50.79 MB / 442.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 176 * 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.0003741/0.958, allocations: 199 kB / 0.6445 GB, free: 50.63 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005667/0.9586, allocations: 195.2 kB / 0.6447 GB, free: 50.53 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003923/0.9625, allocations: 2.415 MB / 0.6471 GB, free: 49.38 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.9625, allocations: 10.81 kB / 0.6471 GB, free: 49.38 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-05/0.9626, allocations: 6.938 kB / 0.6471 GB, free: 49.38 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.9626, allocations: 11.45 kB / 0.6471 GB, free: 49.38 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008684/0.9713, allocations: 5.384 MB / 0.6524 GB, free: 46.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.9713, allocations: 0 / 0.6524 GB, free: 46.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009246/0.9722, allocations: 216.4 kB / 0.6526 GB, free: 46.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001134/0.9734, allocations: 0.4966 MB / 0.6531 GB, free: 46.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.9735, allocations: 34.02 kB / 0.6531 GB, free: 46.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007574/0.9811, allocations: 10.42 MB / 0.6633 GB, free: 37.94 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.9811, allocations: 2.156 kB / 0.6633 GB, free: 37.94 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004535/0.9857, allocations: 3.53 MB / 0.6667 GB, free: 36.08 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/0.9867, allocations: 456.2 kB / 0.6672 GB, free: 35.76 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004502/0.9872, allocations: 27.47 kB / 0.6672 GB, free: 35.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.9883, allocations: 76.83 kB / 0.6673 GB, free: 35.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002406/0.9886, allocations: 111 kB / 0.6674 GB, free: 35.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.986e-05/0.9887, allocations: 35.77 kB / 0.6674 GB, free: 35.69 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001911/0.9906, allocations: 1.252 MB / 0.6686 GB, free: 35.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9906, allocations: 0 / 0.6686 GB, free: 35.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00239/0.993, allocations: 0.6358 MB / 0.6692 GB, free: 35.11 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 95 * 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.0006578/0.9937, allocations: 432.4 kB / 0.6697 GB, free: 34.92 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00332/0.997, allocations: 2.28 MB / 0.6719 GB, free: 33.86 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.997, allocations: 0 / 0.6719 GB, free: 33.86 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001932/0.9989, allocations: 1.652 MB / 0.6735 GB, free: 32.81 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/1.001, allocations: 0.4893 MB / 0.674 GB, free: 32.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008096/1.009, allocations: 4.845 MB / 0.6787 GB, free: 30.53 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001876/1.011, allocations: 2.439 MB / 0.6811 GB, free: 29.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001451/1.012, allocations: 413.3 kB / 0.6815 GB, free: 29.38 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003659/1.013, allocations: 129.6 kB / 0.6816 GB, free: 29.37 MB / 442.7 MB Notification: Performance of SimCode: time 4.71e-07/1.013, allocations: 0 / 0.6816 GB, free: 29.37 MB / 442.7 MB Notification: Performance of Templates: time 0.04608/1.059, allocations: 32.04 MB / 0.7129 GB, free: 19.02 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/jenkins/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