Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.strayReluctance.port_p.Phi.im|imc.stator.strayReluctance.port_p.Phi.re|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_3.2.3_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.strayReluctance.port_p.Phi.im|imc.stator.strayReluctance.port_p.Phi.re|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001631/0.001632, allocations: 172.2 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.2 MB / 219.8 MB, free: 14.26 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008832/0.0008831, allocations: 82.64 kB / 268 MB, free: 14.09 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.245e-05/2.249e-05, allocations: 4 kB / 322.5 MB, free: 17.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1015, allocations: 47.58 MB / 370.1 MB, free: 1.672 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4341/0.5357, allocations: 146.5 MB / 0.5045 GB, free: 11.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.536, allocations: 94 kB / 0.5046 GB, free: 11.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.15/1.686, allocations: 350.6 MB / 0.8469 GB, free: 11.05 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.192e-06/1.686, allocations: 0 / 0.8469 GB, free: 11.05 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0007836/1.687, allocations: 255.7 kB / 0.8472 GB, free: 10.8 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: 3009 * Number of variables: 3009 Notification: Performance of Generate backend data structure: time 0.04157/1.728, allocations: 10.27 MB / 0.8572 GB, free: 436 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.089e-05/1.728, allocations: 12.03 kB / 0.8572 GB, free: 424 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3504/2.079, allocations: 5.371 MB / 0.8624 GB, free: 30.21 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02399/2.103, allocations: 9.38 MB / 0.8716 GB, free: 29.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001241/2.104, allocations: 0.7893 MB / 0.8724 GB, free: 29.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005565/2.11, allocations: 1.038 MB / 0.8734 GB, free: 29.67 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05262/2.162, allocations: 17.73 MB / 0.8907 GB, free: 28.48 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004606/2.163, allocations: 12.81 kB / 0.8907 GB, free: 28.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003588/2.166, allocations: 452.8 kB / 0.8911 GB, free: 28.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000817/2.167, allocations: 0.7351 MB / 0.8919 GB, free: 28.45 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03168/2.199, allocations: 16.42 MB / 0.9079 GB, free: 28.34 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1093/2.308, allocations: 58.32 MB / 0.9648 GB, free: 5.605 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02719/2.335, allocations: 23.32 MB / 0.9876 GB, free: 3.645 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01413/2.35, allocations: 6.933 MB / 0.9944 GB, free: 0.6992 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04716/2.397, allocations: 21.89 MB / 1.016 GB, free: 364 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.534e-05/2.397, allocations: 95.3 kB / 1.016 GB, free: 260 kB / 474.7 MB Notification: Performance of pre-optimization done (n=662): time 1.178e-05/2.397, allocations: 6 kB / 1.016 GB, free: 260 kB / 474.7 MB Notification: Performance of matching and sorting (n=687): time 0.3773/2.774, allocations: 25.05 MB / 1.04 GB, free: 70.62 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.782e-05/2.774, allocations: 148.9 kB / 1.04 GB, free: 70.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006246/2.781, allocations: 3.567 MB / 1.044 GB, free: 70.23 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001508/2.782, allocations: 124.5 kB / 1.044 GB, free: 70.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002531/2.785, allocations: 4.229 MB / 1.048 GB, free: 69.38 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003113/2.788, allocations: 2.278 MB / 1.05 GB, free: 67.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006629/2.789, allocations: 137 kB / 1.051 GB, free: 67.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005221/2.789, allocations: 0.5987 MB / 1.051 GB, free: 67.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007561/2.797, allocations: 4.438 MB / 1.055 GB, free: 67.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008971/2.806, allocations: 6.003 MB / 1.061 GB, free: 65.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009091/2.815, allocations: 5.472 MB / 1.067 GB, free: 65.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.97e-05/2.815, allocations: 11.12 kB / 1.067 GB, free: 65.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=931) (initialization): time 0.02447/2.839, allocations: 13.61 MB / 1.08 GB, free: 65.21 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/2.84, allocations: 21.94 kB / 1.08 GB, free: 65.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001186/2.84, allocations: 45.5 kB / 1.08 GB, free: 65.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008231/2.848, allocations: 3.967 MB / 1.084 GB, free: 65.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006102/2.854, allocations: 1.302 MB / 1.085 GB, free: 65.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01779/2.872, allocations: 16.73 MB / 1.102 GB, free: 58.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00715/2.879, allocations: 350.5 kB / 1.102 GB, free: 58.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002847/2.882, allocations: 295 kB / 1.102 GB, free: 58.53 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 199 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (667): * Single equations (assignments): 628 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 31 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(8,56.2%) 27,(1,100.0%) 1} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,12 76} Notification: Performance of prepare postOptimizeDAE: time 0.005078/2.887, allocations: 478.6 kB / 1.103 GB, free: 58.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003043/2.89, allocations: 0.5311 MB / 1.103 GB, free: 58.11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02748/2.918, allocations: 13.15 MB / 1.116 GB, free: 56.54 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002053/2.918, allocations: 154 kB / 1.116 GB, free: 56.47 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.348e-05/2.918, allocations: 8.688 kB / 1.116 GB, free: 56.47 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001382/2.918, allocations: 30.33 kB / 1.116 GB, free: 56.47 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05391/2.972, allocations: 26.5 MB / 1.142 GB, free: 44.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.064e-05/2.972, allocations: 5.094 kB / 1.142 GB, free: 44.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00422/2.976, allocations: 0.8596 MB / 1.143 GB, free: 44.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007907/2.984, allocations: 3.927 MB / 1.147 GB, free: 43.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001412/2.986, allocations: 153.1 kB / 1.147 GB, free: 43.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01791/3.004, allocations: 20.65 MB / 1.167 GB, free: 27.96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/3.004, allocations: 6.5 kB / 1.167 GB, free: 27.96 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03597/3.04, allocations: 19.81 MB / 1.186 GB, free: 13.49 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0062/3.046, allocations: 1.648 MB / 1.188 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003178/3.049, allocations: 108.2 kB / 1.188 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005465/3.055, allocations: 307.9 kB / 1.188 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002141/3.057, allocations: 0.5005 MB / 1.189 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001383/3.058, allocations: 192.6 kB / 1.189 GB, free: 11.19 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005666/3.064, allocations: 2.692 MB / 1.192 GB, free: 8.754 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.1e-07/3.064, allocations: 0 / 1.192 GB, free: 8.754 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01012/3.074, allocations: 1.974 MB / 1.194 GB, free: 6.789 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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.strayReluctance.Phi.re,imc.stator.strayReluctance.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 (445): * Single equations (assignments): 403 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 31 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(2,100.0%) 12,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 12} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,12 76} Notification: Performance of Backend phase and start with SimCode phase: time 0.002206/3.076, allocations: 0.6837 MB / 1.194 GB, free: 6.266 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02902/3.105, allocations: 12.11 MB / 1.206 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-05/3.105, allocations: 5.875 kB / 1.206 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01445/3.12, allocations: 6.538 MB / 1.212 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00777/3.128, allocations: 1.175 MB / 1.214 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3572/3.485, allocations: 19.8 MB / 1.233 GB, free: 77.63 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01206/3.497, allocations: 7.121 MB / 1.24 GB, free: 76.69 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006561/3.504, allocations: 1.651 MB / 1.242 GB, free: 76.51 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001359/3.505, allocations: 380.9 kB / 1.242 GB, free: 76.51 MB / 0.4948 GB Notification: Performance of SimCode: time 9.21e-07/3.505, allocations: 0 / 1.242 GB, free: 76.51 MB / 0.4948 GB Notification: Performance of Templates: time 0.1714/3.676, allocations: 116.2 MB / 1.355 GB, free: 41.69 MB / 0.4948 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches