Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_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.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smr3.is.1.|smr3.is.2.|smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.is.1.|smrM.is.2.|smrM.is.3.|smrM.is.4.|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController3.x|vfControllerM.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smr3.is.1.|smr3.is.2.|smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.is.1.|smrM.is.2.|smrM.is.3.|smrM.is.4.|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController3.x|vfControllerM.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_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.001355/0.001355, allocations: 204 kB / 8.54 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 225.5 MB / 234.4 MB, free: 3.371 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000908/0.0009081, allocations: 89.06 kB / 286.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.151e-06/6.181e-06, allocations: 0 / 343.2 MB, free: 8.711 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09262/0.09265, allocations: 51.47 MB / 394.6 MB, free: 5.184 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2866/0.3793, allocations: 116 MB / 0.4987 GB, free: 9.711 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.3795, allocations: 103 kB / 0.4988 GB, free: 9.656 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.5874/0.9669, allocations: 163.3 MB / 0.6583 GB, free: 61.9 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0008058/0.9678, allocations: 169.8 kB / 0.6584 GB, free: 61.88 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: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.02187/0.9897, allocations: 6.514 MB / 0.6648 GB, free: 58.85 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.9897, allocations: 14 kB / 0.6648 GB, free: 58.85 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009663/0.9994, allocations: 1.537 MB / 0.6663 GB, free: 58.32 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01504/1.014, allocations: 5.808 MB / 0.672 GB, free: 55.37 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003484/1.015, allocations: 230.4 kB / 0.6722 GB, free: 55.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001932/1.017, allocations: 415.8 kB / 0.6726 GB, free: 55.35 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01454/1.031, allocations: 7.02 MB / 0.6795 GB, free: 52.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02043/1.052, allocations: 8.105 MB / 0.6874 GB, free: 48.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002602/1.052, allocations: 6.625 kB / 0.6874 GB, free: 48.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001424/1.054, allocations: 10.16 kB / 0.6874 GB, free: 48.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002453/1.054, allocations: 329.5 kB / 0.6877 GB, free: 48.71 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05547/1.109, allocations: 27.85 MB / 0.7149 GB, free: 23.92 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00327/1.113, allocations: 2.153 MB / 0.717 GB, free: 21.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004557/1.117, allocations: 3.204 MB / 0.7201 GB, free: 18.56 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01581/1.133, allocations: 8.786 MB / 0.7287 GB, free: 9.625 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.588e-05/1.133, allocations: 77.12 kB / 0.7288 GB, free: 9.539 MB / 442.7 MB Notification: Performance of pre-optimization done (n=328): time 7.204e-06/1.133, allocations: 3.984 kB / 0.7288 GB, free: 9.535 MB / 442.7 MB Notification: Performance of matching and sorting (n=334): time 0.01846/1.152, allocations: 8.986 MB / 0.7376 GB, free: 420 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/1.152, allocations: 86.03 kB / 0.7377 GB, free: 320 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1569/1.309, allocations: 2.401 MB / 0.74 GB, free: 94.54 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005883/1.309, allocations: 25.7 kB / 0.74 GB, free: 94.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001051/1.31, allocations: 2.463 MB / 0.7424 GB, free: 94.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009258/1.311, allocations: 1.093 MB / 0.7435 GB, free: 93.59 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/1.311, allocations: 0 / 0.7435 GB, free: 93.59 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/1.312, allocations: 461.6 kB / 0.7439 GB, free: 93.28 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002062/1.314, allocations: 1.558 MB / 0.7455 GB, free: 93.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002351/1.316, allocations: 2.583 MB / 0.748 GB, free: 92.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003298/1.319, allocations: 2.143 MB / 0.7501 GB, free: 92.06 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.027e-05/1.319, allocations: 7.75 kB / 0.7501 GB, free: 92.06 MB / 442.7 MB Notification: Performance of matching and sorting (n=503) (initialization): time 0.007785/1.327, allocations: 4.949 MB / 0.7549 GB, free: 91.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/1.327, allocations: 6.094 kB / 0.7549 GB, free: 91.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.203e-05/1.327, allocations: 31.81 kB / 0.755 GB, free: 91.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009732/1.328, allocations: 393.3 kB / 0.7553 GB, free: 91.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003908/1.332, allocations: 0.9052 MB / 0.7562 GB, free: 91.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005567/1.338, allocations: 6.956 MB / 0.763 GB, free: 86.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003427/1.341, allocations: 95.38 kB / 0.7631 GB, free: 86.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004369/1.342, allocations: 168.1 kB / 0.7633 GB, free: 86.62 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 144 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (478): * Single equations (assignments): 472 * 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: 4 * 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: 4 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006117/1.342, allocations: 212.8 kB / 0.7635 GB, free: 86.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005668/1.343, allocations: 356.6 kB / 0.7638 GB, free: 86.32 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007852/1.351, allocations: 4.655 MB / 0.7683 GB, free: 85.86 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.864e-05/1.351, allocations: 32.28 kB / 0.7684 GB, free: 85.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.437e-05/1.351, allocations: 11 kB / 0.7684 GB, free: 85.86 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.8e-05/1.351, allocations: 17.75 kB / 0.7684 GB, free: 85.86 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0181/1.369, allocations: 10.44 MB / 0.7786 GB, free: 84.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/1.369, allocations: 3.719 kB / 0.7786 GB, free: 84.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002452/1.372, allocations: 0.5096 MB / 0.7791 GB, free: 84.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002166/1.374, allocations: 0.8434 MB / 0.7799 GB, free: 84.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003472/1.374, allocations: 41.11 kB / 0.78 GB, free: 84.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01311/1.387, allocations: 15.06 MB / 0.7947 GB, free: 75.65 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/1.387, allocations: 3.062 kB / 0.7947 GB, free: 75.65 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01061/1.398, allocations: 7.062 MB / 0.8016 GB, free: 73.92 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002344/1.4, allocations: 0.7802 MB / 0.8023 GB, free: 73.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006918/1.401, allocations: 18.23 kB / 0.8023 GB, free: 73.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001984/1.403, allocations: 101.8 kB / 0.8024 GB, free: 73.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000318/1.403, allocations: 176.4 kB / 0.8026 GB, free: 73.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001914/1.403, allocations: 90.89 kB / 0.8027 GB, free: 73.35 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.002757/1.406, allocations: 1.783 MB / 0.8044 GB, free: 72.61 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005219/1.411, allocations: 1.102 MB / 0.8055 GB, free: 72.59 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smr3.inertiaRotor.w,smr3.stator.core.Phi.re,smr3.stator.core.Phi.im,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController3.x,vfControllerM.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (265): * Single equations (assignments): 258 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 5,(4,93.8%) 33,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000879/1.412, allocations: 491.1 kB / 0.806 GB, free: 72.46 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006037/1.418, allocations: 4.425 MB / 0.8103 GB, free: 70.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.418, allocations: 3.875 kB / 0.8103 GB, free: 70.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003788/1.422, allocations: 2.814 MB / 0.8131 GB, free: 69.03 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004043/1.426, allocations: 0.6651 MB / 0.8137 GB, free: 68.86 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02112/1.447, allocations: 10.18 MB / 0.8236 GB, free: 64.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006225/1.454, allocations: 4.641 MB / 0.8282 GB, free: 63.18 MB / 442.7 MB Notification: Performance of SimCode: time 1.132e-06/1.454, allocations: 0 / 0.8282 GB, free: 63.18 MB / 442.7 MB Notification: Performance of Templates: time 0.08759/1.541, allocations: 53.35 MB / 0.8803 GB, free: 48.38 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/ComparisonPolyphase/SMR_Inverter_Polyphase/SMR_Inverter_Polyphase.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches