Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_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.0009737/0.0009737, allocations: 196.1 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 226.5 MB / 245.4 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007624/0.0007623, allocations: 104.3 kB / 297.4 MB, free: 6.848 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002099/0.0002099, allocations: 7.984 kB / 357.4 MB, free: 10.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.184, allocations: 51.29 MB / 408.7 MB, free: 27.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2636/0.4477, allocations: 110.7 MB / 0.5072 GB, free: 97.2 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.4479, allocations: 98.28 kB / 0.5073 GB, free: 97.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.168/0.6159, allocations: 83.5 MB / 0.5889 GB, free: 22.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.6159, allocations: 0 / 0.5889 GB, free: 22.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002559/0.6162, allocations: 79.92 kB / 0.589 GB, free: 22.37 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.009447/0.6257, allocations: 3.544 MB / 0.5924 GB, free: 18.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.6257, allocations: 8.031 kB / 0.5924 GB, free: 18.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004125/0.6299, allocations: 0.7696 MB / 0.5932 GB, free: 17.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005884/0.6358, allocations: 2.76 MB / 0.5959 GB, free: 15.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002131/0.636, allocations: 234.6 kB / 0.5961 GB, free: 14.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009267/0.637, allocations: 312.3 kB / 0.5964 GB, free: 14.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008902/0.6459, allocations: 4.2 MB / 0.6005 GB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001321/0.646, allocations: 11.89 kB / 0.6005 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006343/0.6467, allocations: 132 kB / 0.6006 GB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001251/0.6468, allocations: 134.3 kB / 0.6008 GB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00655/0.6534, allocations: 3.46 MB / 0.6041 GB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02396/0.6774, allocations: 13.64 MB / 0.6175 GB, free: 8.547 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006734/0.6841, allocations: 6.873 MB / 0.6242 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002614/0.6868, allocations: 1.411 MB / 0.6256 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007057/0.6939, allocations: 3.896 MB / 0.6294 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.694, allocations: 51.56 kB / 0.6294 GB, free: 11.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=124): time 3.266e-06/0.694, allocations: 3.938 kB / 0.6294 GB, free: 11.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=144): time 0.01335/0.7073, allocations: 6.609 MB / 0.6359 GB, free: 4.449 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.7074, allocations: 68.72 kB / 0.6359 GB, free: 4.371 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003152/0.7106, allocations: 1.837 MB / 0.6377 GB, free: 2.535 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001825/0.7108, allocations: 49.7 kB / 0.6378 GB, free: 2.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001022/0.7118, allocations: 1.431 MB / 0.6392 GB, free: 1.031 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004609/0.7123, allocations: 0.4968 MB / 0.6397 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.7124, allocations: 32 kB / 0.6397 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.7126, allocations: 369.9 kB / 0.64 GB, free: 132 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.7139, allocations: 0.7614 MB / 0.6408 GB, free: 15.37 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/0.7154, allocations: 1.216 MB / 0.642 GB, free: 13.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002981/0.7184, allocations: 2.104 MB / 0.644 GB, free: 11.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/0.7185, allocations: 4 kB / 0.644 GB, free: 11.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004687/0.7232, allocations: 2.648 MB / 0.6466 GB, free: 8.996 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/0.7232, allocations: 16.31 kB / 0.6466 GB, free: 8.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.549e-05/0.7233, allocations: 12 kB / 0.6466 GB, free: 8.969 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001408/0.7247, allocations: 0.5014 MB / 0.6471 GB, free: 8.461 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/0.7262, allocations: 387.4 kB / 0.6475 GB, free: 8.082 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008012/0.7342, allocations: 6.42 MB / 0.6538 GB, free: 1.391 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/0.7359, allocations: 87.8 kB / 0.6539 GB, free: 1.305 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002377/0.7361, allocations: 68 kB / 0.6539 GB, free: 1.238 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,(7,67.3%) 31} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002059/0.7382, allocations: 1.048 MB / 0.6549 GB, free: 184 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004654/0.7387, allocations: 201.5 kB / 0.6551 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004501/0.7432, allocations: 2.504 MB / 0.6576 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.7432, allocations: 12 kB / 0.6576 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.908e-05/0.7432, allocations: 8 kB / 0.6576 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/0.7433, allocations: 7.969 kB / 0.6576 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009484/0.7528, allocations: 5.513 MB / 0.663 GB, free: 7.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.7528, allocations: 0 / 0.663 GB, free: 7.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009863/0.7538, allocations: 223.9 kB / 0.6632 GB, free: 7.512 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001289/0.7551, allocations: 0.4953 MB / 0.6637 GB, free: 7.004 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/0.7552, allocations: 39.94 kB / 0.6637 GB, free: 6.965 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1931/0.9483, allocations: 10.44 MB / 0.6739 GB, free: 91.35 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.9483, allocations: 3.75 kB / 0.6739 GB, free: 91.35 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004968/0.9533, allocations: 3.57 MB / 0.6774 GB, free: 90.89 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009271/0.9543, allocations: 464 kB / 0.6779 GB, free: 90.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002387/0.9545, allocations: 31.58 kB / 0.6779 GB, free: 90.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000863/0.9554, allocations: 79.08 kB / 0.678 GB, free: 90.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002906/0.9557, allocations: 105.9 kB / 0.6781 GB, free: 90.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.41e-05/0.9558, allocations: 44.08 kB / 0.6781 GB, free: 90.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001695/0.9575, allocations: 1.267 MB / 0.6793 GB, free: 90.69 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9575, allocations: 1.375 kB / 0.6793 GB, free: 90.69 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002259/0.9598, allocations: 0.6361 MB / 0.68 GB, free: 90.69 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 () * 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.0006256/0.9604, allocations: 390.7 kB / 0.6803 GB, free: 90.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003606/0.964, allocations: 2.386 MB / 0.6827 GB, free: 90.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.964, allocations: 3.812 kB / 0.6827 GB, free: 90.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002118/0.9662, allocations: 1.72 MB / 0.6843 GB, free: 89.71 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002846/0.969, allocations: 0.4991 MB / 0.6848 GB, free: 89.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009543/0.9786, allocations: 7.139 MB / 0.6918 GB, free: 86.79 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002/0.9806, allocations: 2.313 MB / 0.6941 GB, free: 86.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006651/0.9813, allocations: 144.3 kB / 0.6942 GB, free: 86.02 MB / 442.7 MB Notification: Performance of SimCode: time 8.52e-07/0.9813, allocations: 4 kB / 0.6942 GB, free: 86.02 MB / 442.7 MB Notification: Performance of Templates: time 0.08387/1.065, allocations: 98.63 MB / 0.7905 GB, free: 25.38 MB / 442.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches