Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.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.ComparisonPolyphase.IMC_DOL_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc3.is.1.|aimc3.is.2.|aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.is.1.|aimcM.is.2.|aimcM.is.3.|aimcM.is.4.|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc3.is.1.|aimc3.is.2.|aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.is.1.|aimcM.is.2.|aimcM.is.3.|aimcM.is.4.|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008914/0.0008914, allocations: 176.5 kB / 17.4 MB, free: 4.414 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.262/1.262, allocations: 223.3 MB / 241.4 MB, free: 11.72 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.0007484/0.0007483, allocations: 101.2 kB / 292.6 MB, free: 10.8 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003284/0.0003286, allocations: 8 kB / 352.4 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2035, allocations: 50.39 MB / 402.8 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2738/0.4774, allocations: 114.7 MB / 0.5054 GB, free: 100.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.4777, allocations: 108.2 kB / 0.5055 GB, free: 100.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5637/1.041, allocations: 183.1 MB / 0.6843 GB, free: 50.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.773e-06/1.041, allocations: 0 / 0.6843 GB, free: 50.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0008237/1.042, allocations: 201.2 kB / 0.6845 GB, free: 50.78 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: 2135 * Number of variables: 2135 Notification: Performance of Generate backend data structure: time 0.02633/1.069, allocations: 8.29 MB / 0.6926 GB, free: 47.97 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/1.069, allocations: 10.84 kB / 0.6926 GB, free: 47.97 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01017/1.079, allocations: 1.831 MB / 0.6944 GB, free: 47.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01459/1.093, allocations: 6.362 MB / 0.7006 GB, free: 46.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006522/1.094, allocations: 0.5927 MB / 0.7012 GB, free: 46.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003079/1.097, allocations: 0.7834 MB / 0.702 GB, free: 46.4 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02699/1.124, allocations: 11.05 MB / 0.7128 GB, free: 45.55 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004227/1.125, allocations: 15.58 kB / 0.7128 GB, free: 45.54 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00243/1.127, allocations: 342.1 kB / 0.7131 GB, free: 45.54 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003295/1.128, allocations: 360.9 kB / 0.7134 GB, free: 45.52 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01976/1.147, allocations: 9.318 MB / 0.7225 GB, free: 45.44 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06165/1.209, allocations: 34.58 MB / 0.7563 GB, free: 30.87 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01626/1.225, allocations: 19.87 MB / 0.7757 GB, free: 13.56 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007265/1.233, allocations: 3.752 MB / 0.7794 GB, free: 12.18 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02013/1.253, allocations: 9.516 MB / 0.7887 GB, free: 7.414 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.015e-05/1.253, allocations: 71.78 kB / 0.7887 GB, free: 7.348 MB / 442.7 MB Notification: Performance of pre-optimization done (n=321): time 7.474e-06/1.253, allocations: 0 / 0.7887 GB, free: 7.348 MB / 442.7 MB Notification: Performance of matching and sorting (n=327): time 0.03464/1.288, allocations: 15.2 MB / 0.8036 GB, free: 10.23 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/1.288, allocations: 85.98 kB / 0.8037 GB, free: 10.13 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009566/1.297, allocations: 4.333 MB / 0.8079 GB, free: 6.48 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007274/1.298, allocations: 77.7 kB / 0.808 GB, free: 6.398 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003133/1.301, allocations: 3.528 MB / 0.8114 GB, free: 3.258 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001391/1.303, allocations: 1.102 MB / 0.8125 GB, free: 2.273 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000524/1.303, allocations: 80 kB / 0.8126 GB, free: 2.195 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003221/1.303, allocations: 455.8 kB / 0.813 GB, free: 1.789 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00353/1.307, allocations: 1.814 MB / 0.8148 GB, free: 256 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01002/1.317, allocations: 3.352 MB / 0.818 GB, free: 14.59 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0076/1.325, allocations: 4.886 MB / 0.8228 GB, free: 9.777 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-05/1.325, allocations: 8 kB / 0.8228 GB, free: 9.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=494) (initialization): time 0.01194/1.337, allocations: 6.007 MB / 0.8287 GB, free: 4.434 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.532e-05/1.337, allocations: 20 kB / 0.8287 GB, free: 4.414 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.157e-05/1.337, allocations: 35.88 kB / 0.8287 GB, free: 4.383 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001999/1.339, allocations: 0.7882 MB / 0.8295 GB, free: 3.711 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003255/1.342, allocations: 0.8157 MB / 0.8303 GB, free: 3.012 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2334/1.576, allocations: 14.87 MB / 0.8448 GB, free: 67.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003848/1.579, allocations: 186.3 kB / 0.845 GB, free: 67.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005725/1.58, allocations: 165.1 kB / 0.8452 GB, free: 67.73 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 140 * Number of states: 0 () * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (431): * Single equations (assignments): 422 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2,(4,56.2%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00527/1.585, allocations: 2.588 MB / 0.8477 GB, free: 67.62 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009894/1.586, allocations: 456.8 kB / 0.8481 GB, free: 67.62 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00891/1.595, allocations: 5.657 MB / 0.8536 GB, free: 67.11 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/1.595, allocations: 30.44 kB / 0.8537 GB, free: 67.11 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.831e-05/1.595, allocations: 19.22 kB / 0.8537 GB, free: 67.11 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.191e-05/1.595, allocations: 17.34 kB / 0.8537 GB, free: 67.11 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02117/1.617, allocations: 12.63 MB / 0.866 GB, free: 66.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/1.617, allocations: 3.594 kB / 0.866 GB, free: 66.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001571/1.618, allocations: 390.1 kB / 0.8664 GB, free: 66.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003085/1.621, allocations: 1.383 MB / 0.8678 GB, free: 66.08 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002279/1.621, allocations: 89.41 kB / 0.8679 GB, free: 66.08 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02065/1.642, allocations: 24.08 MB / 0.8914 GB, free: 54.26 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.642, allocations: 3.906 kB / 0.8914 GB, free: 54.26 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01155/1.654, allocations: 8.108 MB / 0.8993 GB, free: 53.49 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002428/1.656, allocations: 0.9587 MB / 0.9002 GB, free: 53.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007411/1.657, allocations: 82.59 kB / 0.9003 GB, free: 53.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001966/1.659, allocations: 189 kB / 0.9005 GB, free: 53.21 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007362/1.66, allocations: 320 kB / 0.9008 GB, free: 53.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001862/1.66, allocations: 88.28 kB / 0.9009 GB, free: 53.14 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004178/1.664, allocations: 2.961 MB / 0.9038 GB, free: 52.03 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.42e-07/1.664, allocations: 2.812 kB / 0.9038 GB, free: 52.03 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005197/1.669, allocations: 1.475 MB / 0.9052 GB, free: 51.89 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorqueM.phi,aimc3.inertiaRotor.w,aimc3.stator.core.Phi.re,aimc3.stator.core.Phi.im,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque3.phi) * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (197): * Single equations (assignments): 188 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(6,72.2%) 46,(3,100.0%) 23,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000832/1.67, allocations: 498.7 kB / 0.9057 GB, free: 51.73 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007228/1.677, allocations: 5.652 MB / 0.9112 GB, free: 49.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.627e-06/1.677, allocations: 7.75 kB / 0.9112 GB, free: 49.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00529/1.683, allocations: 4.108 MB / 0.9152 GB, free: 46.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008277/1.691, allocations: 1.193 MB / 0.9164 GB, free: 46.59 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02939/1.72, allocations: 17.29 MB / 0.9333 GB, free: 37.33 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008278/1.729, allocations: 5.091 MB / 0.9382 GB, free: 35.53 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005206/1.734, allocations: 1.011 MB / 0.9392 GB, free: 35.41 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001214/1.735, allocations: 276.8 kB / 0.9395 GB, free: 35.39 MB / 474.7 MB Notification: Performance of SimCode: time 1.152e-06/1.735, allocations: 0 / 0.9395 GB, free: 35.39 MB / 474.7 MB Notification: Performance of Templates: time 0.1164/1.852, allocations: 72.54 MB / 1.01 GB, free: 7.082 MB / 490.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/ComparisonPolyphase/IMC_DOL_Polyphase/IMC_DOL_Polyphase.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches