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.000978/0.0009781, allocations: 176.4 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 221.5 MB / 230.3 MB, free: 7.492 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009238/0.0009238, allocations: 94.83 kB / 281.2 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.735e-05/1.753e-05, allocations: 4 kB / 337.1 MB, free: 9.977 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0925/0.09254, allocations: 50.42 MB / 387.5 MB, free: 7.516 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3398/0.4324, allocations: 113.8 MB / 0.4896 GB, free: 12.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.4327, allocations: 95.94 kB / 0.4897 GB, free: 12.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.636/1.069, allocations: 181.4 MB / 0.6668 GB, free: 39.03 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.994e-06/1.069, allocations: 0 / 0.6668 GB, free: 39.03 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008327/1.07, allocations: 191.1 kB / 0.6669 GB, free: 38.84 MB / 426.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.02342/1.093, allocations: 7.628 MB / 0.6744 GB, free: 31.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/1.093, allocations: 8.031 kB / 0.6744 GB, free: 31.13 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01079/1.104, allocations: 1.816 MB / 0.6762 GB, free: 29.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01778/1.122, allocations: 6.966 MB / 0.683 GB, free: 22.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004841/1.122, allocations: 264 kB / 0.6832 GB, free: 22.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002844/1.125, allocations: 483.8 kB / 0.6837 GB, free: 21.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01786/1.143, allocations: 8.514 MB / 0.692 GB, free: 13.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02558/1.169, allocations: 9.586 MB / 0.7014 GB, free: 3.297 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003881/1.169, allocations: 15.89 kB / 0.7014 GB, free: 3.281 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002443/1.172, allocations: 8 kB / 0.7014 GB, free: 3.273 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003048/1.172, allocations: 364.3 kB / 0.7017 GB, free: 2.914 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5997/1.772, allocations: 32.95 MB / 0.7339 GB, free: 42.93 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01765/1.789, allocations: 19.48 MB / 0.7529 GB, free: 28.43 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005452/1.795, allocations: 3.467 MB / 0.7563 GB, free: 28.37 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01595/1.811, allocations: 9.172 MB / 0.7653 GB, free: 27.4 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/1.811, allocations: 67.25 kB / 0.7653 GB, free: 27.36 MB / 426.8 MB Notification: Performance of pre-optimization done (n=317): time 4.869e-06/1.811, allocations: 0 / 0.7653 GB, free: 27.36 MB / 426.8 MB Notification: Performance of matching and sorting (n=323): time 0.01899/1.83, allocations: 10.48 MB / 0.7756 GB, free: 24.09 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/1.83, allocations: 84.23 kB / 0.7757 GB, free: 24.02 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005103/1.835, allocations: 3.125 MB / 0.7787 GB, free: 22.84 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004765/1.835, allocations: 29.42 kB / 0.7787 GB, free: 22.81 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001951/1.837, allocations: 3.53 MB / 0.7822 GB, free: 20.38 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009582/1.838, allocations: 1.038 MB / 0.7832 GB, free: 19.56 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001857/1.839, allocations: 0 / 0.7832 GB, free: 19.56 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001613/1.839, allocations: 457.1 kB / 0.7836 GB, free: 19.2 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00199/1.841, allocations: 1.619 MB / 0.7852 GB, free: 18.52 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002379/1.843, allocations: 2.617 MB / 0.7878 GB, free: 16.63 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003509/1.847, allocations: 2.406 MB / 0.7901 GB, free: 15.72 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.927e-05/1.847, allocations: 9.375 kB / 0.7901 GB, free: 15.72 MB / 426.8 MB Notification: Performance of matching and sorting (n=490) (initialization): time 0.008581/1.855, allocations: 5.633 MB / 0.7956 GB, free: 13.63 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/1.855, allocations: 19.31 kB / 0.7957 GB, free: 13.63 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.266e-05/1.855, allocations: 29.81 kB / 0.7957 GB, free: 13.63 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001763/1.857, allocations: 0.7938 MB / 0.7965 GB, free: 13.37 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002985/1.86, allocations: 0.8022 MB / 0.7972 GB, free: 13.34 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01094/1.871, allocations: 14.26 MB / 0.8112 GB, free: 1.938 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003772/1.875, allocations: 111.8 kB / 0.8113 GB, free: 1.93 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005736/1.876, allocations: 162.8 kB / 0.8114 GB, free: 1.898 MB / 426.8 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (427): * Single equations (assignments): 418 * 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.0006125/1.876, allocations: 213.2 kB / 0.8116 GB, free: 1.762 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007057/1.877, allocations: 409.3 kB / 0.812 GB, free: 1.555 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008883/1.886, allocations: 5.4 MB / 0.8173 GB, free: 15.37 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.121e-05/1.886, allocations: 31.03 kB / 0.8173 GB, free: 15.37 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-05/1.886, allocations: 19.97 kB / 0.8173 GB, free: 15.37 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-05/1.886, allocations: 19 kB / 0.8174 GB, free: 15.37 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0205/1.906, allocations: 11.3 MB / 0.8284 GB, free: 10.6 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/1.906, allocations: 3.5 kB / 0.8284 GB, free: 10.6 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/1.908, allocations: 383.1 kB / 0.8288 GB, free: 10.58 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003502/1.912, allocations: 1.339 MB / 0.8301 GB, free: 10.09 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004357/1.912, allocations: 44.95 kB / 0.8301 GB, free: 10.05 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02462/1.937, allocations: 23.14 MB / 0.8527 GB, free: 3.848 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.238e-06/1.937, allocations: 10.47 kB / 0.8527 GB, free: 3.844 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01455/1.951, allocations: 8.154 MB / 0.8607 GB, free: 12.71 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003581/1.955, allocations: 0.8908 MB / 0.8616 GB, free: 11.89 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001853/1.957, allocations: 30.38 kB / 0.8616 GB, free: 11.86 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003274/1.96, allocations: 142.4 kB / 0.8617 GB, free: 11.76 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007539/1.961, allocations: 317.8 kB / 0.862 GB, free: 11.57 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002093/1.961, allocations: 91.88 kB / 0.8621 GB, free: 11.49 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.003802/1.965, allocations: 2.333 MB / 0.8644 GB, free: 9.441 MB / 474.8 MB Notification: Performance of sort global known variables: time 2.01e-07/1.965, allocations: 0 / 0.8644 GB, free: 9.441 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.006085/1.971, allocations: 1.301 MB / 0.8657 GB, free: 8.148 MB / 474.8 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (193): * Single equations (assignments): 184 * 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,(3,100.0%) 23,(6,72.2%) 46,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009625/1.972, allocations: 445.9 kB / 0.8661 GB, free: 7.801 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.007794/1.98, allocations: 5.128 MB / 0.8711 GB, free: 2.969 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/1.98, allocations: 0 / 0.8711 GB, free: 2.969 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.2976/2.278, allocations: 3.776 MB / 0.8748 GB, free: 85.92 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007568/2.285, allocations: 0.8387 MB / 0.8756 GB, free: 85.91 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03253/2.318, allocations: 11.56 MB / 0.8869 GB, free: 83.55 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009761/2.328, allocations: 5.239 MB / 0.892 GB, free: 82.68 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.00483/2.332, allocations: 0.9359 MB / 0.8929 GB, free: 82.57 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009796/2.333, allocations: 250.2 kB / 0.8932 GB, free: 82.57 MB / 474.8 MB Notification: Performance of SimCode: time 1.092e-06/2.333, allocations: 0 / 0.8932 GB, free: 82.57 MB / 474.8 MB Notification: Performance of Templates: time 0.1094/2.443, allocations: 56.49 MB / 0.9483 GB, free: 79.58 MB / 474.8 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/jenkins/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