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.001268/0.001268, allocations: 180.2 kB / 16.38 MB, free: 5.766 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.358/1.358, allocations: 223.2 MB / 240.3 MB, free: 11.86 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.0009871/0.0009871, allocations: 94.83 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002461/0.0002461, allocations: 11.94 kB / 351.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2085, allocations: 50.39 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.122/0.3305, allocations: 111.7 MB / 0.5012 GB, free: 0.7266 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.3308, allocations: 96.72 kB / 0.5013 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3655/0.6963, allocations: 92.7 MB / 0.5918 GB, free: 21.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6964, allocations: 3.938 kB / 0.5918 GB, free: 21.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002122/0.6966, allocations: 95.88 kB / 0.5919 GB, free: 21.43 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.008463/0.7051, allocations: 4.359 MB / 0.5962 GB, free: 17 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.7051, allocations: 16.02 kB / 0.5962 GB, free: 16.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003557/0.7087, allocations: 0.8303 MB / 0.597 GB, free: 16.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007206/0.7159, allocations: 3.842 MB / 0.6007 GB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/0.7161, allocations: 303.7 kB / 0.601 GB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005051/0.7166, allocations: 379.9 kB / 0.6014 GB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006976/0.7236, allocations: 5.282 MB / 0.6066 GB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.848e-05/0.7237, allocations: 7.906 kB / 0.6066 GB, free: 6.164 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003325/0.724, allocations: 168 kB / 0.6067 GB, free: 6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000101/0.7241, allocations: 167.7 kB / 0.6069 GB, free: 5.836 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006043/0.7302, allocations: 4.504 MB / 0.6113 GB, free: 1.328 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02299/0.7532, allocations: 16.97 MB / 0.6278 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008339/0.7615, allocations: 8.799 MB / 0.6364 GB, free: 6.199 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006858/0.7684, allocations: 4.281 MB / 0.6406 GB, free: 1.828 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001832/0.7703, allocations: 1.348 MB / 0.6419 GB, free: 464 kB / 410.7 MB Notification: Performance of pre-optimization done (n=191): time 3.286e-06/0.7703, allocations: 0 / 0.6419 GB, free: 464 kB / 410.7 MB Notification: Performance of matching and sorting (n=194): time 0.01631/0.7866, allocations: 8.807 MB / 0.6505 GB, free: 7.434 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.7867, allocations: 231.6 kB / 0.6508 GB, free: 7.156 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002647/0.7894, allocations: 2.037 MB / 0.6528 GB, free: 5.094 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001133/0.7895, allocations: 65.7 kB / 0.6528 GB, free: 5.023 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001431/0.791, allocations: 1.71 MB / 0.6545 GB, free: 3.289 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004369/0.7914, allocations: 0.6355 MB / 0.6551 GB, free: 2.645 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.7915, allocations: 44 kB / 0.6551 GB, free: 2.602 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.7917, allocations: 386.1 kB / 0.6555 GB, free: 2.219 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.7931, allocations: 1.027 MB / 0.6565 GB, free: 1.188 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1917/0.9849, allocations: 1.559 MB / 0.658 GB, free: 77.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002437/0.9874, allocations: 1.23 MB / 0.6592 GB, free: 77.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.9874, allocations: 6.875 kB / 0.6592 GB, free: 77.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=270) (initialization): time 0.00518/0.9926, allocations: 3.538 MB / 0.6627 GB, free: 77.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/0.9926, allocations: 15.97 kB / 0.6627 GB, free: 77.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.9927, allocations: 18.69 kB / 0.6627 GB, free: 77.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001594/0.9943, allocations: 0.758 MB / 0.6635 GB, free: 77.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.9956, allocations: 387.4 kB / 0.6638 GB, free: 77.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009307/1.005, allocations: 11.11 MB / 0.6747 GB, free: 72.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/1.007, allocations: 146.2 kB / 0.6748 GB, free: 72.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001681/1.007, allocations: 81.19 kB / 0.6749 GB, free: 72.14 MB / 426.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.00228/1.01, allocations: 1.308 MB / 0.6762 GB, free: 72.03 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004526/1.01, allocations: 245.9 kB / 0.6764 GB, free: 72.03 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00505/1.015, allocations: 3.434 MB / 0.6798 GB, free: 71.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/1.015, allocations: 18.84 kB / 0.6798 GB, free: 71.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/1.015, allocations: 15.5 kB / 0.6798 GB, free: 71.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.276e-05/1.015, allocations: 12.25 kB / 0.6798 GB, free: 71.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01084/1.026, allocations: 7.151 MB / 0.6868 GB, free: 70.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/1.026, allocations: 3.609 kB / 0.6868 GB, free: 70.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009598/1.027, allocations: 208.1 kB / 0.687 GB, free: 70.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002023/1.029, allocations: 0.9465 MB / 0.6879 GB, free: 70.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001238/1.029, allocations: 41.72 kB / 0.688 GB, free: 70.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01271/1.042, allocations: 15.58 MB / 0.7032 GB, free: 62.28 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.042, allocations: 3.688 kB / 0.7032 GB, free: 62.28 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006764/1.049, allocations: 5.005 MB / 0.7081 GB, free: 59.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001375/1.05, allocations: 0.5608 MB / 0.7086 GB, free: 59.56 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003013/1.05, allocations: 42.89 kB / 0.7087 GB, free: 59.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/1.052, allocations: 114.9 kB / 0.7088 GB, free: 59.51 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004541/1.052, allocations: 221 kB / 0.709 GB, free: 59.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/1.052, allocations: 51.91 kB / 0.709 GB, free: 59.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00194/1.054, allocations: 1.559 MB / 0.7106 GB, free: 58.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.054, allocations: 0 / 0.7106 GB, free: 58.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002616/1.057, allocations: 0.8149 MB / 0.7114 GB, free: 58.76 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[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.0005769/1.057, allocations: 398 kB / 0.7117 GB, free: 58.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00442/1.062, allocations: 3.338 MB / 0.715 GB, free: 57.08 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.062, allocations: 3.156 kB / 0.715 GB, free: 57.08 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003/1.065, allocations: 2.463 MB / 0.7174 GB, free: 55.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002962/1.068, allocations: 0.6684 MB / 0.7181 GB, free: 55.54 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/1.08, allocations: 8.781 MB / 0.7266 GB, free: 50.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002186/1.083, allocations: 2.915 MB / 0.7295 GB, free: 49.61 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001979/1.085, allocations: 0.5012 MB / 0.73 GB, free: 49.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003976/1.085, allocations: 148.2 kB / 0.7301 GB, free: 49.54 MB / 426.7 MB Notification: Performance of SimCode: time 1.222e-06/1.085, allocations: 0 / 0.7301 GB, free: 49.54 MB / 426.7 MB Notification: Performance of Templates: time 0.06063/1.146, allocations: 42.75 MB / 0.7719 GB, free: 24.12 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/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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches