Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008698/0.0008698, allocations: 80.8 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009609/0.0009609, allocations: 171.5 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8811/0.8811, allocations: 177.1 MB / 205.3 MB, free: 5.105 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 273.5 MB, free: 1.121 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.174e-05/1.29e-05, allocations: 2.312 kB / 273.5 MB, free: 1.117 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.009374/0.009387, allocations: 12.95 MB / 286.5 MB, free: 4.109 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1113/0.1207, allocations: 4.566 MB / 291 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002088/0.1228, allocations: 100.1 kB / 291.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002281/0.125, allocations: 1.017 MB / 292.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003035/0.1281, allocations: 1.322 MB / 293.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.1296, allocations: 0.8728 MB / 294.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003411/0.133, allocations: 4.128 MB / 298.5 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001863/0.1348, allocations: 1.778 MB / 300.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002895/0.1377, allocations: 2.889 MB / 303.1 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002176/0.1399, allocations: 1.91 MB / 305 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007752/0.1407, allocations: 0.4961 MB / 305.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008938/0.1416, allocations: 0.7215 MB / 306.3 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004843/0.1421, allocations: 1.131 MB / 307.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001089/0.1431, allocations: 1.411 MB / 308.8 MB, free: 9.969 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002145/0.1453, allocations: 3.389 MB / 312.2 MB, free: 7.941 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1453, allocations: 0 / 312.2 MB, free: 7.941 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1453, allocations: 3 kB / 312.2 MB, free: 7.941 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.881e-05/0.1454, allocations: 0 / 312.2 MB, free: 7.941 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.004285/0.1497, allocations: 4.175 MB / 316.4 MB, free: 4.105 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.1497, allocations: 12.02 kB / 316.4 MB, free: 4.094 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002254/0.1519, allocations: 1.087 MB / 317.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/0.1536, allocations: 1.436 MB / 318.9 MB, free: 1.641 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.926e-05/0.1537, allocations: 241.6 kB / 319.1 MB, free: 1.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002512/0.1539, allocations: 315 kB / 319.5 MB, free: 1.105 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002299/0.1562, allocations: 2.382 MB / 321.8 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-05/0.1563, allocations: 11.33 kB / 321.8 MB, free: 14.76 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000186/0.1564, allocations: 122.9 kB / 322 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001076/0.1565, allocations: 151.4 kB / 322.1 MB, free: 14.49 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/0.1581, allocations: 0.9296 MB / 323 MB, free: 13.55 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008756/0.1669, allocations: 8.075 MB / 331.1 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001983/0.1688, allocations: 1.717 MB / 332.8 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009522/0.1698, allocations: 0.8472 MB / 333.7 MB, free: 3.348 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002431/0.1722, allocations: 1.962 MB / 335.6 MB, free: 1.441 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.1723, allocations: 43.56 kB / 335.7 MB, free: 1.391 MB / 282.7 MB Notification: Performance of pre-optimization done (n=120): time 2.434e-06/0.1723, allocations: 0 / 335.7 MB, free: 1.391 MB / 282.7 MB Notification: Performance of matching and sorting (n=123): time 0.003801/0.1761, allocations: 2.493 MB / 338.2 MB, free: 14.9 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.1761, allocations: 64.41 kB / 338.2 MB, free: 14.83 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007367/0.1768, allocations: 1.095 MB / 339.3 MB, free: 13.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.401e-05/0.1769, allocations: 53.64 kB / 339.4 MB, free: 13.87 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004611/0.1773, allocations: 1.253 MB / 340.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/0.1776, allocations: 458.1 kB / 341.1 MB, free: 12.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002512/0.1778, allocations: 275.5 kB / 341.4 MB, free: 12.01 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.122e-05/0.1779, allocations: 308.6 kB / 341.7 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/0.1781, allocations: 182.2 kB / 341.8 MB, free: 11.53 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004079/0.1785, allocations: 0.6478 MB / 342.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007651/0.1793, allocations: 0.9734 MB / 343.5 MB, free: 9.625 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.1793, allocations: 8 kB / 343.5 MB, free: 9.617 MB / 298.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00137/0.1806, allocations: 1.083 MB / 344.5 MB, free: 8.625 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002912/0.1809, allocations: 12 kB / 344.6 MB, free: 8.613 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.181, allocations: 12 kB / 344.6 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005429/0.1815, allocations: 236.6 kB / 344.8 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008626/0.1824, allocations: 374.3 kB / 345.2 MB, free: 8.023 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003103/0.1855, allocations: 4.798 MB / 350 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005006/0.186, allocations: 63.81 kB / 350 MB, free: 2.969 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.679e-05/0.186, allocations: 56 kB / 350.1 MB, free: 2.914 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 (177): * Single equations (assignments): 173 * 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,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004207/0.1865, allocations: 209.6 kB / 350.3 MB, free: 2.719 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.1866, allocations: 139.8 kB / 350.4 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.188, allocations: 0.9737 MB / 351.4 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.188, allocations: 12 kB / 351.4 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.188, allocations: 15.98 kB / 351.4 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.188, allocations: 3.984 kB / 351.4 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002877/0.1909, allocations: 2.103 MB / 353.5 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.1909, allocations: 4.188 kB / 353.5 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004146/0.1913, allocations: 163.6 kB / 353.7 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007742/0.1921, allocations: 378.4 kB / 354.1 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.612e-05/0.1921, allocations: 35.98 kB / 354.1 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004721/0.1968, allocations: 8.336 MB / 362.4 MB, free: 6.375 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1969, allocations: 4 kB / 362.4 MB, free: 6.371 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.1982, allocations: 1.292 MB / 363.7 MB, free: 5.059 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002742/0.1985, allocations: 184.2 kB / 363.9 MB, free: 4.879 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.1986, allocations: 28 kB / 363.9 MB, free: 4.852 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003263/0.1989, allocations: 47.97 kB / 364 MB, free: 4.805 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.1991, allocations: 104.7 kB / 364.1 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.52e-05/0.1991, allocations: 35.92 kB / 364.1 MB, free: 4.668 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000414/0.1996, allocations: 0.5362 MB / 364.7 MB, free: 4.195 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1996, allocations: 0 / 364.7 MB, free: 4.195 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001056/0.2006, allocations: 0.539 MB / 365.2 MB, free: 3.656 MB / 314.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 (83): * Single equations (assignments): 78 * 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,8,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.0002128/0.2008, allocations: 144.9 kB / 365.3 MB, free: 3.504 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.2019, allocations: 1.165 MB / 366.5 MB, free: 2.328 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.366e-05/0.2019, allocations: 21.81 kB / 366.5 MB, free: 2.309 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.2029, allocations: 1.118 MB / 367.6 MB, free: 1.137 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008816/0.2038, allocations: 431 kB / 368.1 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004866/0.2087, allocations: 4.619 MB / 372.7 MB, free: 12.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005139/0.2092, allocations: 0.6356 MB / 373.3 MB, free: 11.42 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005138/0.2097, allocations: 230.5 kB / 373.5 MB, free: 11.19 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008852/0.2106, allocations: 419.1 kB / 374 MB, free: 10.77 MB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/0.2106, allocations: 0 / 374 MB, free: 10.77 MB / 330.7 MB Notification: Performance of Templates: time 0.03346/0.2441, allocations: 27.38 MB / 401.3 MB, free: 15.88 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.2417144058272243]