Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.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.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002075/0.002075, allocations: 177.8 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.188/2.188, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001296/0.001295, allocations: 92.83 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.531e-05/2.545e-05, allocations: 7.984 kB / 314.8 MB, free: 9.152 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3412, allocations: 47.56 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1798/0.5211, allocations: 107.4 MB / 469.7 MB, free: 10.9 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003315/0.5215, allocations: 83.95 kB / 469.8 MB, free: 10.82 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6154/1.137, allocations: 78.45 MB / 0.5354 GB, free: 93.56 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.335e-06/1.137, allocations: 0 / 0.5354 GB, free: 93.56 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0003164/1.137, allocations: 80.16 kB / 0.5355 GB, free: 93.54 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01363/1.151, allocations: 3.151 MB / 0.5386 GB, free: 91.98 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/1.151, allocations: 10.69 kB / 0.5386 GB, free: 91.98 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006184/1.157, allocations: 0.7142 MB / 0.5393 GB, free: 91.74 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01221/1.17, allocations: 3.286 MB / 0.5425 GB, free: 90.11 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/1.17, allocations: 105.1 kB / 0.5426 GB, free: 90.11 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001223/1.171, allocations: 186.9 kB / 0.5427 GB, free: 90.1 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00947/1.18, allocations: 3.101 MB / 0.5458 GB, free: 88.73 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01122/1.192, allocations: 3.61 MB / 0.5493 GB, free: 87.09 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000118/1.192, allocations: 3.906 kB / 0.5493 GB, free: 87.08 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004074/1.192, allocations: 3.219 kB / 0.5493 GB, free: 87.08 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001811/1.193, allocations: 145.5 kB / 0.5494 GB, free: 87.07 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03086/1.223, allocations: 12.63 MB / 0.5618 GB, free: 78.95 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008757/1.232, allocations: 6.745 MB / 0.5684 GB, free: 71.34 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003095/1.235, allocations: 1.275 MB / 0.5696 GB, free: 70.09 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008798/1.244, allocations: 3.598 MB / 0.5731 GB, free: 66.43 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/1.244, allocations: 51.81 kB / 0.5732 GB, free: 66.38 MB / 395.1 MB Notification: Performance of pre-optimization done (n=117): time 5.44e-06/1.244, allocations: 0 / 0.5732 GB, free: 66.38 MB / 395.1 MB Notification: Performance of matching and sorting (n=120): time 0.01119/1.256, allocations: 3.991 MB / 0.5771 GB, free: 62.27 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/1.256, allocations: 64.72 kB / 0.5771 GB, free: 62.2 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002867/1.259, allocations: 1.212 MB / 0.5783 GB, free: 60.98 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003285/1.259, allocations: 25.7 kB / 0.5783 GB, free: 60.95 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000964/1.26, allocations: 1.379 MB / 0.5797 GB, free: 59.55 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000514/1.26, allocations: 406 kB / 0.5801 GB, free: 59.15 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/1.261, allocations: 0 / 0.5801 GB, free: 59.15 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/1.261, allocations: 370.7 kB / 0.5804 GB, free: 58.78 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/1.262, allocations: 0.574 MB / 0.581 GB, free: 58.2 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/1.263, allocations: 1.009 MB / 0.582 GB, free: 56.99 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002409/1.266, allocations: 0.9001 MB / 0.5829 GB, free: 56.09 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-05/1.266, allocations: 4 kB / 0.5829 GB, free: 56.09 MB / 395.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.008336/1.274, allocations: 2.059 MB / 0.5849 GB, free: 53.99 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.073e-05/1.274, allocations: 13.25 kB / 0.5849 GB, free: 53.98 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.841e-05/1.274, allocations: 16.31 kB / 0.5849 GB, free: 53.96 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001466/1.276, allocations: 267.2 kB / 0.5852 GB, free: 53.69 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003623/1.28, allocations: 355.5 kB / 0.5855 GB, free: 53.34 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008936/1.289, allocations: 5.461 MB / 0.5908 GB, free: 47.54 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003131/1.292, allocations: 52.11 kB / 0.5909 GB, free: 47.48 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005361/1.292, allocations: 71.94 kB / 0.5909 GB, free: 47.41 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 174 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000536/1.293, allocations: 148.4 kB / 0.5911 GB, free: 47.26 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007033/1.294, allocations: 166 kB / 0.5912 GB, free: 47.1 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008221/1.302, allocations: 2.035 MB / 0.5932 GB, free: 45 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.442e-05/1.302, allocations: 16 kB / 0.5932 GB, free: 44.98 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.209e-05/1.302, allocations: 11.94 kB / 0.5933 GB, free: 44.97 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.783e-05/1.302, allocations: 7.969 kB / 0.5933 GB, free: 44.96 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01558/1.318, allocations: 4.303 MB / 0.5975 GB, free: 40.56 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/1.318, allocations: 0 / 0.5975 GB, free: 40.56 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001904/1.32, allocations: 167.8 kB / 0.5976 GB, free: 40.4 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002587/1.322, allocations: 432.2 kB / 0.598 GB, free: 39.96 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003075/1.323, allocations: 19.98 kB / 0.5981 GB, free: 39.94 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01575/1.339, allocations: 9.672 MB / 0.6075 GB, free: 29.7 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.218e-06/1.339, allocations: 0 / 0.6075 GB, free: 29.7 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00923/1.348, allocations: 2.986 MB / 0.6104 GB, free: 26.59 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001613/1.35, allocations: 375.3 kB / 0.6108 GB, free: 26.2 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005652/1.35, allocations: 12 kB / 0.6108 GB, free: 26.19 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002102/1.352, allocations: 55.94 kB / 0.6108 GB, free: 26.13 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004305/1.353, allocations: 105 kB / 0.6109 GB, free: 26.03 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/1.353, allocations: 35.98 kB / 0.611 GB, free: 25.99 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.002639/1.356, allocations: 0.9037 MB / 0.6119 GB, free: 25.09 MB / 395.1 MB Notification: Performance of sort global known variables: time 6.81e-07/1.356, allocations: 0 / 0.6119 GB, free: 25.09 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.005057/1.361, allocations: 0.5 MB / 0.6123 GB, free: 24.59 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001043/1.362, allocations: 324.1 kB / 0.6127 GB, free: 24.29 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.005694/1.367, allocations: 1.871 MB / 0.6145 GB, free: 22.38 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 9.909e-06/1.368, allocations: 0 / 0.6145 GB, free: 22.38 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004594/1.372, allocations: 1.412 MB / 0.6159 GB, free: 20.91 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004534/1.377, allocations: 361.9 kB / 0.6162 GB, free: 20.56 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0172/1.394, allocations: 4.305 MB / 0.6204 GB, free: 16.19 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004694/1.399, allocations: 2.289 MB / 0.6226 GB, free: 13.87 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001052/1.4, allocations: 119.4 kB / 0.6228 GB, free: 13.75 MB / 395.1 MB Notification: Performance of SimCode: time 1.413e-06/1.4, allocations: 0 / 0.6228 GB, free: 13.75 MB / 395.1 MB Notification: Performance of Templates: time 0.6311/2.031, allocations: 100.9 MB / 0.7213 GB, free: 63.61 MB / 411.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Inverter/AIMC_Inverter.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches