Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001365/0.001365, allocations: 76.27 kB / 22.21 MB, free: 2.297 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001443/0.001443, allocations: 167.6 kB / 25.61 MB, free: 8.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9083/0.9083, allocations: 177 MB / 205.9 MB, free: 4.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 274.1 MB, free: 4.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143e-05/1.266e-05, allocations: 2.312 kB / 274.1 MB, free: 4.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.009879/0.009892, allocations: 12.9 MB / 287 MB, free: 7.289 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005208/0.0151, allocations: 4.396 MB / 291.4 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006468/0.01575, allocations: 107.4 kB / 291.5 MB, free: 2.781 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001457/0.0172, allocations: 0.982 MB / 292.5 MB, free: 1.793 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.01886, allocations: 1.324 MB / 293.8 MB, free: 472 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000979/0.01984, allocations: 0.8838 MB / 294.7 MB, free: 15.58 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002478/0.02232, allocations: 4.137 MB / 298.9 MB, free: 11.43 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001507/0.02382, allocations: 1.73 MB / 300.6 MB, free: 9.625 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002051/0.02587, allocations: 2.897 MB / 303.5 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001531/0.0274, allocations: 1.91 MB / 305.4 MB, free: 4.809 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003774/0.02778, allocations: 0.4961 MB / 305.9 MB, free: 4.312 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006917/0.02847, allocations: 0.7027 MB / 306.6 MB, free: 3.609 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006339/0.02911, allocations: 1.133 MB / 307.7 MB, free: 2.473 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009661/0.03007, allocations: 1.415 MB / 309.1 MB, free: 1.055 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002451/0.03252, allocations: 3.388 MB / 312.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.03253, allocations: 0 / 312.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.03253, allocations: 0 / 312.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.078e-05/0.03255, allocations: 0 / 312.5 MB, free: 13.66 MB / 298.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.005277/0.03782, allocations: 4.432 MB / 317 MB, free: 9.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.03786, allocations: 8.031 kB / 317 MB, free: 9.152 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002554/0.04041, allocations: 1.138 MB / 318.1 MB, free: 8.012 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002413/0.04283, allocations: 2.191 MB / 320.3 MB, free: 5.766 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.04294, allocations: 234.6 kB / 320.5 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003096/0.04325, allocations: 316.3 kB / 320.8 MB, free: 5.227 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002596/0.04585, allocations: 2.331 MB / 323.2 MB, free: 2.801 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.207e-05/0.0459, allocations: 0 / 323.2 MB, free: 2.801 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001974/0.0461, allocations: 128 kB / 323.3 MB, free: 2.676 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001033/0.0462, allocations: 154.3 kB / 323.5 MB, free: 2.523 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/0.04771, allocations: 0.921 MB / 324.4 MB, free: 1.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0102/0.0579, allocations: 10.29 MB / 334.7 MB, free: 7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00231/0.06021, allocations: 1.855 MB / 336.5 MB, free: 5.277 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.06133, allocations: 0.9005 MB / 337.4 MB, free: 4.371 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002876/0.06421, allocations: 2.478 MB / 339.9 MB, free: 1.863 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.06424, allocations: 50.33 kB / 339.9 MB, free: 1.805 MB / 314.7 MB Notification: Performance of pre-optimization done (n=120): time 2.034e-06/0.06424, allocations: 0 / 339.9 MB, free: 1.805 MB / 314.7 MB Notification: Performance of matching and sorting (n=123): time 0.00409/0.06833, allocations: 2.719 MB / 342.7 MB, free: 15.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.06836, allocations: 64.41 kB / 342.7 MB, free: 14.96 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.06936, allocations: 1.314 MB / 344 MB, free: 13.62 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.487e-05/0.06942, allocations: 45.7 kB / 344.1 MB, free: 13.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000759/0.07018, allocations: 1.57 MB / 345.7 MB, free: 11.99 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000253/0.07043, allocations: 460.1 kB / 346.1 MB, free: 11.54 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003067/0.07074, allocations: 313 kB / 346.4 MB, free: 11.22 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.297e-05/0.07083, allocations: 488.7 kB / 346.9 MB, free: 10.74 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/0.07107, allocations: 171.8 kB / 347.1 MB, free: 10.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005572/0.07163, allocations: 0.8716 MB / 347.9 MB, free: 9.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009208/0.07255, allocations: 1.168 MB / 349.1 MB, free: 7.965 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.07256, allocations: 4 kB / 349.1 MB, free: 7.961 MB / 330.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001472/0.07403, allocations: 1.343 MB / 350.4 MB, free: 6.594 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.07405, allocations: 12 kB / 350.5 MB, free: 6.582 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.07406, allocations: 12 kB / 350.5 MB, free: 6.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004481/0.07451, allocations: 254.8 kB / 350.7 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006562/0.07517, allocations: 339.5 kB / 351 MB, free: 5.973 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1134/0.1885, allocations: 6.604 MB / 357.6 MB, free: 62.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008956/0.1894, allocations: 57.16 kB / 357.7 MB, free: 62.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.599e-05/0.1895, allocations: 55.33 kB / 357.8 MB, free: 62.56 MB / 330.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.000581/0.1901, allocations: 260.3 kB / 358 MB, free: 62.4 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002396/0.1903, allocations: 213.6 kB / 358.2 MB, free: 62.4 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/0.1919, allocations: 1.151 MB / 359.4 MB, free: 62.26 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.1919, allocations: 11.59 kB / 359.4 MB, free: 62.26 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.1919, allocations: 8 kB / 359.4 MB, free: 62.26 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.1919, allocations: 7.297 kB / 359.4 MB, free: 62.26 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003138/0.195, allocations: 2.758 MB / 362.2 MB, free: 61.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.195, allocations: 3.75 kB / 362.2 MB, free: 61.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003842/0.1954, allocations: 151.6 kB / 362.3 MB, free: 61.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007265/0.1961, allocations: 417.8 kB / 362.7 MB, free: 61.74 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.688e-05/0.1962, allocations: 35.16 kB / 362.8 MB, free: 61.74 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003993/0.2002, allocations: 11.42 MB / 374.2 MB, free: 52.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2002, allocations: 0 / 374.2 MB, free: 52.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00151/0.2017, allocations: 1.535 MB / 375.7 MB, free: 51.96 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003078/0.202, allocations: 297.3 kB / 376 MB, free: 51.9 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.2021, allocations: 28.16 kB / 376 MB, free: 51.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003669/0.2025, allocations: 49.75 kB / 376.1 MB, free: 51.9 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.2026, allocations: 110.9 kB / 376.2 MB, free: 51.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.39e-05/0.2027, allocations: 30.62 kB / 376.2 MB, free: 51.89 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004837/0.2032, allocations: 0.6999 MB / 376.9 MB, free: 51.74 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2032, allocations: 0 / 376.9 MB, free: 51.74 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001207/0.2044, allocations: 0.5417 MB / 377.5 MB, free: 51.74 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 (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.0001991/0.2046, allocations: 165.6 kB / 377.6 MB, free: 51.65 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001105/0.2057, allocations: 1.393 MB / 379 MB, free: 51.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2057, allocations: 0 / 379 MB, free: 51.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008307/0.2065, allocations: 1.457 MB / 380.5 MB, free: 50.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009848/0.2075, allocations: 439 kB / 380.9 MB, free: 50.13 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004387/0.2119, allocations: 4.782 MB / 385.7 MB, free: 48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004736/0.2124, allocations: 0.7783 MB / 386.5 MB, free: 47.89 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004576/0.2128, allocations: 233.4 kB / 386.7 MB, free: 47.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005622/0.2134, allocations: 483 kB / 387.2 MB, free: 47.75 MB / 330.7 MB Notification: Performance of SimCode: time 8.22e-07/0.2134, allocations: 3.969 kB / 387.2 MB, free: 47.75 MB / 330.7 MB Notification: Performance of Templates: time 0.0316/0.245, allocations: 27.66 MB / 414.8 MB, free: 23.99 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.470220860093832]