Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_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.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smr3.is.1.|smr3.is.2.|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smr3.stator.strayReluctance.port_p.Phi.im|smr3.stator.strayReluctance.port_p.Phi.re|smrM.is.1.|smrM.is.2.|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.strayReluctance.port_p.Phi.im|smrM.stator.strayReluctance.port_p.Phi.re|vfController3.x|vfControllerM.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smr3.is.1.|smr3.is.2.|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smr3.stator.strayReluctance.port_p.Phi.im|smr3.stator.strayReluctance.port_p.Phi.re|smrM.is.1.|smrM.is.2.|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.strayReluctance.port_p.Phi.im|smrM.stator.strayReluctance.port_p.Phi.re|vfController3.x|vfControllerM.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_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.0009576/0.0009576, allocations: 172.8 kB / 8.473 MB, free: 1.863 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.107/1.107, allocations: 205.2 MB / 214.1 MB, free: 5.141 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.0008845/0.0008844, allocations: 86.25 kB / 262.1 MB, free: 5.188 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.633e-06/6.643e-06, allocations: 0 / 315 MB, free: 41.46 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07333/0.07335, allocations: 47.58 MB / 362.5 MB, free: 9.934 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2825/0.3559, allocations: 112.5 MB / 475.1 MB, free: 12.87 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.3561, allocations: 85.56 kB / 475.2 MB, free: 12.83 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.5908/0.947, allocations: 157.3 MB / 0.6176 GB, free: 68.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006123/0.9476, allocations: 165.2 kB / 0.6178 GB, free: 68.54 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: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.0186/0.9663, allocations: 6.453 MB / 0.6241 GB, free: 66.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.9663, allocations: 13.44 kB / 0.6241 GB, free: 66.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008948/0.9753, allocations: 1.525 MB / 0.6256 GB, free: 65.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01355/0.9888, allocations: 5.753 MB / 0.6312 GB, free: 64.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003466/0.9892, allocations: 227.3 kB / 0.6314 GB, free: 64.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002031/0.9913, allocations: 414.8 kB / 0.6318 GB, free: 64.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01455/1.006, allocations: 7.03 MB / 0.6387 GB, free: 64.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01975/1.026, allocations: 8.127 MB / 0.6466 GB, free: 64.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002646/1.026, allocations: 10.78 kB / 0.6466 GB, free: 64.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001458/1.027, allocations: 3.25 kB / 0.6466 GB, free: 64.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002363/1.028, allocations: 335 kB / 0.6469 GB, free: 64.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05049/1.078, allocations: 27.68 MB / 0.674 GB, free: 49.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003603/1.082, allocations: 2.147 MB / 0.6761 GB, free: 49 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00514/1.087, allocations: 3.019 MB / 0.679 GB, free: 47.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01599/1.103, allocations: 8.306 MB / 0.6871 GB, free: 41.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.088e-05/1.103, allocations: 69.12 kB / 0.6872 GB, free: 41.23 MB / 426.7 MB Notification: Performance of pre-optimization done (n=326): time 6.722e-06/1.103, allocations: 0 / 0.6872 GB, free: 41.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=332): time 0.01803/1.121, allocations: 8.942 MB / 0.6959 GB, free: 33.03 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/1.121, allocations: 86.02 kB / 0.696 GB, free: 32.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005009/1.126, allocations: 2.385 MB / 0.6983 GB, free: 30.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002406/1.126, allocations: 33.7 kB / 0.6984 GB, free: 30.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001127/1.128, allocations: 2.466 MB / 0.7008 GB, free: 28.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007325/1.128, allocations: 1.087 MB / 0.7018 GB, free: 27.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000245/1.129, allocations: 0 / 0.7018 GB, free: 27.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002143/1.129, allocations: 459.6 kB / 0.7023 GB, free: 27.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002173/1.131, allocations: 1.545 MB / 0.7038 GB, free: 25.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00256/1.134, allocations: 2.58 MB / 0.7063 GB, free: 22.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003551/1.137, allocations: 2.143 MB / 0.7084 GB, free: 21.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-05/1.137, allocations: 12 kB / 0.7084 GB, free: 21.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=503) (initialization): time 0.008204/1.145, allocations: 4.929 MB / 0.7132 GB, free: 16.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/1.145, allocations: 8 kB / 0.7132 GB, free: 16.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-05/1.146, allocations: 35.56 kB / 0.7133 GB, free: 16.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/1.147, allocations: 393.4 kB / 0.7136 GB, free: 16.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003553/1.15, allocations: 0.8977 MB / 0.7145 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005115/1.155, allocations: 6.968 MB / 0.7213 GB, free: 8.344 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003848/1.159, allocations: 90.28 kB / 0.7214 GB, free: 8.273 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007242/1.16, allocations: 167.5 kB / 0.7216 GB, free: 8.117 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 146 * 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.00102/1.161, allocations: 219.6 kB / 0.7218 GB, free: 7.895 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001129/1.162, allocations: 347.7 kB / 0.7221 GB, free: 7.551 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008977/1.171, allocations: 4.625 MB / 0.7266 GB, free: 3.535 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.441e-05/1.171, allocations: 32 kB / 0.7267 GB, free: 3.504 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.625e-05/1.171, allocations: 12 kB / 0.7267 GB, free: 3.492 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.134e-05/1.171, allocations: 16.88 kB / 0.7267 GB, free: 3.492 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1622/1.333, allocations: 10.46 MB / 0.7369 GB, free: 104.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/1.333, allocations: 3.406 kB / 0.7369 GB, free: 104.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002384/1.336, allocations: 0.5058 MB / 0.7374 GB, free: 104.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002125/1.338, allocations: 0.8461 MB / 0.7382 GB, free: 104.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00029/1.338, allocations: 37.38 kB / 0.7383 GB, free: 104.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01311/1.351, allocations: 15.06 MB / 0.753 GB, free: 95.78 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/1.351, allocations: 10 kB / 0.753 GB, free: 95.78 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009946/1.361, allocations: 7.074 MB / 0.7599 GB, free: 94.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001923/1.363, allocations: 0.7828 MB / 0.7606 GB, free: 94.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007876/1.364, allocations: 23.22 kB / 0.7607 GB, free: 94.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001881/1.366, allocations: 103.6 kB / 0.7608 GB, free: 94.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003179/1.366, allocations: 178.8 kB / 0.7609 GB, free: 94.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001932/1.367, allocations: 92.67 kB / 0.761 GB, free: 94.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.002563/1.369, allocations: 1.758 MB / 0.7627 GB, free: 94.47 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003995/1.373, allocations: 1.091 MB / 0.7638 GB, free: 94.47 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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.0008626/1.374, allocations: 461.5 kB / 0.7642 GB, free: 94.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005788/1.38, allocations: 4.41 MB / 0.7686 GB, free: 93.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/1.38, allocations: 2.078 kB / 0.7686 GB, free: 93.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003907/1.384, allocations: 2.812 MB / 0.7713 GB, free: 92.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003755/1.387, allocations: 0.649 MB / 0.7719 GB, free: 92.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02094/1.408, allocations: 10.19 MB / 0.7819 GB, free: 90.86 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005317/1.414, allocations: 4.631 MB / 0.7864 GB, free: 89.96 MB / 426.7 MB Notification: Performance of SimCode: time 8.22e-07/1.414, allocations: 0 / 0.7864 GB, free: 89.96 MB / 426.7 MB Notification: Performance of Templates: time 0.0845/1.498, allocations: 52.69 MB / 0.8379 GB, free: 75.84 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_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/SMR_Inverter_MultiPhase/SMR_Inverter_MultiPhase.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches