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_YD.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_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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008572/0.0008572, allocations: 176.9 kB / 17.4 MB, free: 4.309 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.359/1.359, allocations: 223.3 MB / 241.4 MB, free: 11.71 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.0007755/0.0007753, allocations: 96.95 kB / 292.6 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003033/0.0003033, allocations: 19.94 kB / 352.4 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.201, allocations: 50.39 MB / 402.8 MB, free: 32.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1188/0.3199, allocations: 111.9 MB / 0.5026 GB, free: 440 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.3202, allocations: 95.94 kB / 0.5027 GB, free: 344 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3576/0.6779, allocations: 92.57 MB / 0.5931 GB, free: 21.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6779, allocations: 0 / 0.5931 GB, free: 21.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003705/0.6783, allocations: 99.86 kB / 0.5932 GB, free: 21.32 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: 1011 * Number of variables: 1011 Notification: Performance of Generate backend data structure: time 0.01146/0.6897, allocations: 4.312 MB / 0.5974 GB, free: 16.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.6898, allocations: 8.031 kB / 0.5974 GB, free: 16.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004051/0.6938, allocations: 0.8348 MB / 0.5982 GB, free: 16.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006477/0.7003, allocations: 3.23 MB / 0.6013 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002491/0.7006, allocations: 292.1 kB / 0.6016 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001301/0.7019, allocations: 384.4 kB / 0.602 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01319/0.7151, allocations: 5.317 MB / 0.6072 GB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001725/0.7153, allocations: 11.84 kB / 0.6072 GB, free: 6.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008129/0.7162, allocations: 160 kB / 0.6073 GB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001382/0.7163, allocations: 171.7 kB / 0.6075 GB, free: 6.355 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009516/0.7258, allocations: 4.496 MB / 0.6119 GB, free: 1.855 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04152/0.7674, allocations: 16.97 MB / 0.6285 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01157/0.779, allocations: 8.811 MB / 0.6371 GB, free: 6.703 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003266/0.7823, allocations: 1.873 MB / 0.6389 GB, free: 4.836 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009754/0.7921, allocations: 4.886 MB / 0.6437 GB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002158/0.7943, allocations: 1.324 MB / 0.645 GB, free: 14.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=185): time 4.329e-06/0.7943, allocations: 4 kB / 0.645 GB, free: 14.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=188): time 0.01991/0.8142, allocations: 8.729 MB / 0.6535 GB, free: 5.559 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.8144, allocations: 231.6 kB / 0.6537 GB, free: 5.285 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004498/0.8189, allocations: 2.287 MB / 0.656 GB, free: 2.969 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000209/0.8191, allocations: 57.7 kB / 0.656 GB, free: 2.906 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001803/0.8209, allocations: 1.73 MB / 0.6577 GB, free: 1.152 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006383/0.8216, allocations: 0.6151 MB / 0.6583 GB, free: 0.5312 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.8217, allocations: 44 kB / 0.6583 GB, free: 500 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002116/0.822, allocations: 386 kB / 0.6587 GB, free: 108 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1973/1.019, allocations: 0.9967 MB / 0.6597 GB, free: 78.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002168/1.022, allocations: 1.561 MB / 0.6612 GB, free: 78.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003639/1.025, allocations: 2.552 MB / 0.6637 GB, free: 77.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.375e-05/1.025, allocations: 3.719 kB / 0.6637 GB, free: 77.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=266) (initialization): time 0.005814/1.031, allocations: 3.494 MB / 0.6671 GB, free: 77.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/1.031, allocations: 9.625 kB / 0.6671 GB, free: 77.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.582e-05/1.031, allocations: 15.03 kB / 0.6671 GB, free: 77.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001606/1.033, allocations: 0.7681 MB / 0.6679 GB, free: 77.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/1.034, allocations: 373.9 kB / 0.6682 GB, free: 77.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009427/1.044, allocations: 10.85 MB / 0.6788 GB, free: 72.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002097/1.046, allocations: 142.3 kB / 0.679 GB, free: 72.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003323/1.046, allocations: 79.22 kB / 0.6791 GB, free: 72.17 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (210): * Single equations (assignments): 205 * 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.002684/1.049, allocations: 1.322 MB / 0.6803 GB, free: 72.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006296/1.049, allocations: 250.9 kB / 0.6806 GB, free: 72.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005967/1.055, allocations: 3.37 MB / 0.6839 GB, free: 71.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/1.055, allocations: 19.88 kB / 0.6839 GB, free: 71.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.882e-05/1.055, allocations: 10.5 kB / 0.6839 GB, free: 71.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.048e-05/1.055, allocations: 9.844 kB / 0.6839 GB, free: 71.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01183/1.067, allocations: 7.022 MB / 0.6908 GB, free: 70.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/1.067, allocations: 0 / 0.6908 GB, free: 70.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007631/1.068, allocations: 190.5 kB / 0.691 GB, free: 70.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00197/1.07, allocations: 0.9467 MB / 0.6919 GB, free: 70.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000132/1.07, allocations: 43.11 kB / 0.6919 GB, free: 70.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0132/1.083, allocations: 15.24 MB / 0.7068 GB, free: 61.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/1.083, allocations: 0.8438 kB / 0.7068 GB, free: 61.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007376/1.091, allocations: 4.796 MB / 0.7115 GB, free: 59.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001323/1.092, allocations: 0.5561 MB / 0.712 GB, free: 59.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003974/1.093, allocations: 49.06 kB / 0.7121 GB, free: 59.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/1.094, allocations: 117.3 kB / 0.7122 GB, free: 59.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005108/1.094, allocations: 211.7 kB / 0.7124 GB, free: 59.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/1.094, allocations: 48.03 kB / 0.7124 GB, free: 59.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002318/1.097, allocations: 1.569 MB / 0.714 GB, free: 58.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.097, allocations: 0 / 0.714 GB, free: 58.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002931/1.1, allocations: 0.8089 MB / 0.7148 GB, free: 58.34 MB / 426.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[1].y,booleanStepYD[2].y,booleanStepYD[3].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 (112): * Single equations (assignments): 103 * 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.0006571/1.1, allocations: 399.4 kB / 0.7151 GB, free: 58.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004667/1.105, allocations: 3.286 MB / 0.7183 GB, free: 56.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/1.105, allocations: 0 / 0.7183 GB, free: 56.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003127/1.108, allocations: 2.426 MB / 0.7207 GB, free: 55.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004119/1.112, allocations: 0.68 MB / 0.7214 GB, free: 55.15 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/1.126, allocations: 8.714 MB / 0.7299 GB, free: 50.39 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003786/1.13, allocations: 2.843 MB / 0.7327 GB, free: 49.19 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002407/1.132, allocations: 0.499 MB / 0.7332 GB, free: 49.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006196/1.133, allocations: 149.2 kB / 0.7333 GB, free: 49.12 MB / 426.7 MB Notification: Performance of SimCode: time 1.082e-06/1.133, allocations: 0 / 0.7333 GB, free: 49.12 MB / 426.7 MB Notification: Performance of Templates: time 0.06589/1.199, allocations: 43.09 MB / 0.7754 GB, free: 21.77 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD_res.mat","/var/lib/jenkins1/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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches