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.002054/0.002054, allocations: 96.3 kB / 21.73 MB, free: 2.699 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.002515/0.002515, allocations: 168 kB / 25.02 MB, free: 7.906 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 1.356/1.356, allocations: 158.6 MB / 186.8 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] 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.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..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.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..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.392e-06/1.392e-06, allocations: 0 / 250.4 MB, free: 4.004 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.486e-05, allocations: 9.969 kB / 250.4 MB, free: 3.996 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01601/0.01604, allocations: 11.2 MB / 261.6 MB, free: 8.734 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008933/0.02497, allocations: 4.062 MB / 265.7 MB, free: 4.66 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001352/0.02632, allocations: 83.44 kB / 265.7 MB, free: 4.578 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002769/0.02909, allocations: 0.9705 MB / 266.7 MB, free: 3.602 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003634/0.03273, allocations: 1.289 MB / 268 MB, free: 2.305 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002118/0.03485, allocations: 0.8494 MB / 268.8 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005319/0.04016, allocations: 4.087 MB / 272.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002748/0.04291, allocations: 1.682 MB / 274.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004282/0.04719, allocations: 2.757 MB / 277.4 MB, free: 8.832 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002927/0.05012, allocations: 1.75 MB / 279.1 MB, free: 7.078 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007333/0.05085, allocations: 0.4961 MB / 279.6 MB, free: 6.582 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/0.0522, allocations: 0.6832 MB / 280.3 MB, free: 5.898 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001231/0.05344, allocations: 1.133 MB / 281.4 MB, free: 4.762 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001841/0.05528, allocations: 1.396 MB / 282.8 MB, free: 3.363 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008313/0.06359, allocations: 6.661 MB / 289.5 MB, free: 12.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.0636, allocations: 0 / 289.5 MB, free: 12.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.0636, allocations: 0 / 289.5 MB, free: 12.68 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001397/0.06374, allocations: 4 kB / 289.5 MB, free: 12.68 MB / 282.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.01095/0.07469, allocations: 4.275 MB / 293.8 MB, free: 8.348 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.07473, allocations: 11.98 kB / 293.8 MB, free: 8.336 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007085/0.08182, allocations: 1.228 MB / 295 MB, free: 7.105 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006453/0.08827, allocations: 2.262 MB / 297.3 MB, free: 4.797 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003207/0.08859, allocations: 238.5 kB / 297.5 MB, free: 4.562 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008881/0.08948, allocations: 316.3 kB / 297.8 MB, free: 4.254 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1174/0.2069, allocations: 4.374 MB / 302.2 MB, free: 53.63 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001374/0.207, allocations: 6.938 kB / 302.2 MB, free: 53.63 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007064/0.2077, allocations: 123.9 kB / 302.3 MB, free: 53.63 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001848/0.2079, allocations: 148.3 kB / 302.5 MB, free: 53.62 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007256/0.2152, allocations: 3.588 MB / 306 MB, free: 52.39 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0172/0.2324, allocations: 11.39 MB / 317.4 MB, free: 45.96 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004315/0.2367, allocations: 2.615 MB / 320 MB, free: 44.61 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001781/0.2385, allocations: 1.25 MB / 321.3 MB, free: 43.98 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004839/0.2433, allocations: 3.1 MB / 324.4 MB, free: 41.37 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.2433, allocations: 45.53 kB / 324.4 MB, free: 41.31 MB / 282.7 MB Notification: Performance of pre-optimization done (n=119): time 3.326e-06/0.2433, allocations: 0 / 324.4 MB, free: 41.31 MB / 282.7 MB Notification: Performance of matching and sorting (n=122): time 0.008805/0.2521, allocations: 4.809 MB / 329.3 MB, free: 36.61 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.2522, allocations: 68.39 kB / 329.3 MB, free: 36.53 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001682/0.2539, allocations: 1.509 MB / 330.8 MB, free: 35.03 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.257e-05/0.2539, allocations: 49.7 kB / 330.9 MB, free: 34.97 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000582/0.2545, allocations: 1.458 MB / 332.3 MB, free: 33.65 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/0.2547, allocations: 435.8 kB / 332.8 MB, free: 33.23 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003537/0.2551, allocations: 291.4 kB / 333 MB, free: 32.94 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.511e-05/0.2551, allocations: 305.1 kB / 333.3 MB, free: 32.64 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008929/0.256, allocations: 0.6403 MB / 334 MB, free: 32 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.257, allocations: 1.135 MB / 335.1 MB, free: 30.64 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002012/0.2591, allocations: 1.879 MB / 337 MB, free: 28.56 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.2591, allocations: 7.938 kB / 337 MB, free: 28.55 MB / 282.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003206/0.2623, allocations: 2.288 MB / 339.3 MB, free: 26.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/0.2623, allocations: 16.11 kB / 339.3 MB, free: 26.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.2623, allocations: 20 kB / 339.3 MB, free: 26.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008401/0.2632, allocations: 310.9 kB / 339.6 MB, free: 25.9 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.2644, allocations: 363.4 kB / 340 MB, free: 25.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004078/0.2685, allocations: 5.783 MB / 345.8 MB, free: 19.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.2698, allocations: 75.91 kB / 345.8 MB, free: 19.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.2699, allocations: 68 kB / 345.9 MB, free: 19.32 MB / 282.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.001466/0.2713, allocations: 0.9971 MB / 346.9 MB, free: 18.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003/0.2716, allocations: 206.9 kB / 347.1 MB, free: 18.11 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00313/0.2748, allocations: 1.938 MB / 349 MB, free: 16.16 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.2748, allocations: 15.94 kB / 349.1 MB, free: 16.14 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.2748, allocations: 20.05 kB / 349.1 MB, free: 16.12 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.2748, allocations: 7.984 kB / 349.1 MB, free: 16.11 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005613/0.2804, allocations: 3.952 MB / 353 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.2804, allocations: 0 / 353 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007293/0.2812, allocations: 179.6 kB / 353.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001395/0.2825, allocations: 0.5139 MB / 353.7 MB, free: 11.4 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.28e-05/0.2826, allocations: 39.98 kB / 353.8 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00754/0.2902, allocations: 10.32 MB / 364.1 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.2902, allocations: 3.938 kB / 364.1 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005485/0.2957, allocations: 2.841 MB / 366.9 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009319/0.2966, allocations: 326.8 kB / 367.3 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002099/0.2968, allocations: 28 kB / 367.3 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008735/0.2977, allocations: 64.06 kB / 367.3 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003053/0.298, allocations: 108.7 kB / 367.5 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.2981, allocations: 40 kB / 367.5 MB, free: 13.1 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001818/0.2999, allocations: 1.017 MB / 368.5 MB, free: 12.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2999, allocations: 4 kB / 368.5 MB, free: 12.08 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002234/0.3021, allocations: 0.539 MB / 369.1 MB, free: 11.54 MB / 298.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.0003661/0.3025, allocations: 150.9 kB / 369.2 MB, free: 11.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003833/0.3063, allocations: 1.94 MB / 371.1 MB, free: 9.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3063, allocations: 0 / 371.1 MB, free: 9.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002825/0.3092, allocations: 1.487 MB / 372.6 MB, free: 7.859 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/0.3112, allocations: 420.8 kB / 373 MB, free: 7.453 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.322, allocations: 5.474 MB / 378.5 MB, free: 1.906 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002566/0.3246, allocations: 1.719 MB / 380.2 MB, free: 156 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.001356/0.326, allocations: 362.2 kB / 380.6 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003344/0.3263, allocations: 116.4 kB / 380.7 MB, free: 15.68 MB / 314.7 MB Notification: Performance of SimCode: time 1.463e-06/0.3263, allocations: 1.312 kB / 380.7 MB, free: 15.68 MB / 314.7 MB Notification: Performance of Templates: time 0.04875/0.375, allocations: 24.87 MB / 405.6 MB, free: 6.812 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.490405363030732]