Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,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.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..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_4.0.0_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=300000,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.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 221.5 MB / 230.3 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008978/0.0008978, allocations: 96.12 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.829e-05/1.838e-05, allocations: 7.938 kB / 337.1 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1007, allocations: 50.42 MB / 387.5 MB, free: 7.543 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3954/0.4961, allocations: 146.7 MB / 0.5217 GB, free: 12 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004177/0.4966, allocations: 109.7 kB / 0.5218 GB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.126/1.623, allocations: 345.4 MB / 0.8591 GB, free: 13.27 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.623e-06/1.623, allocations: 0 / 0.8591 GB, free: 13.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001132/1.624, allocations: 239.8 kB / 0.8593 GB, free: 13.04 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: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.04699/1.671, allocations: 10.19 MB / 0.8693 GB, free: 2.742 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/1.671, allocations: 11.98 kB / 0.8693 GB, free: 2.73 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3296/2, allocations: 4.718 MB / 0.8739 GB, free: 27.2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02579/2.026, allocations: 9.465 MB / 0.8831 GB, free: 26.69 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007811/2.027, allocations: 339.9 kB / 0.8835 GB, free: 26.69 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005465/2.033, allocations: 0.6065 MB / 0.8841 GB, free: 26.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03617/2.069, allocations: 13.53 MB / 0.8973 GB, free: 26.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04966/2.118, allocations: 15.15 MB / 0.9121 GB, free: 25.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007678/2.119, allocations: 14.44 kB / 0.9121 GB, free: 25.49 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006211/2.125, allocations: 7 kB / 0.9121 GB, free: 25.49 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001137/2.127, allocations: 0.7511 MB / 0.9128 GB, free: 25.46 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1032/2.23, allocations: 54.87 MB / 0.9664 GB, free: 6.531 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03197/2.262, allocations: 31.81 MB / 0.9975 GB, free: 10.8 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007756/2.27, allocations: 4.362 MB / 1.002 GB, free: 9.18 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02016/2.29, allocations: 10.7 MB / 1.012 GB, free: 3.98 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.362e-05/2.29, allocations: 82.05 kB / 1.012 GB, free: 3.91 MB / 474.7 MB Notification: Performance of pre-optimization done (n=393): time 6.452e-06/2.29, allocations: 0 / 1.012 GB, free: 3.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=418): time 0.04256/2.333, allocations: 18.53 MB / 1.03 GB, free: 9.902 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.46e-05/2.333, allocations: 120.7 kB / 1.03 GB, free: 9.762 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006472/2.339, allocations: 3.503 MB / 1.034 GB, free: 6.652 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008828/2.34, allocations: 25.7 kB / 1.034 GB, free: 6.621 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003185/2.343, allocations: 4.677 MB / 1.038 GB, free: 2.453 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00192/2.345, allocations: 1.372 MB / 1.04 GB, free: 1.191 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003497/2.346, allocations: 0 / 1.04 GB, free: 1.191 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003635/2.346, allocations: 0.5395 MB / 1.04 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.012/2.358, allocations: 3.476 MB / 1.044 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006899/2.365, allocations: 4.819 MB / 1.048 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00902/2.374, allocations: 4.81 MB / 1.053 GB, free: 6.645 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-05/2.374, allocations: 20 kB / 1.053 GB, free: 6.625 MB / 0.4948 GB Notification: Performance of matching and sorting (n=759) (initialization): time 0.3264/2.7, allocations: 10.04 MB / 1.063 GB, free: 80.63 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.307e-05/2.701, allocations: 32.31 kB / 1.063 GB, free: 80.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000163/2.701, allocations: 65.09 kB / 1.063 GB, free: 80.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005035/2.706, allocations: 1.627 MB / 1.065 GB, free: 80.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005861/2.712, allocations: 1.35 MB / 1.066 GB, free: 80.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02667/2.738, allocations: 15.83 MB / 1.081 GB, free: 75.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00783/2.746, allocations: 256.5 kB / 1.082 GB, free: 75.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001231/2.748, allocations: 279.9 kB / 1.082 GB, free: 75.61 MB / 0.4948 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (666): * Single equations (assignments): 662 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(7,67.3%) 28,(1,100.0%) 1,(14,39.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001329/2.749, allocations: 290.3 kB / 1.082 GB, free: 75.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001683/2.751, allocations: 463.4 kB / 1.083 GB, free: 75.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02402/2.775, allocations: 8.336 MB / 1.091 GB, free: 75.02 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.967e-05/2.775, allocations: 42.94 kB / 1.091 GB, free: 75.02 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-05/2.775, allocations: 16.41 kB / 1.091 GB, free: 75.02 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.831e-05/2.775, allocations: 26.67 kB / 1.091 GB, free: 75.02 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0451/2.82, allocations: 16.61 MB / 1.107 GB, free: 73.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-05/2.82, allocations: 9.438 kB / 1.107 GB, free: 73.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00379/2.824, allocations: 0.7609 MB / 1.108 GB, free: 73.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004483/2.828, allocations: 1.519 MB / 1.109 GB, free: 73.85 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009464/2.829, allocations: 44.53 kB / 1.109 GB, free: 73.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0199/2.849, allocations: 18.76 MB / 1.128 GB, free: 65.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/2.849, allocations: 7.406 kB / 1.128 GB, free: 65.14 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02102/2.87, allocations: 12.83 MB / 1.14 GB, free: 63.35 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003465/2.874, allocations: 1.145 MB / 1.141 GB, free: 63.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001594/2.876, allocations: 17.88 kB / 1.141 GB, free: 63.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003562/2.879, allocations: 218.4 kB / 1.142 GB, free: 63.02 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008493/2.88, allocations: 326.3 kB / 1.142 GB, free: 63.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003556/2.88, allocations: 127.5 kB / 1.142 GB, free: 63.02 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005139/2.885, allocations: 2.569 MB / 1.145 GB, free: 62.84 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.41e-07/2.886, allocations: 0 / 1.145 GB, free: 62.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01057/2.896, allocations: 1.697 MB / 1.146 GB, free: 62.84 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imcQS.inertiaRotor.phi,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,imc.inertiaRotor.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.stray.Phi.re,imc.stator.stray.Phi.im,imc.stator.zeroInductor.i0,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (360): * Single equations (assignments): 353 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(14,40.3%) 44,(2,100.0%) 12,(1,100.0%) 5,(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.0017/2.898, allocations: 473.4 kB / 1.147 GB, free: 62.71 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01371/2.912, allocations: 7.824 MB / 1.154 GB, free: 61.51 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.405e-05/2.912, allocations: 3.406 kB / 1.154 GB, free: 61.51 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007796/2.919, allocations: 4.508 MB / 1.159 GB, free: 59.28 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00619/2.926, allocations: 0.9024 MB / 1.16 GB, free: 59.07 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03452/2.96, allocations: 16.42 MB / 1.176 GB, free: 52.43 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01336/2.974, allocations: 6.951 MB / 1.182 GB, free: 49.95 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006598/2.98, allocations: 1.822 MB / 1.184 GB, free: 49.78 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001467/2.982, allocations: 351.5 kB / 1.184 GB, free: 49.75 MB / 0.4948 GB Notification: Performance of SimCode: time 1.914e-06/2.982, allocations: 0 / 1.184 GB, free: 49.75 MB / 0.4948 GB Notification: Performance of Templates: time 0.4582/3.44, allocations: 70.72 MB / 1.254 GB, free: 77.07 MB / 0.4948 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches