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.0009456/0.0009456, allocations: 75.77 kB / 22.45 MB, free: 2.09 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.0009429/0.0009429, allocations: 164.3 kB / 25.75 MB, free: 8.902 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.8528/0.8528, allocations: 158.6 MB / 187.5 MB, free: 2.938 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 1.373e-06/1.373e-06, allocations: 0 / 251.1 MB, free: 7.781 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.719e-05/1.857e-05, allocations: 6.25 kB / 251.1 MB, free: 7.773 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01049/0.01051, allocations: 12.57 MB / 263.7 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006192/0.0167, allocations: 4.198 MB / 267.9 MB, free: 6.93 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009155/0.01762, allocations: 87.44 kB / 268 MB, free: 6.844 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001593/0.01921, allocations: 0.9669 MB / 269 MB, free: 5.871 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002106/0.02132, allocations: 1.292 MB / 270.2 MB, free: 4.57 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.02255, allocations: 0.8689 MB / 271.1 MB, free: 3.699 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002923/0.02548, allocations: 4.065 MB / 275.2 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001524/0.027, allocations: 1.698 MB / 276.9 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002196/0.0292, allocations: 2.78 MB / 279.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001634/0.03083, allocations: 1.914 MB / 281.6 MB, free: 9.145 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004134/0.03124, allocations: 0.4961 MB / 282.1 MB, free: 8.648 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009661/0.03221, allocations: 0.6832 MB / 282.7 MB, free: 7.965 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006501/0.03286, allocations: 1.153 MB / 283.9 MB, free: 6.809 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001036/0.03389, allocations: 1.419 MB / 285.3 MB, free: 5.387 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002687/0.03658, allocations: 3.38 MB / 288.7 MB, free: 1.996 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.03659, allocations: 0 / 288.7 MB, free: 1.996 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.03659, allocations: 0 / 288.7 MB, free: 1.996 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.708e-05/0.03662, allocations: 0 / 288.7 MB, free: 1.996 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.006009/0.04263, allocations: 4.534 MB / 293.2 MB, free: 13.4 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/0.04269, allocations: 15.98 kB / 293.2 MB, free: 13.38 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002932/0.04562, allocations: 1.228 MB / 294.5 MB, free: 12.15 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002455/0.04808, allocations: 2.07 MB / 296.5 MB, free: 10.03 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.0482, allocations: 242.6 kB / 296.8 MB, free: 9.793 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003026/0.0485, allocations: 308.3 kB / 297.1 MB, free: 9.492 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003231/0.05173, allocations: 2.538 MB / 299.6 MB, free: 6.859 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.179e-05/0.05178, allocations: 0 / 299.6 MB, free: 6.859 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001977/0.05198, allocations: 128 kB / 299.7 MB, free: 6.734 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001123/0.05209, allocations: 154.3 kB / 299.9 MB, free: 6.582 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/0.05434, allocations: 1.188 MB / 301.1 MB, free: 5.383 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01056/0.0649, allocations: 10.34 MB / 311.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00263/0.06753, allocations: 1.978 MB / 313.4 MB, free: 8.863 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009376/0.06847, allocations: 0.6872 MB / 314.1 MB, free: 8.184 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002856/0.07132, allocations: 2.405 MB / 316.5 MB, free: 5.746 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.07135, allocations: 50.33 kB / 316.6 MB, free: 5.688 MB / 298.7 MB Notification: Performance of pre-optimization done (n=119): time 3.196e-06/0.07136, allocations: 3.984 kB / 316.6 MB, free: 5.684 MB / 298.7 MB Notification: Performance of matching and sorting (n=122): time 0.004957/0.07631, allocations: 3.138 MB / 319.7 MB, free: 2.492 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.07635, allocations: 68.39 kB / 319.8 MB, free: 2.414 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.07759, allocations: 1.332 MB / 321.1 MB, free: 1.055 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.849e-05/0.07765, allocations: 45.7 kB / 321.1 MB, free: 1.004 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006909/0.07834, allocations: 1.538 MB / 322.7 MB, free: 15.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002569/0.0786, allocations: 460.2 kB / 323.1 MB, free: 15 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000311/0.07891, allocations: 305.1 kB / 323.4 MB, free: 14.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.583e-05/0.079, allocations: 476.8 kB / 323.9 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003878/0.07939, allocations: 219.8 kB / 324.1 MB, free: 14.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007016/0.08009, allocations: 0.9339 MB / 325 MB, free: 12.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.08137, allocations: 1.242 MB / 326.3 MB, free: 11.26 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.08138, allocations: 8 kB / 326.3 MB, free: 11.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001698/0.08308, allocations: 1.412 MB / 327.7 MB, free: 9.816 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.0831, allocations: 15.94 kB / 327.7 MB, free: 9.801 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.08312, allocations: 12 kB / 327.7 MB, free: 9.789 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004807/0.0836, allocations: 238.8 kB / 328 MB, free: 9.539 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007026/0.0843, allocations: 343.5 kB / 328.3 MB, free: 9.203 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003302/0.0876, allocations: 6.545 MB / 334.8 MB, free: 2.297 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000494/0.0881, allocations: 76.14 kB / 334.9 MB, free: 2.223 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.265e-05/0.08817, allocations: 64 kB / 335 MB, free: 2.16 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.0004865/0.08866, allocations: 252.1 kB / 335.2 MB, free: 1.902 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/0.08884, allocations: 214.9 kB / 335.4 MB, free: 1.691 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001582/0.09043, allocations: 1.192 MB / 336.6 MB, free: 476 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.09043, allocations: 15.94 kB / 336.6 MB, free: 460 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.09044, allocations: 4 kB / 336.6 MB, free: 456 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.09045, allocations: 7.969 kB / 336.7 MB, free: 448 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003875/0.09432, allocations: 3.337 MB / 340 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.09433, allocations: 0 / 340 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003862/0.09471, allocations: 167.8 kB / 340.2 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007826/0.0955, allocations: 402.3 kB / 340.5 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.005e-05/0.09556, allocations: 39.92 kB / 340.6 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005764/0.1013, allocations: 11.44 MB / 352 MB, free: 344 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1013, allocations: 0 / 352 MB, free: 344 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1292/0.2305, allocations: 1.625 MB / 353.6 MB, free: 79.81 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006365/0.2311, allocations: 303.5 kB / 353.9 MB, free: 79.81 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.2313, allocations: 35.25 kB / 354 MB, free: 79.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004175/0.2317, allocations: 65.36 kB / 354 MB, free: 79.81 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002006/0.2319, allocations: 107 kB / 354.1 MB, free: 79.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.279e-05/0.2319, allocations: 30.81 kB / 354.2 MB, free: 79.81 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007704/0.2327, allocations: 0.7597 MB / 354.9 MB, free: 79.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2327, allocations: 0 / 354.9 MB, free: 79.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001331/0.234, allocations: 0.5369 MB / 355.5 MB, free: 79.66 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,13,100.0%), (1,8,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.0002547/0.2343, allocations: 154.5 kB / 355.6 MB, free: 79.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001511/0.2358, allocations: 1.451 MB / 357.1 MB, free: 79.01 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.2358, allocations: 3.969 kB / 357.1 MB, free: 79.01 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.2368, allocations: 1.495 MB / 358.6 MB, free: 78.11 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.2379, allocations: 418.1 kB / 359 MB, free: 78.1 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005555/0.2434, allocations: 4.828 MB / 363.8 MB, free: 76.04 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005136/0.2439, allocations: 0.7711 MB / 364.6 MB, free: 75.93 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005729/0.2445, allocations: 316.4 kB / 364.9 MB, free: 75.86 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.2447, allocations: 114.7 kB / 365 MB, free: 75.85 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.2447, allocations: 3.062 kB / 365 MB, free: 75.85 MB / 330.7 MB Notification: Performance of Templates: time 0.02846/0.2732, allocations: 24.93 MB / 389.9 MB, free: 56.54 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.428120357915759]