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.001116/0.001116, allocations: 194.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000892/0.0008921, allocations: 101.7 kB / 286.7 MB, free: 5.305 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.425e-05/1.437e-05, allocations: 4 kB / 343.7 MB, free: 8.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09999/0.1, allocations: 51.47 MB / 395.2 MB, free: 4.734 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.367/0.4671, allocations: 110 MB / 0.4933 GB, free: 15.69 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.4674, allocations: 94.5 kB / 0.4934 GB, free: 15.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2824/0.7497, allocations: 82.73 MB / 0.5742 GB, free: 1.102 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.7498, allocations: 192 / 0.5742 GB, free: 1.102 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003159/0.7501, allocations: 75.94 kB / 0.5743 GB, free: 1.027 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.2423/0.9925, allocations: 3.244 MB / 0.5774 GB, free: 70.67 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.99e-05/0.9926, allocations: 9.312 kB / 0.5774 GB, free: 70.67 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005203/0.9978, allocations: 0.768 MB / 0.5782 GB, free: 70.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007669/1.006, allocations: 3.37 MB / 0.5815 GB, free: 70.15 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/1.006, allocations: 99.81 kB / 0.5816 GB, free: 70.15 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006481/1.006, allocations: 187.3 kB / 0.5817 GB, free: 70.14 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005692/1.012, allocations: 3.16 MB / 0.5848 GB, free: 70.13 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006333/1.018, allocations: 3.643 MB / 0.5884 GB, free: 69.77 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-05/1.018, allocations: 0 / 0.5884 GB, free: 69.77 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002594/1.019, allocations: 6.922 kB / 0.5884 GB, free: 69.77 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001155/1.019, allocations: 137.9 kB / 0.5885 GB, free: 69.76 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01949/1.038, allocations: 13.02 MB / 0.6012 GB, free: 67.22 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00505/1.043, allocations: 6.741 MB / 0.6078 GB, free: 62.03 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00189/1.045, allocations: 1.313 MB / 0.6091 GB, free: 62.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00546/1.051, allocations: 3.766 MB / 0.6128 GB, free: 61.06 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/1.051, allocations: 45.16 kB / 0.6128 GB, free: 61.02 MB / 442.7 MB Notification: Performance of pre-optimization done (n=122): time 3.577e-06/1.051, allocations: 0 / 0.6128 GB, free: 61.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=142): time 0.01109/1.062, allocations: 5.432 MB / 0.6181 GB, free: 59.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/1.062, allocations: 66.84 kB / 0.6182 GB, free: 59.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/1.064, allocations: 1.356 MB / 0.6195 GB, free: 59.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001381/1.064, allocations: 27.8 kB / 0.6195 GB, free: 59.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006855/1.065, allocations: 1.436 MB / 0.621 GB, free: 58.88 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002687/1.065, allocations: 480 kB / 0.6214 GB, free: 58.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.458e-05/1.065, allocations: 0 / 0.6214 GB, free: 58.57 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.885e-05/1.065, allocations: 371.3 kB / 0.6218 GB, free: 58.27 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008946/1.066, allocations: 0.6761 MB / 0.6224 GB, free: 58.13 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/1.067, allocations: 1.124 MB / 0.6235 GB, free: 57.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00211/1.07, allocations: 1.091 MB / 0.6246 GB, free: 56.89 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/1.07, allocations: 4.188 kB / 0.6246 GB, free: 56.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.005214/1.075, allocations: 2.56 MB / 0.6271 GB, free: 55.99 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/1.075, allocations: 15.95 kB / 0.6271 GB, free: 55.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.858e-05/1.075, allocations: 17.91 kB / 0.6271 GB, free: 55.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001388/1.076, allocations: 486.4 kB / 0.6276 GB, free: 55.85 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/1.078, allocations: 384.4 kB / 0.628 GB, free: 55.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006935/1.085, allocations: 6.148 MB / 0.634 GB, free: 51.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/1.086, allocations: 53.42 kB / 0.634 GB, free: 51.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/1.086, allocations: 72.66 kB / 0.6341 GB, free: 51.48 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.0002739/1.087, allocations: 151.6 kB / 0.6342 GB, free: 51.36 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002648/1.087, allocations: 176.4 kB / 0.6344 GB, free: 51.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005301/1.092, allocations: 2.467 MB / 0.6368 GB, free: 50.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/1.092, allocations: 13.22 kB / 0.6368 GB, free: 50.18 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/1.092, allocations: 6.906 kB / 0.6368 GB, free: 50.18 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.982e-05/1.092, allocations: 10.33 kB / 0.6368 GB, free: 50.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009372/1.102, allocations: 5.049 MB / 0.6418 GB, free: 47.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/1.102, allocations: 0 / 0.6418 GB, free: 47.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009401/1.103, allocations: 222.8 kB / 0.642 GB, free: 47.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001177/1.104, allocations: 485.3 kB / 0.6424 GB, free: 47.69 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.275e-05/1.104, allocations: 15.47 kB / 0.6424 GB, free: 47.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007224/1.111, allocations: 10.03 MB / 0.6522 GB, free: 39.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/1.111, allocations: 10.59 kB / 0.6523 GB, free: 39.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005262/1.117, allocations: 3.579 MB / 0.6557 GB, free: 37.58 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008806/1.117, allocations: 432.9 kB / 0.6562 GB, free: 37.28 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002353/1.118, allocations: 15.03 kB / 0.6562 GB, free: 37.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008698/1.119, allocations: 48.89 kB / 0.6562 GB, free: 37.27 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002732/1.119, allocations: 113.2 kB / 0.6563 GB, free: 37.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.1e-05/1.119, allocations: 38.25 kB / 0.6564 GB, free: 37.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001447/1.12, allocations: 1.016 MB / 0.6574 GB, free: 36.81 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.21e-07/1.12, allocations: 0 / 0.6574 GB, free: 36.81 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002079/1.123, allocations: 0.5574 MB / 0.6579 GB, free: 36.79 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.0004607/1.123, allocations: 352.9 kB / 0.6582 GB, free: 36.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003073/1.126, allocations: 2.162 MB / 0.6604 GB, free: 35.69 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/1.126, allocations: 4 kB / 0.6604 GB, free: 35.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001843/1.128, allocations: 1.581 MB / 0.6619 GB, free: 34.71 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/1.13, allocations: 368 kB / 0.6622 GB, free: 34.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007671/1.138, allocations: 4.73 MB / 0.6669 GB, free: 32.54 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00165/1.139, allocations: 2.437 MB / 0.6692 GB, free: 31.45 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00151/1.141, allocations: 391.8 kB / 0.6696 GB, free: 31.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003142/1.141, allocations: 116.3 kB / 0.6697 GB, free: 31.39 MB / 442.7 MB Notification: Performance of SimCode: time 1.072e-06/1.141, allocations: 0 / 0.6697 GB, free: 31.39 MB / 442.7 MB Notification: Performance of Templates: time 0.03847/1.18, allocations: 24.86 MB / 0.694 GB, free: 30.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