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.001331/0.001331, allocations: 175.9 kB / 17.4 MB, free: 4.297 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.334/1.334, allocations: 223.3 MB / 241.4 MB, free: 11.69 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.0007192/0.0007192, allocations: 96.67 kB / 292.6 MB, free: 10.76 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002849/0.0002849, allocations: 12 kB / 352.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2307, allocations: 50.39 MB / 402.8 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1204/0.3512, allocations: 109.8 MB / 0.5006 GB, free: 2.461 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.3515, allocations: 101.1 kB / 0.5007 GB, free: 2.363 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.32/0.6715, allocations: 80.35 MB / 0.5791 GB, free: 35.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.6715, allocations: 3.938 kB / 0.5791 GB, free: 35.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002944/0.6718, allocations: 79.88 kB / 0.5792 GB, free: 35.41 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.009407/0.6813, allocations: 3.498 MB / 0.5826 GB, free: 31.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.6813, allocations: 12.03 kB / 0.5826 GB, free: 31.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003943/0.6853, allocations: 0.7383 MB / 0.5834 GB, free: 31.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00567/0.691, allocations: 2.72 MB / 0.586 GB, free: 28.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001904/0.6912, allocations: 238.6 kB / 0.5862 GB, free: 28.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009397/0.6921, allocations: 320.2 kB / 0.5865 GB, free: 27.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008803/0.7009, allocations: 4.194 MB / 0.5906 GB, free: 23.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001201/0.7011, allocations: 7.906 kB / 0.5906 GB, free: 23.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000626/0.7017, allocations: 132 kB / 0.5908 GB, free: 23.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001133/0.7018, allocations: 146.2 kB / 0.5909 GB, free: 23.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006388/0.7082, allocations: 3.453 MB / 0.5943 GB, free: 19.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02169/0.73, allocations: 13.57 MB / 0.6075 GB, free: 5.789 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005607/0.7356, allocations: 6.881 MB / 0.6143 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002529/0.7382, allocations: 1.414 MB / 0.6156 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007246/0.7455, allocations: 3.659 MB / 0.6192 GB, free: 8.844 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.7455, allocations: 43.56 kB / 0.6193 GB, free: 8.793 MB / 394.7 MB Notification: Performance of pre-optimization done (n=124): time 3.717e-06/0.7456, allocations: 4 kB / 0.6193 GB, free: 8.789 MB / 394.7 MB Notification: Performance of matching and sorting (n=144): time 0.01348/0.759, allocations: 6.606 MB / 0.6257 GB, free: 1.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.7591, allocations: 64.72 kB / 0.6258 GB, free: 1.906 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003385/0.7625, allocations: 1.824 MB / 0.6275 GB, free: 84 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002038/0.7627, allocations: 49.7 kB / 0.6276 GB, free: 28 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009896/0.7637, allocations: 1.431 MB / 0.629 GB, free: 14.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004899/0.7642, allocations: 492.8 kB / 0.6295 GB, free: 14.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.7644, allocations: 36 kB / 0.6295 GB, free: 14.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.7646, allocations: 373.9 kB / 0.6299 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/0.7661, allocations: 0.7613 MB / 0.6306 GB, free: 12.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001712/0.7678, allocations: 1.216 MB / 0.6318 GB, free: 11.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003047/0.7709, allocations: 2.108 MB / 0.6338 GB, free: 9.219 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/0.7709, allocations: 4 kB / 0.6338 GB, free: 9.215 MB / 410.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004679/0.7756, allocations: 2.655 MB / 0.6364 GB, free: 6.543 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/0.7756, allocations: 12.31 kB / 0.6365 GB, free: 6.531 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/0.7757, allocations: 20 kB / 0.6365 GB, free: 6.512 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00138/0.7771, allocations: 0.502 MB / 0.637 GB, free: 6.004 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.7785, allocations: 387.4 kB / 0.6373 GB, free: 5.625 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00783/0.7864, allocations: 6.411 MB / 0.6436 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/0.788, allocations: 75.95 kB / 0.6437 GB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002494/0.7883, allocations: 68 kB / 0.6437 GB, free: 14.8 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,(8,56.2%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002074/0.7904, allocations: 1.052 MB / 0.6448 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004797/0.7909, allocations: 201.6 kB / 0.6449 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004499/0.7954, allocations: 2.5 MB / 0.6474 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.7954, allocations: 15.98 kB / 0.6474 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.867e-05/0.7954, allocations: 8 kB / 0.6474 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.7955, allocations: 3.984 kB / 0.6474 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01008/0.8055, allocations: 5.501 MB / 0.6528 GB, free: 5.309 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.8056, allocations: 4 kB / 0.6528 GB, free: 5.305 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.8066, allocations: 227.9 kB / 0.653 GB, free: 5.082 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001303/0.8079, allocations: 495.9 kB / 0.6535 GB, free: 4.582 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/0.8081, allocations: 35.98 kB / 0.6535 GB, free: 4.547 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1944/1.002, allocations: 10.44 MB / 0.6637 GB, free: 84.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.003, allocations: 3.312 kB / 0.6637 GB, free: 84.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004913/1.007, allocations: 3.584 MB / 0.6672 GB, free: 83.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/1.009, allocations: 457.3 kB / 0.6677 GB, free: 83.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000259/1.009, allocations: 32.28 kB / 0.6677 GB, free: 83.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009288/1.01, allocations: 72.17 kB / 0.6678 GB, free: 83.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002687/1.01, allocations: 110.3 kB / 0.6679 GB, free: 83.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.118e-05/1.01, allocations: 46.19 kB / 0.6679 GB, free: 83.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001683/1.012, allocations: 1.251 MB / 0.6691 GB, free: 83.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.012, allocations: 3.094 kB / 0.6691 GB, free: 83.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002021/1.014, allocations: 0.6299 MB / 0.6697 GB, free: 83.35 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 (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.0005159/1.014, allocations: 359 kB / 0.6701 GB, free: 83.26 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003857/1.018, allocations: 2.396 MB / 0.6724 GB, free: 82.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/1.018, allocations: 7.5 kB / 0.6724 GB, free: 82.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002097/1.02, allocations: 1.704 MB / 0.6741 GB, free: 82.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002795/1.023, allocations: 496.9 kB / 0.6746 GB, free: 82.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/1.034, allocations: 7.131 MB / 0.6815 GB, free: 79.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002008/1.036, allocations: 2.376 MB / 0.6839 GB, free: 78.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001682/1.038, allocations: 413.5 kB / 0.6842 GB, free: 78.65 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003388/1.038, allocations: 133.3 kB / 0.6844 GB, free: 78.64 MB / 426.7 MB Notification: Performance of SimCode: time 6.22e-07/1.038, allocations: 0 / 0.6844 GB, free: 78.64 MB / 426.7 MB Notification: Performance of Templates: time 0.05092/1.089, allocations: 31.61 MB / 0.7152 GB, free: 76.71 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/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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches