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.001237/0.001237, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001711/0.002948, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0007306/0.0007306, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009887/0.001719, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 1.011/1.011, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1598/1.171, allocations: 49.49 MB / 220.7 MB, free: 1.355 MB / 218.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.264e-06/2.264e-06, allocations: 0 / 222 MB, free: 44 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.446e-05/1.672e-05, allocations: 6.312 kB / 222 MB, free: 36 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01016/0.01018, allocations: 12.4 MB / 234.4 MB, free: 3.57 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006918/0.0171, allocations: 4.391 MB / 238.8 MB, free: 15.16 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009521/0.01805, allocations: 87.44 kB / 238.9 MB, free: 15.08 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001545/0.0196, allocations: 0.9938 MB / 239.9 MB, free: 14.08 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002034/0.02163, allocations: 1.277 MB / 241.2 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.02286, allocations: 0.8764 MB / 242 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003334/0.02619, allocations: 4.077 MB / 246.1 MB, free: 7.82 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001692/0.02788, allocations: 1.756 MB / 247.9 MB, free: 5.969 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003395/0.03128, allocations: 3.096 MB / 251 MB, free: 2.848 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001935/0.03321, allocations: 1.902 MB / 252.9 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006368/0.03385, allocations: 0.4922 MB / 253.4 MB, free: 460 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.03485, allocations: 0.6949 MB / 254 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005739/0.03542, allocations: 0.9041 MB / 255 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009892/0.03641, allocations: 1.178 MB / 256.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002601/0.03901, allocations: 3.17 MB / 259.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.128e-05/0.03903, allocations: 3.938 kB / 259.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.03903, allocations: 0 / 259.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.775e-05/0.03909, allocations: 4 kB / 259.3 MB, free: 10.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.005623/0.04472, allocations: 4.903 MB / 264.2 MB, free: 5.508 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.04475, allocations: 12.03 kB / 264.2 MB, free: 5.496 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002828/0.04758, allocations: 1.097 MB / 265.3 MB, free: 4.398 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/0.04924, allocations: 1.333 MB / 266.7 MB, free: 3.008 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.04936, allocations: 234.6 kB / 266.9 MB, free: 2.777 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000298/0.04965, allocations: 320.3 kB / 267.2 MB, free: 2.465 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002395/0.05205, allocations: 2.379 MB / 269.6 MB, free: 15.99 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.778e-05/0.0521, allocations: 7.984 kB / 269.6 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001818/0.05228, allocations: 128 kB / 269.7 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001036/0.05238, allocations: 146.3 kB / 269.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.05368, allocations: 0.9184 MB / 270.8 MB, free: 14.78 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008519/0.0622, allocations: 8.109 MB / 278.9 MB, free: 6.383 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/0.06417, allocations: 1.683 MB / 280.6 MB, free: 4.691 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006368/0.06481, allocations: 0.5622 MB / 281.1 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/0.06492, allocations: 57.95 kB / 281.2 MB, free: 4.07 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.06496, allocations: 52.56 kB / 281.2 MB, free: 4.008 MB / 282.7 MB Notification: Performance of pre-optimization done (n=170): time 2.856e-06/0.06496, allocations: 0 / 281.2 MB, free: 4.008 MB / 282.7 MB Notification: Performance of matching and sorting (n=174): time 0.008742/0.0737, allocations: 2.933 MB / 284.2 MB, free: 1.051 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.07376, allocations: 77.39 kB / 284.2 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1516/0.2254, allocations: 1.043 MB / 285.3 MB, free: 36.33 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003593/0.2257, allocations: 55.39 kB / 285.3 MB, free: 36.3 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009025/0.2266, allocations: 1.169 MB / 286.5 MB, free: 36 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006213/0.2273, allocations: 0.6154 MB / 287.1 MB, free: 35.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004704/0.2277, allocations: 314 kB / 287.4 MB, free: 35.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.73e-05/0.2278, allocations: 304.6 kB / 287.7 MB, free: 35.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005078/0.2283, allocations: 210.7 kB / 287.9 MB, free: 35.27 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006575/0.2289, allocations: 0.668 MB / 288.6 MB, free: 34.74 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/0.2304, allocations: 1.095 MB / 289.7 MB, free: 34.23 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-05/0.2305, allocations: 3.781 kB / 289.7 MB, free: 34.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.002247/0.2327, allocations: 1.144 MB / 290.8 MB, free: 34.12 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.2327, allocations: 10.59 kB / 290.9 MB, free: 34.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.6e-05/0.2328, allocations: 14.5 kB / 290.9 MB, free: 34.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005949/0.2334, allocations: 207.4 kB / 291.1 MB, free: 34.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/0.2349, allocations: 0.4992 MB / 291.6 MB, free: 34.08 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002981/0.2379, allocations: 4.664 MB / 296.2 MB, free: 30.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.239, allocations: 65.14 kB / 296.3 MB, free: 30.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001462/0.2391, allocations: 63.95 kB / 296.4 MB, free: 30.28 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (222): * Single equations (assignments): 218 * 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.0008228/0.2399, allocations: 234.3 kB / 296.6 MB, free: 30.16 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000362/0.2403, allocations: 161.7 kB / 296.7 MB, free: 30.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00191/0.2422, allocations: 1.096 MB / 297.8 MB, free: 29.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.2422, allocations: 16.06 kB / 297.9 MB, free: 29.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.787e-05/0.2422, allocations: 8.031 kB / 297.9 MB, free: 29.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.258e-05/0.2423, allocations: 12.98 kB / 297.9 MB, free: 29.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00866/0.2509, allocations: 3.215 MB / 301.1 MB, free: 29.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.2509, allocations: 7.125 kB / 301.1 MB, free: 29.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007338/0.2517, allocations: 273.7 kB / 301.4 MB, free: 29.36 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006124/0.2523, allocations: 201.2 kB / 301.6 MB, free: 29.26 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003862/0.2561, allocations: 364 kB / 301.9 MB, free: 29.21 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.2562, allocations: 42.66 kB / 302 MB, free: 29.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007878/0.2641, allocations: 8.161 MB / 310.1 MB, free: 22.68 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.2641, allocations: 9 kB / 310.1 MB, free: 22.68 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005832/0.27, allocations: 1.588 MB / 311.7 MB, free: 22.19 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002567/0.2702, allocations: 39.78 kB / 311.8 MB, free: 22.19 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005789/0.2708, allocations: 62.42 kB / 311.8 MB, free: 22.19 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002246/0.271, allocations: 137.9 kB / 312 MB, free: 22.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-05/0.2711, allocations: 37.48 kB / 312 MB, free: 22.18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005798/0.2717, allocations: 0.5142 MB / 312.5 MB, free: 22.14 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2717, allocations: 0 / 312.5 MB, free: 22.14 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.008136/0.2798, allocations: 0.5778 MB / 313.1 MB, free: 22.13 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (138): * Single equations (assignments): 133 * 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.0003363/0.2801, allocations: 149.1 kB / 313.2 MB, free: 22.05 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001669/0.2818, allocations: 1.297 MB / 314.5 MB, free: 21.64 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.523e-05/0.2819, allocations: 27.52 kB / 314.5 MB, free: 21.64 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.283, allocations: 1.341 MB / 315.9 MB, free: 21.01 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005238/0.2883, allocations: 4.259 MB / 320.1 MB, free: 16.7 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03335/0.3216, allocations: 5.094 MB / 325.2 MB, free: 13.81 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007247/0.3223, allocations: 0.6556 MB / 325.9 MB, free: 13.34 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0008995/0.3232, allocations: 253.9 kB / 326.1 MB, free: 13.14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006399/0.3239, allocations: 458.1 kB / 326.6 MB, free: 12.75 MB / 282.7 MB Notification: Performance of SimCode: time 1.533e-06/0.3239, allocations: 0 / 326.6 MB, free: 12.75 MB / 282.7 MB Notification: Performance of Templates: time 0.03995/0.3638, allocations: 29.71 MB / 356.3 MB, free: 15.6 MB / 314.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4967374550178647]