Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed3.phi|constantSpeedM.phi|smee3.is.1.|smee3.is.2.|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee3.stator.strayReluctance.port_p.Phi.im|smee3.stator.strayReluctance.port_p.Phi.re|smeeM.is.1.|smeeM.is.2.|smeeM.is.3.|smeeM.is.4.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.strayReluctance.port_p.Phi.im|smeeM.stator.strayReluctance.port_p.Phi.re",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed3.phi|constantSpeedM.phi|smee3.is.1.|smee3.is.2.|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee3.stator.strayReluctance.port_p.Phi.im|smee3.stator.strayReluctance.port_p.Phi.re|smeeM.is.1.|smeeM.is.2.|smeeM.is.3.|smeeM.is.4.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.strayReluctance.port_p.Phi.im|smeeM.stator.strayReluctance.port_p.Phi.re",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase") [: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 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 170.5 kB / 8.475 MB, free: 1.852 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.187/1.187, allocations: 205.2 MB / 214.1 MB, free: 5.168 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008942/0.0008943, allocations: 90.7 kB / 262.1 MB, free: 5.195 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.633e-06/6.673e-06, allocations: 0 / 315 MB, free: 41.49 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07432/0.07434, allocations: 47.58 MB / 362.6 MB, free: 9.949 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2778/0.3521, allocations: 121.6 MB / 484.2 MB, free: 4.004 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.3524, allocations: 81.64 kB / 484.3 MB, free: 3.965 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.5727/0.9251, allocations: 190.8 MB / 0.6592 GB, free: 20.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005992/0.9258, allocations: 203.1 kB / 0.6594 GB, free: 20.33 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2293 * Number of variables: 2293 Notification: Performance of Generate backend data structure: time 0.02325/0.949, allocations: 7.972 MB / 0.6672 GB, free: 16.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.9491, allocations: 15.53 kB / 0.6672 GB, free: 16.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01139/0.9605, allocations: 1.927 MB / 0.6691 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01579/0.9763, allocations: 7.072 MB / 0.676 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004675/0.9768, allocations: 284.6 kB / 0.6763 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002579/0.9794, allocations: 0.5082 MB / 0.6767 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02091/1, allocations: 8.363 MB / 0.6849 GB, free: 7.109 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02227/1.023, allocations: 9.78 MB / 0.6945 GB, free: 1.055 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001915/1.023, allocations: 7.906 kB / 0.6945 GB, free: 1.047 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007704/1.024, allocations: 8 kB / 0.6945 GB, free: 1.039 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002264/1.024, allocations: 377.5 kB / 0.6948 GB, free: 0.668 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.249/1.273, allocations: 34.64 MB / 0.7287 GB, free: 45.47 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003284/1.276, allocations: 2.486 MB / 0.7311 GB, free: 45.45 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00409/1.28, allocations: 3.44 MB / 0.7345 GB, free: 45.42 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01403/1.294, allocations: 10.1 MB / 0.7443 GB, free: 43.76 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/1.294, allocations: 71.64 kB / 0.7444 GB, free: 43.71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=369): time 5.019e-06/1.294, allocations: 0 / 0.7444 GB, free: 43.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=423): time 0.02286/1.317, allocations: 12.82 MB / 0.7569 GB, free: 42.31 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/1.317, allocations: 94.56 kB / 0.757 GB, free: 42.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004707/1.322, allocations: 3.197 MB / 0.7601 GB, free: 41.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005733/1.323, allocations: 25.7 kB / 0.7601 GB, free: 41.92 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001212/1.324, allocations: 3.125 MB / 0.7632 GB, free: 40.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001173/1.325, allocations: 1.375 MB / 0.7645 GB, free: 39.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002328/1.325, allocations: 0 / 0.7645 GB, free: 39.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002032/1.326, allocations: 0.4987 MB / 0.765 GB, free: 38.92 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00261/1.328, allocations: 1.964 MB / 0.7669 GB, free: 38.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002991/1.331, allocations: 3.4 MB / 0.7703 GB, free: 37.21 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003862/1.335, allocations: 2.692 MB / 0.7729 GB, free: 37.17 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.209e-05/1.335, allocations: 14.19 kB / 0.7729 GB, free: 37.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=647) (initialization): time 0.009851/1.345, allocations: 6.478 MB / 0.7792 GB, free: 36.65 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/1.345, allocations: 6.625 kB / 0.7792 GB, free: 36.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-05/1.345, allocations: 47.28 kB / 0.7793 GB, free: 36.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001767/1.347, allocations: 0.7107 MB / 0.78 GB, free: 36.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004239/1.351, allocations: 1.178 MB / 0.7811 GB, free: 36.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008278/1.359, allocations: 9.439 MB / 0.7904 GB, free: 31.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003925/1.363, allocations: 167.3 kB / 0.7905 GB, free: 31.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000445/1.364, allocations: 222 kB / 0.7907 GB, free: 31.41 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (594): * Single equations (assignments): 586 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,100.0%) 13,(1,100.0%) 5,(2,100.0%) 13,(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000674/1.364, allocations: 238.2 kB / 0.7909 GB, free: 31.28 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000734/1.365, allocations: 469.7 kB / 0.7914 GB, free: 31.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009315/1.374, allocations: 5.683 MB / 0.7969 GB, free: 29.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-05/1.375, allocations: 40 kB / 0.797 GB, free: 29.16 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.688e-05/1.375, allocations: 13.84 kB / 0.797 GB, free: 29.16 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.179e-05/1.375, allocations: 22.17 kB / 0.797 GB, free: 29.16 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01918/1.394, allocations: 12.94 MB / 0.8097 GB, free: 23.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.159e-05/1.394, allocations: 7.531 kB / 0.8097 GB, free: 23.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00319/1.397, allocations: 0.7322 MB / 0.8104 GB, free: 23.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002208/1.399, allocations: 0.9022 MB / 0.8113 GB, free: 23.04 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002687/1.4, allocations: 37.61 kB / 0.8113 GB, free: 23.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01196/1.411, allocations: 13.1 MB / 0.8241 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/1.412, allocations: 7.875 kB / 0.8241 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01224/1.424, allocations: 9.086 MB / 0.833 GB, free: 8.816 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002708/1.427, allocations: 0.9955 MB / 0.8339 GB, free: 8.168 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009761/1.427, allocations: 23.47 kB / 0.834 GB, free: 8.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002523/1.43, allocations: 158.8 kB / 0.8341 GB, free: 8.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004501/1.43, allocations: 238.4 kB / 0.8343 GB, free: 8.121 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002555/1.431, allocations: 120.1 kB / 0.8345 GB, free: 8.094 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.003518/1.434, allocations: 2.355 MB / 0.8368 GB, free: 7.133 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005204/1.439, allocations: 1.366 MB / 0.8381 GB, free: 7.113 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.core.Phi.re,smeeM.stator.core.Phi.im,smeeM.stator.strayReluctance.Phi.re,smeeM.stator.strayReluctance.Phi.im,smee3.phiMechanical,smee3.stator.core.Phi.re,smee3.stator.core.Phi.im,smee3.stator.strayReluctance.Phi.re,smee3.stator.strayReluctance.Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (346): * Single equations (assignments): 339 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 13,(4,93.8%) 33,(2,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008891/1.44, allocations: 0.5201 MB / 0.8386 GB, free: 6.973 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009022/1.449, allocations: 5.697 MB / 0.8442 GB, free: 4.48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/1.449, allocations: 4.219 kB / 0.8442 GB, free: 4.48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005569/1.455, allocations: 3.377 MB / 0.8475 GB, free: 2.879 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004568/1.46, allocations: 0.7326 MB / 0.8482 GB, free: 2.656 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03303/1.493, allocations: 12.39 MB / 0.8603 GB, free: 11.12 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009087/1.502, allocations: 5.53 MB / 0.8657 GB, free: 6.961 MB / 458.7 MB Notification: Performance of SimCode: time 8.41e-07/1.502, allocations: 1.5 kB / 0.8657 GB, free: 6.961 MB / 458.7 MB Notification: Performance of Templates: time 0.319/1.821, allocations: 65.3 MB / 0.9295 GB, free: 68.5 MB / 474.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMEE_Generator_MultiPhase/SMEE_Generator_MultiPhase.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches