Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.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.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_4.0.0_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_4.0.0_Modelica.Magnetic.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.00165/0.00165, allocations: 180.6 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 223.2 MB / 240.3 MB, free: 10.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008431/0.0008431, allocations: 102.3 kB / 291.5 MB, free: 10.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002276/0.0002276, allocations: 4 kB / 351.1 MB, free: 15.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1884, allocations: 50.41 MB / 401.5 MB, free: 32.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1153/0.3037, allocations: 109.7 MB / 0.4992 GB, free: 2.715 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.304, allocations: 95.95 kB / 0.4993 GB, free: 2.621 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3142/0.6182, allocations: 80.51 MB / 0.5779 GB, free: 35.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.6182, allocations: 4 kB / 0.5779 GB, free: 35.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002334/0.6185, allocations: 79.88 kB / 0.578 GB, free: 35.54 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.008668/0.6272, allocations: 3.548 MB / 0.5814 GB, free: 31.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.6272, allocations: 8.031 kB / 0.5815 GB, free: 31.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003775/0.631, allocations: 0.7296 MB / 0.5822 GB, free: 31.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007247/0.6382, allocations: 3.368 MB / 0.5855 GB, free: 27.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/0.6384, allocations: 242.2 kB / 0.5857 GB, free: 27.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006998/0.6391, allocations: 311.9 kB / 0.586 GB, free: 27.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007019/0.6462, allocations: 4.174 MB / 0.5901 GB, free: 22.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-05/0.6463, allocations: 7.906 kB / 0.5901 GB, free: 22.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003943/0.6467, allocations: 132 kB / 0.5902 GB, free: 22.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000107/0.6468, allocations: 142.2 kB / 0.5903 GB, free: 22.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0058/0.6526, allocations: 3.46 MB / 0.5937 GB, free: 19.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01957/0.6722, allocations: 13.56 MB / 0.607 GB, free: 5.254 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005463/0.6777, allocations: 6.869 MB / 0.6137 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005811/0.6835, allocations: 3.258 MB / 0.6168 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.462e-05/0.6836, allocations: 47.88 kB / 0.6169 GB, free: 10.08 MB / 394.7 MB Notification: Performance of pre-optimization done (n=130): time 2.915e-06/0.6836, allocations: 0 / 0.6169 GB, free: 10.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=150): time 0.01345/0.6971, allocations: 6.807 MB / 0.6235 GB, free: 3.082 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.6971, allocations: 68.72 kB / 0.6236 GB, free: 3.004 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002742/0.6999, allocations: 1.619 MB / 0.6252 GB, free: 1.387 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001162/0.7, allocations: 49.7 kB / 0.6252 GB, free: 1.332 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009954/0.701, allocations: 1.42 MB / 0.6266 GB, free: 15.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003956/0.7014, allocations: 0.5044 MB / 0.6271 GB, free: 15.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.619e-05/0.7015, allocations: 36 kB / 0.6271 GB, free: 15.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.7017, allocations: 377.9 kB / 0.6275 GB, free: 14.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.703, allocations: 0.7808 MB / 0.6283 GB, free: 14.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/0.7045, allocations: 1.222 MB / 0.6295 GB, free: 12.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.7061, allocations: 0.9972 MB / 0.6304 GB, free: 11.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.7061, allocations: 4 kB / 0.6304 GB, free: 11.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.004682/0.7108, allocations: 2.691 MB / 0.6331 GB, free: 9.078 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.7108, allocations: 12 kB / 0.6331 GB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.574e-05/0.7109, allocations: 12 kB / 0.6331 GB, free: 9.055 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00143/0.7123, allocations: 0.5057 MB / 0.6336 GB, free: 8.543 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/0.7139, allocations: 395.4 kB / 0.634 GB, free: 8.156 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00807/0.722, allocations: 6.548 MB / 0.6404 GB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/0.7237, allocations: 88.11 kB / 0.6404 GB, free: 1.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002654/0.724, allocations: 75.98 kB / 0.6405 GB, free: 1.176 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (184): * Single equations (assignments): 182 * 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,(8,56.2%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002132/0.7262, allocations: 1.04 MB / 0.6415 GB, free: 128 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005016/0.7267, allocations: 197.7 kB / 0.6417 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004661/0.7313, allocations: 2.57 MB / 0.6442 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.7314, allocations: 15.98 kB / 0.6442 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.822e-05/0.7314, allocations: 8 kB / 0.6442 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.7314, allocations: 7.984 kB / 0.6443 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/0.7416, allocations: 5.645 MB / 0.6498 GB, free: 7.484 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.7417, allocations: 0 / 0.6498 GB, free: 7.484 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/0.7428, allocations: 239.7 kB / 0.65 GB, free: 7.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001309/0.7441, allocations: 0.492 MB / 0.6505 GB, free: 6.742 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001157/0.7442, allocations: 35.98 kB / 0.6505 GB, free: 6.707 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.188/0.9323, allocations: 10.6 MB / 0.6609 GB, free: 83.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.9323, allocations: 3.75 kB / 0.6609 GB, free: 83.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004752/0.9371, allocations: 3.755 MB / 0.6645 GB, free: 82.65 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009762/0.9381, allocations: 467.9 kB / 0.665 GB, free: 82.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002321/0.9383, allocations: 32.75 kB / 0.665 GB, free: 82.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009139/0.9392, allocations: 75.22 kB / 0.6651 GB, free: 82.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002352/0.9395, allocations: 120.5 kB / 0.6652 GB, free: 82.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.108e-05/0.9396, allocations: 44.97 kB / 0.6652 GB, free: 82.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001542/0.9411, allocations: 1.244 MB / 0.6665 GB, free: 82.44 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.9411, allocations: 3.844 kB / 0.6665 GB, free: 82.44 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001917/0.943, allocations: 0.6306 MB / 0.6671 GB, free: 82.44 MB / 426.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.stray.Phi.re,aimc.stator.stray.Phi.im,aimc.stator.zeroInductor.i0,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 (108): * Single equations (assignments): 103 * 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%) 1,(1,100.0%) 12,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005422/0.9436, allocations: 374.5 kB / 0.6674 GB, free: 82.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003433/0.947, allocations: 2.432 MB / 0.6698 GB, free: 82.06 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.9471, allocations: 4.25 kB / 0.6698 GB, free: 82.06 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002046/0.9491, allocations: 1.752 MB / 0.6715 GB, free: 81.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/0.9512, allocations: 492.8 kB / 0.672 GB, free: 81.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009755/0.961, allocations: 7.186 MB / 0.679 GB, free: 78.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001671/0.9627, allocations: 2.428 MB / 0.6814 GB, free: 77.79 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001461/0.9642, allocations: 420.1 kB / 0.6818 GB, free: 77.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003207/0.9645, allocations: 129 kB / 0.6819 GB, free: 77.73 MB / 426.7 MB Notification: Performance of SimCode: time 9.72e-07/0.9645, allocations: 0 / 0.6819 GB, free: 77.73 MB / 426.7 MB Notification: Performance of Templates: time 0.04472/1.009, allocations: 31.44 MB / 0.7126 GB, free: 76.19 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches