Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.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_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|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.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|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.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009884/0.0009885, allocations: 197.8 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.171/1.171, allocations: 227.2 MB / 245 MB, free: 7.637 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008841/0.0008838, allocations: 97.08 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002368/0.0002368, allocations: 8 kB / 357.9 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2068, allocations: 51.49 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3104/0.5172, allocations: 112.7 MB / 0.5099 GB, free: 45.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/0.5176, allocations: 97.58 kB / 0.51 GB, free: 45.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2035/0.721, allocations: 95.98 MB / 0.6037 GB, free: 12.26 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.7211, allocations: 0 / 0.6037 GB, free: 12.26 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003843/0.7215, allocations: 103.9 kB / 0.6038 GB, free: 12.16 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1011 * Number of variables: 1011 Notification: Performance of Generate backend data structure: time 0.01334/0.7348, allocations: 4.394 MB / 0.6081 GB, free: 7.695 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.7349, allocations: 8.031 kB / 0.6081 GB, free: 7.688 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004788/0.7397, allocations: 0.8612 MB / 0.609 GB, free: 6.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01273/0.7524, allocations: 3.882 MB / 0.6128 GB, free: 2.887 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003738/0.7529, allocations: 299.7 kB / 0.6131 GB, free: 2.594 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001388/0.7543, allocations: 387.9 kB / 0.6134 GB, free: 2.215 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01332/0.7676, allocations: 5.282 MB / 0.6186 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001315/0.7678, allocations: 0 / 0.6186 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008027/0.7686, allocations: 172 kB / 0.6188 GB, free: 12.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001802/0.7688, allocations: 159.7 kB / 0.6189 GB, free: 12.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008716/0.7775, allocations: 4.504 MB / 0.6233 GB, free: 7.965 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02657/0.8041, allocations: 17.06 MB / 0.64 GB, free: 6.512 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007917/0.8121, allocations: 8.805 MB / 0.6486 GB, free: 12.71 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008399/0.8205, allocations: 4.519 MB / 0.653 GB, free: 8.051 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001941/0.8225, allocations: 1.348 MB / 0.6543 GB, free: 6.676 MB / 442.7 MB Notification: Performance of pre-optimization done (n=191): time 3.907e-06/0.8225, allocations: 0 / 0.6543 GB, free: 6.676 MB / 442.7 MB Notification: Performance of matching and sorting (n=194): time 0.01732/0.8398, allocations: 8.826 MB / 0.6629 GB, free: 13.64 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.84, allocations: 231.6 kB / 0.6631 GB, free: 13.36 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002994/0.843, allocations: 2.054 MB / 0.6651 GB, free: 11.28 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001402/0.8431, allocations: 65.69 kB / 0.6652 GB, free: 11.21 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001614/0.8447, allocations: 1.715 MB / 0.6669 GB, free: 9.469 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005223/0.8453, allocations: 0.6278 MB / 0.6675 GB, free: 8.832 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.8454, allocations: 40 kB / 0.6675 GB, free: 8.793 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.8456, allocations: 390.1 kB / 0.6679 GB, free: 8.406 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/0.8471, allocations: 1.027 MB / 0.6689 GB, free: 7.375 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001836/0.8489, allocations: 1.565 MB / 0.6704 GB, free: 5.594 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/0.8507, allocations: 1.224 MB / 0.6716 GB, free: 4.367 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.8507, allocations: 4 kB / 0.6716 GB, free: 4.363 MB / 458.7 MB Notification: Performance of matching and sorting (n=270) (initialization): time 0.00545/0.8561, allocations: 3.531 MB / 0.6751 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.8562, allocations: 20.25 kB / 0.6751 GB, free: 0.7695 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/0.8562, allocations: 12 kB / 0.6751 GB, free: 0.7578 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1903/1.046, allocations: 0.7667 MB / 0.6759 GB, free: 93.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001961/1.048, allocations: 383.3 kB / 0.6762 GB, free: 93.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009983/1.058, allocations: 11.11 MB / 0.6871 GB, free: 88.74 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002129/1.061, allocations: 143.6 kB / 0.6872 GB, free: 88.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001718/1.061, allocations: 82.34 kB / 0.6873 GB, free: 88.74 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],$PRE.switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[3].tSwitch,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 209 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(9,33.3%) 25,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0024/1.063, allocations: 1.321 MB / 0.6886 GB, free: 88.62 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000416/1.064, allocations: 248.6 kB / 0.6888 GB, free: 88.62 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005186/1.069, allocations: 3.437 MB / 0.6922 GB, free: 88.25 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/1.069, allocations: 22.67 kB / 0.6922 GB, free: 88.24 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-05/1.069, allocations: 12.16 kB / 0.6922 GB, free: 88.24 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/1.069, allocations: 10.53 kB / 0.6922 GB, free: 88.24 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009493/1.078, allocations: 7.136 MB / 0.6992 GB, free: 87.53 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/1.078, allocations: 6.375 kB / 0.6992 GB, free: 87.53 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008349/1.079, allocations: 199.2 kB / 0.6994 GB, free: 87.53 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001823/1.081, allocations: 0.9531 MB / 0.7003 GB, free: 87.48 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/1.081, allocations: 43.89 kB / 0.7003 GB, free: 87.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01203/1.093, allocations: 15.55 MB / 0.7155 GB, free: 79.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.093, allocations: 0 / 0.7155 GB, free: 79.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00652/1.1, allocations: 5.02 MB / 0.7204 GB, free: 78.88 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/1.101, allocations: 0.5614 MB / 0.721 GB, free: 78.66 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002812/1.101, allocations: 40.72 kB / 0.721 GB, free: 78.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/1.103, allocations: 118.8 kB / 0.7211 GB, free: 78.66 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004461/1.103, allocations: 222 kB / 0.7213 GB, free: 78.65 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.865e-05/1.103, allocations: 48.19 kB / 0.7214 GB, free: 78.65 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002008/1.105, allocations: 1.576 MB / 0.7229 GB, free: 78.51 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.105, allocations: 0 / 0.7229 GB, free: 78.51 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002378/1.107, allocations: 0.8243 MB / 0.7237 GB, free: 78.51 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 21 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[3].tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 25,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005172/1.108, allocations: 410.4 kB / 0.7241 GB, free: 78.41 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00382/1.112, allocations: 3.347 MB / 0.7274 GB, free: 77.23 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.112, allocations: 0 / 0.7274 GB, free: 77.23 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002684/1.115, allocations: 2.47 MB / 0.7298 GB, free: 75.86 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/1.117, allocations: 0.6805 MB / 0.7305 GB, free: 75.69 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009884/1.127, allocations: 8.805 MB / 0.7391 GB, free: 71.02 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001996/1.129, allocations: 2.924 MB / 0.7419 GB, free: 69.82 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001635/1.13, allocations: 0.5038 MB / 0.7424 GB, free: 69.75 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003623/1.131, allocations: 149.6 kB / 0.7426 GB, free: 69.75 MB / 458.7 MB Notification: Performance of SimCode: time 1.092e-06/1.131, allocations: 0 / 0.7426 GB, free: 69.75 MB / 458.7 MB Notification: Performance of Templates: time 0.0602/1.191, allocations: 43.07 MB / 0.7846 GB, free: 56.14 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_YD/IMC_YD.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches