Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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.001165/0.001165, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001294/0.001294, allocations: 168.9 kB / 25.69 MB, free: 8.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8692/0.8692, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] 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 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.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.033e-06/2.033e-06, allocations: 0 / 251.6 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.636e-05, allocations: 2.312 kB / 251.6 MB, free: 7.246 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.009878/0.009904, allocations: 12.27 MB / 263.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005547/0.01545, allocations: 4.352 MB / 268.2 MB, free: 6.543 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007198/0.01617, allocations: 83.44 kB / 268.3 MB, free: 6.461 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001451/0.01762, allocations: 0.9903 MB / 269.2 MB, free: 5.465 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001787/0.01941, allocations: 1.304 MB / 270.6 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.02041, allocations: 0.8648 MB / 271.4 MB, free: 3.285 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00259/0.023, allocations: 4.069 MB / 275.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001372/0.02437, allocations: 1.745 MB / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00205/0.02642, allocations: 2.87 MB / 280.1 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001596/0.02802, allocations: 1.91 MB / 282 MB, free: 8.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003893/0.02841, allocations: 0.4922 MB / 282.5 MB, free: 8.078 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007058/0.02911, allocations: 0.6832 MB / 283.2 MB, free: 7.395 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006704/0.02978, allocations: 1.133 MB / 284.3 MB, free: 6.258 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000967/0.03075, allocations: 1.399 MB / 285.7 MB, free: 4.855 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00264/0.03339, allocations: 3.357 MB / 289.1 MB, free: 1.488 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.03339, allocations: 0 / 289.1 MB, free: 1.488 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.03339, allocations: 7.922 kB / 289.1 MB, free: 1.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.279e-05/0.03343, allocations: 0 / 289.1 MB, free: 1.48 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.004679/0.03811, allocations: 4.135 MB / 293.2 MB, free: 13.29 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.03814, allocations: 11.98 kB / 293.2 MB, free: 13.28 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002444/0.04058, allocations: 1.105 MB / 294.3 MB, free: 12.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001852/0.04244, allocations: 1.318 MB / 295.7 MB, free: 10.8 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.04255, allocations: 234.6 kB / 295.9 MB, free: 10.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003046/0.04286, allocations: 312.3 kB / 296.2 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002327/0.04518, allocations: 2.38 MB / 298.6 MB, free: 7.797 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.909e-05/0.04523, allocations: 11.89 kB / 298.6 MB, free: 7.785 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001851/0.04542, allocations: 120 kB / 298.7 MB, free: 7.668 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-05/0.04552, allocations: 162.2 kB / 298.9 MB, free: 7.508 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.04684, allocations: 0.9262 MB / 299.8 MB, free: 6.566 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007979/0.05482, allocations: 8.059 MB / 307.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002062/0.05688, allocations: 1.679 MB / 309.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000634/0.05752, allocations: 0.5661 MB / 310.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002436/0.05995, allocations: 1.791 MB / 311.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.05998, allocations: 43.56 kB / 311.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=119): time 2.214e-06/0.05998, allocations: 0 / 311.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=122): time 0.003447/0.06343, allocations: 2.375 MB / 314.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.06346, allocations: 68.34 kB / 314.4 MB, free: 7.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007329/0.0642, allocations: 1.083 MB / 315.4 MB, free: 6.492 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.468e-05/0.06425, allocations: 45.7 kB / 315.5 MB, free: 6.441 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005463/0.0648, allocations: 1.256 MB / 316.7 MB, free: 5.172 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/0.06501, allocations: 448.1 kB / 317.2 MB, free: 4.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000249/0.06526, allocations: 279.3 kB / 317.5 MB, free: 4.453 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.387e-05/0.06532, allocations: 301.1 kB / 317.7 MB, free: 4.156 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/0.06555, allocations: 174.8 kB / 317.9 MB, free: 3.984 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004041/0.06596, allocations: 0.6551 MB / 318.6 MB, free: 3.113 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007386/0.06669, allocations: 0.9629 MB / 319.5 MB, free: 1.945 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.0667, allocations: 4 kB / 319.5 MB, free: 1.941 MB / 298.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00107/0.06777, allocations: 1.034 MB / 320.6 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.06779, allocations: 12 kB / 320.6 MB, free: 0.875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.0678, allocations: 16 kB / 320.6 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005029/0.06831, allocations: 207.1 kB / 320.8 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006248/0.06893, allocations: 339.5 kB / 321.1 MB, free: 324 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002416/0.07135, allocations: 4.608 MB / 325.7 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004259/0.07177, allocations: 59.94 kB / 325.8 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.381e-05/0.07184, allocations: 52 kB / 325.9 MB, free: 11.32 MB / 314.7 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 () * 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.0003894/0.07223, allocations: 216.2 kB / 326.1 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.07237, allocations: 139.8 kB / 326.2 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.07345, allocations: 0.9184 MB / 327.1 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.07346, allocations: 15.94 kB / 327.1 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.07346, allocations: 8 kB / 327.1 MB, free: 9.996 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.07347, allocations: 7.984 kB / 327.2 MB, free: 9.988 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002499/0.07597, allocations: 2.401 MB / 329.6 MB, free: 7.516 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.07598, allocations: 4.062 kB / 329.6 MB, free: 7.512 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003483/0.07633, allocations: 151.8 kB / 329.7 MB, free: 7.363 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006025/0.07693, allocations: 354 kB / 330.1 MB, free: 7.004 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.131e-05/0.07698, allocations: 31.98 kB / 330.1 MB, free: 6.973 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004431/0.08141, allocations: 8.141 MB / 338.2 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.08141, allocations: 4 kB / 338.2 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.08275, allocations: 1.242 MB / 339.5 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002871/0.08304, allocations: 174.9 kB / 339.6 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.08315, allocations: 31.94 kB / 339.7 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003358/0.08349, allocations: 51.97 kB / 339.7 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.08363, allocations: 100.8 kB / 339.8 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.227e-05/0.08367, allocations: 27.98 kB / 339.8 MB, free: 12.7 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004252/0.08409, allocations: 0.5288 MB / 340.4 MB, free: 12.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.08409, allocations: 0 / 340.4 MB, free: 12.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001058/0.08515, allocations: 0.5351 MB / 340.9 MB, free: 11.63 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.0002351/0.08539, allocations: 148.5 kB / 341.1 MB, free: 11.47 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.08654, allocations: 1.118 MB / 342.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.057e-05/0.08657, allocations: 21.81 kB / 342.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001/0.08757, allocations: 1.139 MB / 343.3 MB, free: 9.094 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.08866, allocations: 424.4 kB / 343.7 MB, free: 8.684 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004974/0.09363, allocations: 4.61 MB / 348.4 MB, free: 3.988 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005042/0.09413, allocations: 0.6196 MB / 349 MB, free: 3.348 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004688/0.0946, allocations: 226.3 kB / 349.2 MB, free: 3.121 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000599/0.0952, allocations: 419.1 kB / 349.6 MB, free: 2.703 MB / 330.7 MB Notification: Performance of SimCode: time 1.162e-06/0.0952, allocations: 0 / 349.6 MB, free: 2.703 MB / 330.7 MB Notification: Performance of Templates: time 0.1417/0.2369, allocations: 26.31 MB / 375.9 MB, free: 71.62 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Inverter/AIMC_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.3957389621064067]