Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.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.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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001669/0.001669, allocations: 192.1 kB / 8.534 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.244/1.244, allocations: 225.5 MB / 234.4 MB, free: 3.328 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008356/0.0008357, allocations: 90.22 kB / 286.3 MB, free: 5.305 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.811e-06/5.831e-06, allocations: 0 / 343.2 MB, free: 8.676 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0888/0.08882, allocations: 51.47 MB / 394.6 MB, free: 5.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2919/0.3808, allocations: 114.9 MB / 0.4976 GB, free: 10.79 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.381, allocations: 105.9 kB / 0.4977 GB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.6485/1.03, allocations: 187.4 MB / 0.6807 GB, free: 52.66 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001137/1.031, allocations: 198.6 kB / 0.6809 GB, free: 52.63 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.02878/1.06, allocations: 7.679 MB / 0.6884 GB, free: 47.87 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/1.06, allocations: 12.83 kB / 0.6884 GB, free: 47.86 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01318/1.073, allocations: 1.921 MB / 0.6903 GB, free: 46.91 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01876/1.092, allocations: 7.037 MB / 0.6971 GB, free: 42.3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005193/1.092, allocations: 265.1 kB / 0.6974 GB, free: 42.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003404/1.096, allocations: 485.7 kB / 0.6978 GB, free: 42.26 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01986/1.115, allocations: 8.686 MB / 0.7063 GB, free: 33.56 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03372/1.149, allocations: 9.729 MB / 0.7158 GB, free: 23.6 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003529/1.15, allocations: 15.83 kB / 0.7158 GB, free: 23.58 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002242/1.152, allocations: 7.938 kB / 0.7159 GB, free: 23.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00026/1.152, allocations: 376.2 kB / 0.7162 GB, free: 23.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.296/1.448, allocations: 33.38 MB / 0.7488 GB, free: 83.99 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005074/1.453, allocations: 2.648 MB / 0.7514 GB, free: 83.97 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007608/1.461, allocations: 3.844 MB / 0.7551 GB, free: 83.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01995/1.481, allocations: 10.71 MB / 0.7656 GB, free: 82.64 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.641e-05/1.481, allocations: 75.7 kB / 0.7657 GB, free: 82.6 MB / 442.7 MB Notification: Performance of pre-optimization done (n=399): time 7.434e-06/1.481, allocations: 0 / 0.7657 GB, free: 82.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=405): time 0.02274/1.504, allocations: 11.62 MB / 0.777 GB, free: 81.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/1.504, allocations: 92.19 kB / 0.7771 GB, free: 81.05 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006085/1.51, allocations: 3.208 MB / 0.7802 GB, free: 80.76 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009046/1.511, allocations: 25.7 kB / 0.7803 GB, free: 80.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001572/1.513, allocations: 2.786 MB / 0.783 GB, free: 79.27 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001773/1.514, allocations: 1.299 MB / 0.7843 GB, free: 78.4 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003125/1.515, allocations: 0 / 0.7843 GB, free: 78.4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003054/1.515, allocations: 493.8 kB / 0.7847 GB, free: 78.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002923/1.518, allocations: 2.028 MB / 0.7867 GB, free: 78.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003296/1.521, allocations: 3.063 MB / 0.7897 GB, free: 76.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004282/1.526, allocations: 2.673 MB / 0.7923 GB, free: 76.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.693e-05/1.526, allocations: 11.34 kB / 0.7923 GB, free: 76.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=572) (initialization): time 0.01167/1.537, allocations: 6.368 MB / 0.7985 GB, free: 76.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/1.537, allocations: 6.656 kB / 0.7985 GB, free: 76.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.836e-05/1.537, allocations: 31.5 kB / 0.7986 GB, free: 76.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002037/1.539, allocations: 0.8132 MB / 0.7994 GB, free: 76.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004103/1.544, allocations: 0.9316 MB / 0.8003 GB, free: 76.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01185/1.555, allocations: 13.97 MB / 0.8139 GB, free: 65.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004963/1.56, allocations: 100.5 kB / 0.814 GB, free: 65.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001009/1.561, allocations: 181.7 kB / 0.8142 GB, free: 65.95 MB / 442.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (509): * Single equations (assignments): 500 * 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,(3,100.0%) 23,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(4,56.2%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009083/1.562, allocations: 222.9 kB / 0.8144 GB, free: 65.81 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001402/1.564, allocations: 437.1 kB / 0.8148 GB, free: 65.59 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/1.575, allocations: 6.15 MB / 0.8208 GB, free: 63.15 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-05/1.575, allocations: 43.69 kB / 0.8209 GB, free: 63.15 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.435e-05/1.575, allocations: 22 kB / 0.8209 GB, free: 63.15 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.295e-05/1.575, allocations: 19.22 kB / 0.8209 GB, free: 63.15 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0274/1.602, allocations: 13.44 MB / 0.834 GB, free: 57.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/1.602, allocations: 5.375 kB / 0.834 GB, free: 57.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002566/1.605, allocations: 0.4969 MB / 0.8345 GB, free: 57.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003934/1.609, allocations: 1.37 MB / 0.8359 GB, free: 56.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000781/1.61, allocations: 49.97 kB / 0.8359 GB, free: 56.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02415/1.634, allocations: 22.48 MB / 0.8579 GB, free: 40.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/1.634, allocations: 9.531 kB / 0.8579 GB, free: 40.2 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01683/1.651, allocations: 9.388 MB / 0.867 GB, free: 35.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003832/1.655, allocations: 1.001 MB / 0.868 GB, free: 35.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001966/1.657, allocations: 28.69 kB / 0.8681 GB, free: 35.19 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003685/1.66, allocations: 133.6 kB / 0.8682 GB, free: 35.19 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007502/1.661, allocations: 264.1 kB / 0.8684 GB, free: 35.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003317/1.661, allocations: 115.8 kB / 0.8685 GB, free: 35.12 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.005564/1.667, allocations: 2.394 MB / 0.8709 GB, free: 34.15 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00975/1.677, allocations: 1.345 MB / 0.8722 GB, free: 34.13 MB / 442.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (275): * Single equations (assignments): 266 * 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%) 5,(1,100.0%) 8,(1,100.0%) 13,(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.001965/1.679, allocations: 452.9 kB / 0.8726 GB, free: 34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01094/1.69, allocations: 5.95 MB / 0.8784 GB, free: 30.45 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/1.69, allocations: 0 / 0.8784 GB, free: 30.45 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007683/1.697, allocations: 3.94 MB / 0.8823 GB, free: 26.85 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007842/1.705, allocations: 0.8175 MB / 0.8831 GB, free: 26.21 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03833/1.744, allocations: 12.37 MB / 0.8952 GB, free: 15.12 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008464/1.752, allocations: 5.531 MB / 0.9006 GB, free: 10.93 MB / 442.7 MB Notification: Performance of SimCode: time 7.91e-07/1.752, allocations: 0 / 0.9006 GB, free: 10.93 MB / 442.7 MB Notification: Performance of Templates: time 0.3273/2.08, allocations: 69.5 MB / 0.9684 GB, free: 74.04 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches