Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 221.5 MB / 230.3 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008004/0.0008004, allocations: 94.86 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.982e-05/2e-05, allocations: 0 / 337.1 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09816/0.0982, allocations: 50.43 MB / 387.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3854/0.4836, allocations: 108.2 MB / 495.7 MB, free: 2.582 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003651/0.484, allocations: 96.88 kB / 495.8 MB, free: 2.488 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4502/0.9343, allocations: 78.65 MB / 0.561 GB, free: 94.51 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.9344, allocations: 0 / 0.561 GB, free: 94.51 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005065/0.9349, allocations: 75.55 kB / 0.561 GB, free: 94.5 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01102/0.9459, allocations: 3.168 MB / 0.5641 GB, free: 93.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.946, allocations: 9.656 kB / 0.5641 GB, free: 93.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004646/0.9506, allocations: 0.7195 MB / 0.5648 GB, free: 93.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008295/0.959, allocations: 3.287 MB / 0.5681 GB, free: 92.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002086/0.9592, allocations: 102.9 kB / 0.5682 GB, free: 92.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001047/0.9603, allocations: 188 kB / 0.5683 GB, free: 92.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007102/0.9674, allocations: 3.107 MB / 0.5714 GB, free: 92.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009154/0.9766, allocations: 3.599 MB / 0.5749 GB, free: 92.28 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001141/0.9767, allocations: 3.844 kB / 0.5749 GB, free: 92.28 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007229/0.9775, allocations: 3.188 kB / 0.5749 GB, free: 92.28 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001601/0.9776, allocations: 142.6 kB / 0.575 GB, free: 92.27 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02315/1.001, allocations: 12.62 MB / 0.5874 GB, free: 88.63 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005544/1.006, allocations: 6.741 MB / 0.5939 GB, free: 82.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001775/1.008, allocations: 1.263 MB / 0.5952 GB, free: 82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005869/1.014, allocations: 3.62 MB / 0.5987 GB, free: 79.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/1.014, allocations: 42.06 kB / 0.5987 GB, free: 79.94 MB / 426.7 MB Notification: Performance of pre-optimization done (n=118): time 3.116e-06/1.014, allocations: 3.531 kB / 0.5987 GB, free: 79.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=121): time 0.006912/1.021, allocations: 4.028 MB / 0.6027 GB, free: 77.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/1.021, allocations: 63.97 kB / 0.6027 GB, free: 77.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/1.023, allocations: 1.199 MB / 0.6039 GB, free: 77.28 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.055e-05/1.023, allocations: 28.14 kB / 0.6039 GB, free: 77.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006011/1.024, allocations: 1.416 MB / 0.6053 GB, free: 76.17 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/1.024, allocations: 403.5 kB / 0.6057 GB, free: 75.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.591e-05/1.024, allocations: 0 / 0.6057 GB, free: 75.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.517e-05/1.024, allocations: 369.8 kB / 0.6061 GB, free: 75.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006963/1.025, allocations: 0.5652 MB / 0.6066 GB, free: 75.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008626/1.026, allocations: 1.017 MB / 0.6076 GB, free: 74.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/1.027, allocations: 0.89 MB / 0.6085 GB, free: 74.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/1.027, allocations: 11.72 kB / 0.6085 GB, free: 74.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003284/1.03, allocations: 2.161 MB / 0.6106 GB, free: 73.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/1.031, allocations: 12.16 kB / 0.6106 GB, free: 73.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/1.031, allocations: 18.34 kB / 0.6106 GB, free: 73.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006302/1.031, allocations: 267 kB / 0.6109 GB, free: 73.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/1.032, allocations: 350.1 kB / 0.6112 GB, free: 73.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003857/1.036, allocations: 5.467 MB / 0.6166 GB, free: 68.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/1.038, allocations: 55.98 kB / 0.6166 GB, free: 68.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002058/1.038, allocations: 66 kB / 0.6167 GB, free: 68.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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.0003275/1.038, allocations: 151.2 kB / 0.6168 GB, free: 68.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004313/1.039, allocations: 159.6 kB / 0.617 GB, free: 68.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003494/1.042, allocations: 2.055 MB / 0.619 GB, free: 67.22 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/1.042, allocations: 16.44 kB / 0.619 GB, free: 67.22 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-05/1.042, allocations: 6.656 kB / 0.619 GB, free: 67.22 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/1.042, allocations: 3.797 kB / 0.619 GB, free: 67.22 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009285/1.052, allocations: 4.327 MB / 0.6232 GB, free: 65.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/1.052, allocations: 3.875 kB / 0.6232 GB, free: 65.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007332/1.052, allocations: 167.9 kB / 0.6234 GB, free: 65.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001046/1.053, allocations: 437.2 kB / 0.6238 GB, free: 64.97 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.472e-05/1.054, allocations: 18.52 kB / 0.6238 GB, free: 64.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007317/1.061, allocations: 9.665 MB / 0.6333 GB, free: 56.83 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/1.061, allocations: 3.719 kB / 0.6333 GB, free: 56.83 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004025/1.065, allocations: 2.965 MB / 0.6362 GB, free: 55.24 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007683/1.066, allocations: 390.6 kB / 0.6365 GB, free: 54.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003961/1.066, allocations: 10.92 kB / 0.6365 GB, free: 54.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009448/1.067, allocations: 57.02 kB / 0.6366 GB, free: 54.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001941/1.067, allocations: 93.16 kB / 0.6367 GB, free: 54.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.568e-05/1.067, allocations: 37.58 kB / 0.6367 GB, free: 54.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001259/1.069, allocations: 0.8982 MB / 0.6376 GB, free: 54.53 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.069, allocations: 0 / 0.6376 GB, free: 54.53 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002139/1.071, allocations: 0.5044 MB / 0.6381 GB, free: 54.51 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.0004728/1.071, allocations: 345.1 kB / 0.6384 GB, free: 54.35 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002519/1.074, allocations: 1.88 MB / 0.6403 GB, free: 53.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/1.074, allocations: 5.125 kB / 0.6403 GB, free: 53.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001669/1.075, allocations: 1.413 MB / 0.6416 GB, free: 52.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/1.077, allocations: 346.4 kB / 0.642 GB, free: 52.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00888/1.086, allocations: 4.297 MB / 0.6462 GB, free: 48.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002188/1.088, allocations: 2.34 MB / 0.6485 GB, free: 46.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001337/1.09, allocations: 360.1 kB / 0.6488 GB, free: 46.65 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/1.09, allocations: 107.1 kB / 0.6489 GB, free: 46.55 MB / 426.7 MB Notification: Performance of SimCode: time 6.51e-07/1.09, allocations: 0 / 0.6489 GB, free: 46.55 MB / 426.7 MB Notification: Performance of Templates: time 0.03352/1.124, allocations: 21.59 MB / 0.67 GB, free: 30.98 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches