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.00132/0.00132, allocations: 84.69 kB / 21.43 MB, free: 296 kB / 14.72 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.001385/0.001385, allocations: 164 kB / 24.7 MB, free: 3.547 MB / 14.72 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.357/1.357, allocations: 158.6 MB / 186.5 MB, free: 6.395 MB / 174.1 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.563e-06/1.563e-06, allocations: 0 / 299 MB, free: 8.699 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.799e-05/2.956e-05, allocations: 6.219 kB / 299 MB, free: 8.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.01549/0.01552, allocations: 11.2 MB / 310.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008961/0.02448, allocations: 4.065 MB / 314.2 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002095/0.02657, allocations: 87.44 kB / 314.3 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002931/0.02951, allocations: 0.9665 MB / 315.3 MB, free: 8.301 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004043/0.03355, allocations: 1.281 MB / 316.6 MB, free: 7.012 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.03583, allocations: 0.8649 MB / 317.4 MB, free: 6.145 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005467/0.0413, allocations: 4.061 MB / 321.5 MB, free: 2.066 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002561/0.04386, allocations: 1.686 MB / 323.2 MB, free: 316 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1653/0.2091, allocations: 2.743 MB / 325.9 MB, free: 16.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00276/0.2119, allocations: 1.747 MB / 327.7 MB, free: 16.31 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006507/0.2125, allocations: 0.4967 MB / 328.2 MB, free: 16.31 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.2138, allocations: 0.6884 MB / 328.9 MB, free: 16.31 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008988/0.2147, allocations: 1.13 MB / 330 MB, free: 16.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001608/0.2163, allocations: 1.401 MB / 331.4 MB, free: 16.31 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006879/0.2232, allocations: 6.66 MB / 338.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2232, allocations: 1.469 kB / 338.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2232, allocations: 0 / 338.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001178/0.2234, allocations: 0 / 338.1 MB, free: 15.04 MB / 302.1 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.01068/0.234, allocations: 4.283 MB / 342.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.2341, allocations: 14.11 kB / 342.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004151/0.2382, allocations: 0.8164 MB / 343.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003684/0.2419, allocations: 2.177 MB / 345.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001645/0.2421, allocations: 228.5 kB / 345.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004507/0.2425, allocations: 313.9 kB / 345.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006675/0.2492, allocations: 4.371 MB / 350.2 MB, free: 7.418 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.817e-05/0.2493, allocations: 15.62 kB / 350.3 MB, free: 7.406 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002994/0.2496, allocations: 126.5 kB / 350.4 MB, free: 7.309 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001507/0.2497, allocations: 150.4 kB / 350.5 MB, free: 7.285 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005257/0.255, allocations: 3.595 MB / 354.1 MB, free: 5.363 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01774/0.2727, allocations: 11.16 MB / 365.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005518/0.2782, allocations: 2.603 MB / 367.9 MB, free: 7.785 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002186/0.2804, allocations: 1.24 MB / 369.1 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006122/0.2865, allocations: 3.085 MB / 372.2 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.2866, allocations: 47.55 kB / 372.3 MB, free: 3.434 MB / 318.1 MB Notification: Performance of pre-optimization done (n=119): time 2.785e-06/0.2866, allocations: 0 / 372.3 MB, free: 3.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.01085/0.2974, allocations: 4.766 MB / 377 MB, free: 14.65 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.2975, allocations: 64.41 kB / 377.1 MB, free: 14.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002631/0.3001, allocations: 1.509 MB / 378.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.606e-05/0.3002, allocations: 49.64 kB / 378.6 MB, free: 13 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001211/0.3014, allocations: 1.458 MB / 380.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004123/0.3018, allocations: 437.4 kB / 380.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004902/0.3023, allocations: 295.4 kB / 380.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3025, allocations: 301.1 kB / 381.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.3037, allocations: 0.6403 MB / 381.8 MB, free: 9.879 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001605/0.3053, allocations: 1.142 MB / 382.9 MB, free: 8.527 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002896/0.3082, allocations: 1.867 MB / 384.8 MB, free: 6.516 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/0.3082, allocations: 4 kB / 384.8 MB, free: 6.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004227/0.3124, allocations: 2.222 MB / 387 MB, free: 4.363 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.3124, allocations: 12.28 kB / 387 MB, free: 4.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.742e-05/0.3125, allocations: 16 kB / 387 MB, free: 4.336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008633/0.3133, allocations: 267 kB / 387.3 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.3147, allocations: 357.9 kB / 387.6 MB, free: 3.738 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006284/0.321, allocations: 5.774 MB / 393.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.3225, allocations: 80.78 kB / 393.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001817/0.3227, allocations: 67.98 kB / 393.5 MB, free: 13.56 MB / 350.1 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.002369/0.3251, allocations: 1.001 MB / 394.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006322/0.3257, allocations: 171 kB / 394.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004571/0.3303, allocations: 1.933 MB / 396.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.3303, allocations: 12 kB / 396.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.726e-05/0.3303, allocations: 8 kB / 396.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/0.3303, allocations: 7.984 kB / 396.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008773/0.3391, allocations: 3.955 MB / 400.6 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.3391, allocations: 4.125 kB / 400.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008229/0.3399, allocations: 175.9 kB / 400.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001315/0.3412, allocations: 447.5 kB / 401.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/0.3413, allocations: 35.98 kB / 401.3 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01163/0.353, allocations: 10.26 MB / 411.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.353, allocations: 4.031 kB / 411.5 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005411/0.3584, allocations: 2.823 MB / 414.4 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/0.3594, allocations: 314.8 kB / 414.7 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004423/0.3599, allocations: 35.98 kB / 414.7 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.361, allocations: 59.95 kB / 414.8 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002799/0.3612, allocations: 106.8 kB / 414.9 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.621e-05/0.3613, allocations: 39.98 kB / 414.9 MB, free: 7.707 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00197/0.3633, allocations: 1.013 MB / 415.9 MB, free: 6.695 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3633, allocations: 4 kB / 415.9 MB, free: 6.691 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00247/0.3658, allocations: 0.539 MB / 416.5 MB, free: 6.152 MB / 366.1 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.0003746/0.3661, allocations: 158 kB / 416.6 MB, free: 6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003576/0.3697, allocations: 1.937 MB / 418.6 MB, free: 4.082 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.3697, allocations: 0 / 418.6 MB, free: 4.082 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002415/0.3721, allocations: 1.471 MB / 420 MB, free: 2.562 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002117/0.3743, allocations: 416.3 kB / 420.4 MB, free: 2.156 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/0.3852, allocations: 5.373 MB / 425.8 MB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002788/0.3879, allocations: 1.727 MB / 427.5 MB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001272/0.3892, allocations: 362.1 kB / 427.9 MB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004215/0.3896, allocations: 116.4 kB / 428 MB, free: 10.51 MB / 382.1 MB Notification: Performance of SimCode: time 1.813e-06/0.3896, allocations: 0 / 428 MB, free: 10.51 MB / 382.1 MB Notification: Performance of Templates: time 0.05071/0.4404, allocations: 24.76 MB / 452.8 MB, free: 1.77 MB / 398.1 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.340377576649189]