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.001304/0.001304, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001127/0.001127, allocations: 165.8 kB / 25.33 MB, free: 8.586 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.9056/0.9056, allocations: 158.6 MB / 187.2 MB, free: 2.934 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.362e-06/1.362e-06, allocations: 3.938 kB / 251.1 MB, free: 7.492 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.758e-05/1.895e-05, allocations: 2.312 kB / 251.1 MB, free: 7.488 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01274/0.01276, allocations: 12.64 MB / 263.7 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005836/0.01859, allocations: 4.21 MB / 267.9 MB, free: 6.562 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007411/0.01934, allocations: 83.44 kB / 268 MB, free: 6.48 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001801/0.02114, allocations: 0.9708 MB / 269 MB, free: 5.504 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002323/0.02346, allocations: 1.3 MB / 270.3 MB, free: 4.195 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.0247, allocations: 0.8649 MB / 271.1 MB, free: 3.328 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00323/0.02793, allocations: 4.057 MB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001946/0.02988, allocations: 1.698 MB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002872/0.03275, allocations: 2.768 MB / 279.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002106/0.03486, allocations: 1.918 MB / 281.6 MB, free: 8.785 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005684/0.03543, allocations: 0.4961 MB / 282.1 MB, free: 8.289 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009825/0.03641, allocations: 0.6949 MB / 282.8 MB, free: 7.594 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008141/0.03722, allocations: 1.157 MB / 283.9 MB, free: 6.434 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001541/0.03876, allocations: 1.423 MB / 285.4 MB, free: 5.008 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003379/0.04214, allocations: 3.372 MB / 288.7 MB, free: 1.625 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.04215, allocations: 4 kB / 288.7 MB, free: 1.621 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.04215, allocations: 0 / 288.7 MB, free: 1.621 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.823e-05/0.04217, allocations: 0 / 288.7 MB, free: 1.621 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.00728/0.04945, allocations: 4.522 MB / 293.3 MB, free: 13.04 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.0495, allocations: 11.98 kB / 293.3 MB, free: 13.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003572/0.05307, allocations: 1.24 MB / 294.5 MB, free: 11.78 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005895/0.05897, allocations: 2.078 MB / 296.6 MB, free: 9.652 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001564/0.05912, allocations: 230.6 kB / 296.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003428/0.06255, allocations: 320.3 kB / 297.1 MB, free: 9.113 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004659/0.06721, allocations: 2.535 MB / 299.7 MB, free: 6.484 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.8e-05/0.06727, allocations: 0 / 299.7 MB, free: 6.484 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000249/0.06752, allocations: 128 kB / 299.8 MB, free: 6.359 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001421/0.06766, allocations: 146.3 kB / 299.9 MB, free: 6.215 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003064/0.07072, allocations: 1.196 MB / 301.1 MB, free: 5.008 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01153/0.08225, allocations: 10.34 MB / 311.5 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003233/0.08548, allocations: 1.978 MB / 313.4 MB, free: 8.484 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009979/0.08648, allocations: 0.6911 MB / 314.1 MB, free: 7.801 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003614/0.0901, allocations: 2.389 MB / 316.5 MB, free: 5.379 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.09013, allocations: 58.33 kB / 316.6 MB, free: 5.312 MB / 298.7 MB Notification: Performance of pre-optimization done (n=119): time 2.214e-06/0.09014, allocations: 0 / 316.6 MB, free: 5.312 MB / 298.7 MB Notification: Performance of matching and sorting (n=122): time 0.005051/0.09519, allocations: 3.146 MB / 319.7 MB, free: 2.113 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.09523, allocations: 64.41 kB / 319.8 MB, free: 2.039 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.09678, allocations: 1.332 MB / 321.1 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.639e-05/0.09683, allocations: 49.64 kB / 321.2 MB, free: 0.625 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006904/0.09752, allocations: 1.535 MB / 322.7 MB, free: 15.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002335/0.09776, allocations: 464.2 kB / 323.2 MB, free: 14.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000293/0.09805, allocations: 305.1 kB / 323.5 MB, free: 14.31 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.596e-05/0.09815, allocations: 476.8 kB / 323.9 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/0.09852, allocations: 223.8 kB / 324.1 MB, free: 13.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006914/0.09921, allocations: 0.9223 MB / 325.1 MB, free: 12.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.1004, allocations: 1.253 MB / 326.3 MB, free: 10.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.932e-06/0.1004, allocations: 4 kB / 326.3 MB, free: 10.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001955/0.1023, allocations: 1.408 MB / 327.7 MB, free: 9.441 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.1023, allocations: 12 kB / 327.7 MB, free: 9.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.1024, allocations: 16 kB / 327.8 MB, free: 9.414 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00048/0.1028, allocations: 234.9 kB / 328 MB, free: 9.168 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006977/0.1035, allocations: 351.4 kB / 328.3 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003544/0.1071, allocations: 6.545 MB / 334.9 MB, free: 1.918 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004987/0.1076, allocations: 63.97 kB / 334.9 MB, free: 1.855 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.419e-05/0.1077, allocations: 67.98 kB / 335 MB, free: 1.789 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.0004951/0.1082, allocations: 260 kB / 335.3 MB, free: 1.523 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/0.1083, allocations: 202.9 kB / 335.5 MB, free: 1.324 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/0.1099, allocations: 1.204 MB / 336.7 MB, free: 88 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.1099, allocations: 12 kB / 336.7 MB, free: 76 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.1099, allocations: 8 kB / 336.7 MB, free: 68 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.1099, allocations: 7.922 kB / 336.7 MB, free: 60 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00378/0.1137, allocations: 3.329 MB / 340 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/0.1137, allocations: 4 kB / 340 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003912/0.1141, allocations: 168 kB / 340.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007544/0.1149, allocations: 404.8 kB / 340.6 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.276e-05/0.1149, allocations: 39.92 kB / 340.6 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1332/0.2481, allocations: 11.43 MB / 352 MB, free: 77.92 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.2481, allocations: 3.125 kB / 352.1 MB, free: 77.92 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00333/0.2514, allocations: 1.633 MB / 353.7 MB, free: 77.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006115/0.252, allocations: 304.5 kB / 354 MB, free: 77.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/0.2522, allocations: 34.33 kB / 354 MB, free: 77.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005787/0.2528, allocations: 61.88 kB / 354.1 MB, free: 77.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002339/0.253, allocations: 102.4 kB / 354.2 MB, free: 77.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.068e-05/0.2531, allocations: 38.47 kB / 354.2 MB, free: 77.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009672/0.254, allocations: 0.7573 MB / 355 MB, free: 77.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.254, allocations: 0.7188 kB / 355 MB, free: 77.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001753/0.2558, allocations: 0.5342 MB / 355.5 MB, free: 77.41 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.0002769/0.2561, allocations: 158.9 kB / 355.7 MB, free: 77.33 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001861/0.2579, allocations: 1.452 MB / 357.1 MB, free: 76.76 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2579, allocations: 3 kB / 357.1 MB, free: 76.76 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.2592, allocations: 1.486 MB / 358.6 MB, free: 75.87 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.2604, allocations: 416.9 kB / 359 MB, free: 75.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005964/0.2664, allocations: 4.831 MB / 363.8 MB, free: 73.81 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006063/0.267, allocations: 0.7759 MB / 364.6 MB, free: 73.7 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005989/0.2676, allocations: 316.9 kB / 364.9 MB, free: 73.62 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.2678, allocations: 113.8 kB / 365 MB, free: 73.62 MB / 330.7 MB Notification: Performance of SimCode: time 1.232e-06/0.2678, allocations: 0 / 365 MB, free: 73.62 MB / 330.7 MB Notification: Performance of Templates: time 0.02771/0.2955, allocations: 24.92 MB / 390 MB, free: 54.89 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.5172389852814376]