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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008971/0.0008971, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008676/0.0008676, allocations: 142.1 kB / 24.97 MB, free: 8.316 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8954/0.8954, allocations: 173.3 MB / 201.5 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..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=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 268.1 MB, free: 6.688 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.898e-05, allocations: 6.312 kB / 268.1 MB, free: 6.68 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01032/0.01033, allocations: 12.68 MB / 280.8 MB, free: 9.941 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005303/0.01564, allocations: 4.166 MB / 284.9 MB, free: 5.762 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007449/0.01638, allocations: 99.38 kB / 285 MB, free: 5.664 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.01787, allocations: 0.9744 MB / 286 MB, free: 4.684 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001769/0.01964, allocations: 1.343 MB / 287.4 MB, free: 3.332 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009656/0.02061, allocations: 0.8326 MB / 288.2 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1166/0.1372, allocations: 4.051 MB / 292.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002229/0.1394, allocations: 1.725 MB / 294 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003065/0.1425, allocations: 2.786 MB / 296.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00269/0.1452, allocations: 1.915 MB / 298.7 MB, free: 15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001251/0.1464, allocations: 0.4965 MB / 299.2 MB, free: 15 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.1476, allocations: 0.6857 MB / 299.8 MB, free: 15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007117/0.1483, allocations: 1.152 MB / 301 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001151/0.1495, allocations: 1.427 MB / 302.4 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002394/0.1519, allocations: 3.377 MB / 305.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1519, allocations: 0 / 305.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1519, allocations: 3.656 kB / 305.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.095e-05/0.1519, allocations: 2.938 kB / 305.8 MB, free: 12.78 MB / 266.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.005121/0.157, allocations: 4.53 MB / 310.3 MB, free: 10.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.1571, allocations: 10.17 kB / 310.3 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002735/0.1598, allocations: 1.231 MB / 311.6 MB, free: 9.855 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001943/0.1617, allocations: 2.246 MB / 313.8 MB, free: 8.629 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.013e-05/0.1618, allocations: 231.9 kB / 314.1 MB, free: 8.523 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002572/0.1621, allocations: 317.6 kB / 314.4 MB, free: 8.422 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002735/0.1648, allocations: 2.527 MB / 316.9 MB, free: 6.098 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.052e-05/0.1649, allocations: 7.891 kB / 316.9 MB, free: 6.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001805/0.165, allocations: 128 kB / 317 MB, free: 5.965 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.364e-05/0.1651, allocations: 151.5 kB / 317.2 MB, free: 5.816 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002032/0.1672, allocations: 1.188 MB / 318.4 MB, free: 4.621 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009305/0.1765, allocations: 10.34 MB / 328.7 MB, free: 10.28 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002836/0.1793, allocations: 1.975 MB / 330.7 MB, free: 8.445 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009769/0.1803, allocations: 0.7092 MB / 331.4 MB, free: 7.738 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002933/0.1832, allocations: 2.399 MB / 333.8 MB, free: 5.359 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.1832, allocations: 53.77 kB / 333.8 MB, free: 5.301 MB / 282.7 MB Notification: Performance of pre-optimization done (n=120): time 2.585e-06/0.1833, allocations: 0 / 333.8 MB, free: 5.301 MB / 282.7 MB Notification: Performance of matching and sorting (n=123): time 0.004827/0.1881, allocations: 3.161 MB / 337 MB, free: 2.117 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.1881, allocations: 64.41 kB / 337.1 MB, free: 2.039 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.1895, allocations: 1.328 MB / 338.4 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.171e-05/0.1896, allocations: 49.7 kB / 338.4 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007275/0.1903, allocations: 1.532 MB / 340 MB, free: 15.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002525/0.1906, allocations: 465.2 kB / 340.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00031/0.1909, allocations: 305.1 kB / 340.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.711e-05/0.191, allocations: 480.8 kB / 341.2 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004161/0.1914, allocations: 223.8 kB / 341.4 MB, free: 13.65 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007001/0.1921, allocations: 0.9174 MB / 342.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.1933, allocations: 1.235 MB / 343.6 MB, free: 11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.1933, allocations: 4 kB / 343.6 MB, free: 11 MB / 298.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00188/0.1952, allocations: 1.411 MB / 345 MB, free: 9.664 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.1952, allocations: 12.62 kB / 345 MB, free: 9.652 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.1952, allocations: 16 kB / 345 MB, free: 9.637 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004713/0.1957, allocations: 238.6 kB / 345.2 MB, free: 9.391 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006928/0.1964, allocations: 345.7 kB / 345.6 MB, free: 9.074 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003282/0.1996, allocations: 6.54 MB / 352.1 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004967/0.2001, allocations: 71.91 kB / 352.2 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.69e-05/0.2002, allocations: 67.94 kB / 352.3 MB, free: 2.07 MB / 298.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (180): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004755/0.2007, allocations: 257.9 kB / 352.5 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.2009, allocations: 202.9 kB / 352.7 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/0.2025, allocations: 1.204 MB / 353.9 MB, free: 416 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.2025, allocations: 12 kB / 353.9 MB, free: 404 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2025, allocations: 4 kB / 353.9 MB, free: 400 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.2025, allocations: 7.969 kB / 353.9 MB, free: 392 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003715/0.2062, allocations: 3.331 MB / 357.3 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.2062, allocations: 8.188 kB / 357.3 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003875/0.2066, allocations: 162.3 kB / 357.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007462/0.2073, allocations: 401.2 kB / 357.8 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.669e-05/0.2074, allocations: 35.98 kB / 357.9 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005566/0.213, allocations: 11.44 MB / 369.3 MB, free: 452 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.213, allocations: 4 kB / 369.3 MB, free: 448 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/0.2149, allocations: 1.633 MB / 370.9 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003733/0.2153, allocations: 300.6 kB / 371.2 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.2154, allocations: 28 kB / 371.3 MB, free: 14.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003822/0.2158, allocations: 67.92 kB / 371.3 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.216, allocations: 104.8 kB / 371.4 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.968e-05/0.216, allocations: 35.98 kB / 371.5 MB, free: 14.24 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007294/0.2167, allocations: 0.7589 MB / 372.2 MB, free: 13.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2167, allocations: 0 / 372.2 MB, free: 13.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001201/0.2179, allocations: 0.5352 MB / 372.8 MB, free: 12.95 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,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.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,5,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002389/0.2182, allocations: 163.8 kB / 372.9 MB, free: 12.79 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001649/0.2198, allocations: 1.458 MB / 374.4 MB, free: 11.33 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2198, allocations: 0 / 374.4 MB, free: 11.33 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.221, allocations: 1.483 MB / 375.9 MB, free: 9.773 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.222, allocations: 422.8 kB / 376.3 MB, free: 9.371 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005504/0.2275, allocations: 4.802 MB / 381.1 MB, free: 4.504 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000585/0.2281, allocations: 0.7756 MB / 381.8 MB, free: 3.707 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006019/0.2287, allocations: 314.1 kB / 382.1 MB, free: 3.395 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/0.2289, allocations: 116.5 kB / 382.3 MB, free: 3.281 MB / 330.7 MB Notification: Performance of SimCode: time 1.453e-06/0.2289, allocations: 0 / 382.3 MB, free: 3.281 MB / 330.7 MB Notification: Performance of Templates: time 0.02981/0.2587, allocations: 24.98 MB / 407.2 MB, free: 10.75 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4089408579748124]