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.001225/0.001225, allocations: 80.8 kB / 22.29 MB, free: 2.207 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.001701/0.001701, allocations: 168.6 kB / 25.7 MB, free: 8.449 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.9179/0.9179, allocations: 158.6 MB / 187.6 MB, free: 2.801 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.222e-06/1.222e-06, allocations: 0 / 251.6 MB, free: 7.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025e-05/1.147e-05, allocations: 6.312 kB / 251.6 MB, free: 7.199 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.009749/0.009761, allocations: 12.32 MB / 263.9 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007004/0.01676, allocations: 4.356 MB / 268.3 MB, free: 6.449 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008828/0.01765, allocations: 91.38 kB / 268.4 MB, free: 6.359 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.01922, allocations: 0.9903 MB / 269.3 MB, free: 5.363 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001855/0.02108, allocations: 1.285 MB / 270.6 MB, free: 4.07 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.02221, allocations: 0.8649 MB / 271.5 MB, free: 3.203 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003195/0.0254, allocations: 4.073 MB / 275.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001678/0.02708, allocations: 1.737 MB / 277.3 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002991/0.03007, allocations: 2.874 MB / 280.2 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.03163, allocations: 1.91 MB / 282.1 MB, free: 8.484 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00037/0.032, allocations: 500 kB / 282.6 MB, free: 7.996 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008299/0.03283, allocations: 0.6949 MB / 283.3 MB, free: 7.301 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005813/0.03342, allocations: 1.13 MB / 284.4 MB, free: 6.168 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009828/0.0344, allocations: 1.411 MB / 285.8 MB, free: 4.754 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002711/0.03711, allocations: 3.353 MB / 289.2 MB, free: 1.391 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.03711, allocations: 0 / 289.2 MB, free: 1.391 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.03711, allocations: 0 / 289.2 MB, free: 1.391 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.318e-05/0.03714, allocations: 4 kB / 289.2 MB, free: 1.387 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.004807/0.04194, allocations: 4.138 MB / 293.3 MB, free: 13.2 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.04197, allocations: 11.98 kB / 293.3 MB, free: 13.18 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002495/0.04447, allocations: 1.101 MB / 294.4 MB, free: 12.08 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.04607, allocations: 1.326 MB / 295.7 MB, free: 10.7 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.04618, allocations: 238.6 kB / 296 MB, free: 10.46 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002773/0.04646, allocations: 312.3 kB / 296.3 MB, free: 10.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002327/0.04879, allocations: 2.377 MB / 298.7 MB, free: 7.691 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.8e-05/0.04884, allocations: 8 kB / 298.7 MB, free: 7.684 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001744/0.04901, allocations: 124 kB / 298.8 MB, free: 7.562 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001001/0.04911, allocations: 150.3 kB / 298.9 MB, free: 7.414 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/0.05044, allocations: 0.9184 MB / 299.9 MB, free: 6.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008632/0.05907, allocations: 8.078 MB / 307.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001958/0.06103, allocations: 1.679 MB / 309.6 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006151/0.06164, allocations: 0.5584 MB / 310.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002303/0.06395, allocations: 1.783 MB / 312 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.06398, allocations: 59.5 kB / 312 MB, free: 9.988 MB / 298.7 MB Notification: Performance of pre-optimization done (n=119): time 2.014e-06/0.06398, allocations: 0 / 312 MB, free: 9.988 MB / 298.7 MB Notification: Performance of matching and sorting (n=122): time 0.00341/0.06739, allocations: 2.375 MB / 314.4 MB, free: 7.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.06742, allocations: 64.41 kB / 314.4 MB, free: 7.492 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009834/0.0684, allocations: 1.083 MB / 315.5 MB, free: 6.395 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.589e-05/0.06845, allocations: 45.7 kB / 315.6 MB, free: 6.344 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004635/0.06892, allocations: 1.26 MB / 316.8 MB, free: 5.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002/0.06912, allocations: 444.1 kB / 317.3 MB, free: 4.633 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002507/0.06937, allocations: 275.3 kB / 317.5 MB, free: 4.359 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.926e-05/0.06943, allocations: 305.1 kB / 317.8 MB, free: 4.059 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.06967, allocations: 178.8 kB / 318 MB, free: 3.883 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004102/0.07008, allocations: 0.6473 MB / 318.7 MB, free: 3.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007534/0.07083, allocations: 0.9706 MB / 319.6 MB, free: 1.844 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.07083, allocations: 4 kB / 319.6 MB, free: 1.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001098/0.07193, allocations: 1.03 MB / 320.7 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.07195, allocations: 15.94 kB / 320.7 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.07197, allocations: 16 kB / 320.7 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003747/0.07234, allocations: 203.4 kB / 320.9 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007706/0.07312, allocations: 395.3 kB / 321.3 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002738/0.07585, allocations: 4.612 MB / 325.9 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004293/0.07628, allocations: 63.94 kB / 326 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.66e-05/0.07635, allocations: 52.12 kB / 326 MB, free: 11.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.0003706/0.07672, allocations: 216.1 kB / 326.2 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.07686, allocations: 135.9 kB / 326.3 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.07795, allocations: 0.9301 MB / 327.3 MB, free: 9.852 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.07796, allocations: 15.94 kB / 327.3 MB, free: 9.836 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.07796, allocations: 4 kB / 327.3 MB, free: 9.832 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.07797, allocations: 3.984 kB / 327.3 MB, free: 9.828 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002781/0.08075, allocations: 2.401 MB / 329.7 MB, free: 7.355 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.08076, allocations: 3.938 kB / 329.7 MB, free: 7.352 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00038/0.08114, allocations: 172 kB / 329.9 MB, free: 7.184 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006015/0.08174, allocations: 351.6 kB / 330.2 MB, free: 6.828 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.102e-05/0.08179, allocations: 31.98 kB / 330.3 MB, free: 6.797 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004444/0.08623, allocations: 8.155 MB / 338.4 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.08623, allocations: 4.062 kB / 338.4 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.08755, allocations: 1.238 MB / 339.6 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000275/0.08782, allocations: 182.8 kB / 339.8 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.08794, allocations: 35.94 kB / 339.9 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003311/0.08827, allocations: 47.97 kB / 339.9 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.08842, allocations: 108.7 kB / 340 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.199e-05/0.08846, allocations: 24 kB / 340 MB, free: 12.5 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004413/0.0889, allocations: 0.5327 MB / 340.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0889, allocations: 0 / 340.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001173/0.09008, allocations: 0.5273 MB / 341.1 MB, free: 11.44 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.0002099/0.09029, allocations: 140.2 kB / 341.2 MB, free: 11.29 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.09137, allocations: 1.118 MB / 342.4 MB, free: 10.13 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.462e-05/0.0914, allocations: 17.81 kB / 342.4 MB, free: 10.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.09258, allocations: 1.134 MB / 343.5 MB, free: 8.918 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008896/0.09347, allocations: 429.1 kB / 343.9 MB, free: 8.508 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004968/0.09844, allocations: 4.61 MB / 348.5 MB, free: 3.812 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00054/0.09898, allocations: 0.6157 MB / 349.1 MB, free: 3.176 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000509/0.09949, allocations: 234.5 kB / 349.4 MB, free: 2.941 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006361/0.1001, allocations: 423.1 kB / 349.8 MB, free: 2.52 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.1001, allocations: 0 / 349.8 MB, free: 2.52 MB / 330.7 MB Notification: Performance of Templates: time 0.1244/0.2245, allocations: 26.6 MB / 376.4 MB, free: 71.06 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 -s gbode -gbm=radauIIA3 -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.272691979072988]