Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001703/0.001703, allocations: 175.3 kB / 8.15 MB, free: 2.188 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.721/1.721, allocations: 205.2 MB / 213.7 MB, free: 13.88 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001276/0.00126, allocations: 82.47 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.4e-05/1.409e-05, allocations: 4 kB / 314.3 MB, free: 9.027 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.257, allocations: 47.56 MB / 361.9 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1934/0.4505, allocations: 121.6 MB / 483.5 MB, free: 12.33 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/0.4508, allocations: 90 kB / 483.6 MB, free: 12.24 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.029/1.48, allocations: 190.8 MB / 0.6585 GB, free: 25.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.001152/1.481, allocations: 205.2 kB / 0.6587 GB, free: 25.01 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.03858/1.52, allocations: 7.967 MB / 0.6665 GB, free: 22.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/1.52, allocations: 13.67 kB / 0.6665 GB, free: 22.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01729/1.537, allocations: 1.934 MB / 0.6684 GB, free: 22.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03475/1.572, allocations: 7.092 MB / 0.6753 GB, free: 21.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006138/1.573, allocations: 281.8 kB / 0.6756 GB, free: 21.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003565/1.576, allocations: 0.503 MB / 0.6761 GB, free: 21.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02976/1.606, allocations: 8.364 MB / 0.6842 GB, free: 21.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03541/1.642, allocations: 9.78 MB / 0.6938 GB, free: 20.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004448/1.642, allocations: 7.75 kB / 0.6938 GB, free: 20.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002499/1.645, allocations: 3.438 kB / 0.6938 GB, free: 20.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003671/1.645, allocations: 383.7 kB / 0.6942 GB, free: 20.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09478/1.74, allocations: 34.63 MB / 0.728 GB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006295/1.746, allocations: 2.476 MB / 0.7304 GB, free: 13.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009464/1.756, allocations: 3.449 MB / 0.7338 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03311/1.789, allocations: 10.1 MB / 0.7436 GB, free: 6.926 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.867e-05/1.789, allocations: 73.45 kB / 0.7437 GB, free: 6.859 MB / 410.7 MB Notification: Performance of pre-optimization done (n=369): time 7.614e-06/1.789, allocations: 0.9688 kB / 0.7437 GB, free: 6.859 MB / 410.7 MB Notification: Performance of matching and sorting (n=423): time 0.05352/1.843, allocations: 12.84 MB / 0.7562 GB, free: 1.176 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.963e-05/1.843, allocations: 98.53 kB / 0.7563 GB, free: 1.105 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01111/1.854, allocations: 3.208 MB / 0.7595 GB, free: 15.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009942/1.855, allocations: 25.7 kB / 0.7595 GB, free: 15.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002308/1.857, allocations: 2.911 MB / 0.7623 GB, free: 13.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002759/1.86, allocations: 1.38 MB / 0.7637 GB, free: 12.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006491/1.861, allocations: 0 / 0.7637 GB, free: 12.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005491/1.861, allocations: 0.4945 MB / 0.7642 GB, free: 12.19 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006524/1.868, allocations: 1.964 MB / 0.7661 GB, free: 11.35 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008346/1.876, allocations: 3.402 MB / 0.7694 GB, free: 8.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009234/1.886, allocations: 2.688 MB / 0.772 GB, free: 7.582 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.107e-05/1.886, allocations: 19.03 kB / 0.7721 GB, free: 7.578 MB / 426.7 MB Notification: Performance of matching and sorting (n=647) (initialization): time 0.02209/1.908, allocations: 6.215 MB / 0.7781 GB, free: 5.344 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/1.908, allocations: 3.688 kB / 0.7781 GB, free: 5.344 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001069/1.908, allocations: 51.66 kB / 0.7782 GB, free: 5.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003368/1.911, allocations: 0.7035 MB / 0.7789 GB, free: 4.797 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01004/1.922, allocations: 1.177 MB / 0.78 GB, free: 3.859 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01782/1.939, allocations: 9.447 MB / 0.7892 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00497/1.944, allocations: 148.3 kB / 0.7894 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001135/1.946, allocations: 219 kB / 0.7896 GB, free: 10.31 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,(3,77.8%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001361/1.947, allocations: 174.9 kB / 0.7898 GB, free: 10.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001924/1.949, allocations: 462.3 kB / 0.7902 GB, free: 9.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02114/1.97, allocations: 5.676 MB / 0.7957 GB, free: 4.855 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-05/1.97, allocations: 41.97 kB / 0.7958 GB, free: 4.816 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.02e-05/1.97, allocations: 15.44 kB / 0.7958 GB, free: 4.805 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000101/1.97, allocations: 25.47 kB / 0.7958 GB, free: 4.801 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0427/2.013, allocations: 12.94 MB / 0.8085 GB, free: 10.03 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.528e-05/2.013, allocations: 11 kB / 0.8085 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007321/2.021, allocations: 0.7289 MB / 0.8092 GB, free: 9.434 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004543/2.025, allocations: 0.8949 MB / 0.81 GB, free: 8.695 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009099/2.026, allocations: 43.62 kB / 0.8101 GB, free: 8.664 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2531/2.279, allocations: 13.14 MB / 0.8229 GB, free: 97.46 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.285e-05/2.279, allocations: 14.38 kB / 0.8229 GB, free: 97.46 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03822/2.318, allocations: 9.073 MB / 0.8318 GB, free: 96.09 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006203/2.324, allocations: 0.993 MB / 0.8328 GB, free: 96 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003356/2.327, allocations: 20.95 kB / 0.8328 GB, free: 96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00963/2.337, allocations: 168.9 kB / 0.833 GB, free: 96 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001827/2.339, allocations: 247.9 kB / 0.8332 GB, free: 95.99 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001142/2.34, allocations: 116.5 kB / 0.8333 GB, free: 95.99 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.01058/2.351, allocations: 2.355 MB / 0.8356 GB, free: 95.81 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01332/2.364, allocations: 1.367 MB / 0.8369 GB, free: 95.81 MB / 458.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.001959/2.366, allocations: 0.528 MB / 0.8374 GB, free: 95.72 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01613/2.382, allocations: 5.706 MB / 0.843 GB, free: 94.98 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.339e-05/2.382, allocations: 0 / 0.843 GB, free: 94.98 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009905/2.392, allocations: 3.369 MB / 0.8463 GB, free: 94.39 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008196/2.401, allocations: 0.7416 MB / 0.847 GB, free: 94.37 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04933/2.45, allocations: 12.37 MB / 0.8591 GB, free: 91.83 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01515/2.465, allocations: 5.48 MB / 0.8645 GB, free: 90.98 MB / 458.7 MB Notification: Performance of SimCode: time 1.794e-06/2.465, allocations: 3.469 kB / 0.8645 GB, free: 90.98 MB / 458.7 MB Notification: Performance of Templates: time 0.9186/3.384, allocations: 312 MB / 1.169 GB, free: 94.31 MB / 458.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches