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.001302/0.001302, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.001306/0.001306, allocations: 167 kB / 25.45 MB, free: 9.348 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.911/0.911, allocations: 158.6 MB / 187.2 MB, free: 3.031 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.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.814e-06/1.814e-06, allocations: 0 / 299.7 MB, free: 6.887 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/2.913e-05, allocations: 2.281 kB / 299.7 MB, free: 6.883 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.008796/0.008825, allocations: 11.2 MB / 310.9 MB, free: 11.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00674/0.01556, allocations: 4.062 MB / 315 MB, free: 7.555 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001941/0.01751, allocations: 83.44 kB / 315.1 MB, free: 7.473 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002415/0.01992, allocations: 0.9704 MB / 316 MB, free: 6.496 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003483/0.0234, allocations: 1.281 MB / 317.3 MB, free: 5.207 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.02508, allocations: 0.8688 MB / 318.2 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004068/0.02915, allocations: 4.065 MB / 322.2 MB, free: 264 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002187/0.03133, allocations: 1.69 MB / 323.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004027/0.03536, allocations: 2.745 MB / 326.7 MB, free: 11.75 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002786/0.03815, allocations: 1.75 MB / 328.4 MB, free: 9.992 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001049/0.03919, allocations: 0.4961 MB / 328.9 MB, free: 9.496 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001641/0.04083, allocations: 0.6909 MB / 329.6 MB, free: 8.805 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009531/0.04179, allocations: 1.126 MB / 330.7 MB, free: 7.676 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002378/0.04417, allocations: 1.403 MB / 332.1 MB, free: 6.27 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006338/0.0505, allocations: 6.653 MB / 338.8 MB, free: 15.6 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.05051, allocations: 3.984 kB / 338.8 MB, free: 15.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.05051, allocations: 4 kB / 338.8 MB, free: 15.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000169/0.05068, allocations: 4 kB / 338.8 MB, free: 15.59 MB / 330.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.008103/0.05878, allocations: 4.275 MB / 343.1 MB, free: 11.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.05884, allocations: 11.98 kB / 343.1 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00225/0.06109, allocations: 0.8261 MB / 343.9 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002911/0.064, allocations: 2.164 MB / 346.1 MB, free: 8.195 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.06412, allocations: 234.6 kB / 346.3 MB, free: 7.965 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000344/0.06446, allocations: 320.3 kB / 346.6 MB, free: 7.652 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00575/0.07022, allocations: 4.373 MB / 351 MB, free: 3.191 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.892e-05/0.07027, allocations: 4 kB / 351 MB, free: 3.188 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002136/0.07049, allocations: 128 kB / 351.1 MB, free: 3.062 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/0.0706, allocations: 150.3 kB / 351.3 MB, free: 2.914 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1458/0.2165, allocations: 3.584 MB / 354.9 MB, free: 56.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01558/0.232, allocations: 11.17 MB / 366 MB, free: 50.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00313/0.2352, allocations: 2.598 MB / 368.6 MB, free: 49.76 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001347/0.2365, allocations: 1.227 MB / 369.9 MB, free: 49.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003775/0.2403, allocations: 3.092 MB / 373 MB, free: 47.15 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.2403, allocations: 48.69 kB / 373 MB, free: 47.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=119): time 2.925e-06/0.2403, allocations: 0 / 373 MB, free: 47.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=122): time 0.00562/0.2459, allocations: 4.768 MB / 377.8 MB, free: 44.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.246, allocations: 64.41 kB / 377.8 MB, free: 44.35 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.2472, allocations: 1.511 MB / 379.3 MB, free: 42.85 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.075e-05/0.2472, allocations: 45.7 kB / 379.4 MB, free: 42.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003849/0.2476, allocations: 1.454 MB / 380.8 MB, free: 41.44 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.2478, allocations: 447.9 kB / 381.3 MB, free: 41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.248, allocations: 279.5 kB / 381.5 MB, free: 40.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.178e-05/0.248, allocations: 302.9 kB / 381.8 MB, free: 40.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005588/0.2486, allocations: 0.6442 MB / 382.5 MB, free: 39.79 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007085/0.2493, allocations: 1.143 MB / 383.6 MB, free: 38.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.2506, allocations: 1.871 MB / 385.5 MB, free: 36.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/0.2506, allocations: 4 kB / 385.5 MB, free: 36.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002095/0.2527, allocations: 2.233 MB / 387.7 MB, free: 34.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.2528, allocations: 12 kB / 387.8 MB, free: 34.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.2528, allocations: 16 kB / 387.8 MB, free: 34.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004142/0.2532, allocations: 263.5 kB / 388 MB, free: 33.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006473/0.2538, allocations: 359.4 kB / 388.4 MB, free: 33.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002592/0.2564, allocations: 5.774 MB / 394.2 MB, free: 27.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008578/0.2573, allocations: 67.92 kB / 394.2 MB, free: 27.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.589e-05/0.2574, allocations: 71.98 kB / 394.3 MB, free: 27.24 MB / 330.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.001297/0.2587, allocations: 1.001 MB / 395.3 MB, free: 26.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002096/0.2589, allocations: 170.9 kB / 395.5 MB, free: 26.06 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001902/0.2608, allocations: 1.935 MB / 397.4 MB, free: 24.1 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.2608, allocations: 12 kB / 397.4 MB, free: 24.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2608, allocations: 11.94 kB / 397.4 MB, free: 24.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.2608, allocations: 7.969 kB / 397.4 MB, free: 24.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004092/0.2649, allocations: 3.963 MB / 401.4 MB, free: 20.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.2649, allocations: 0 / 401.4 MB, free: 20.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003981/0.2653, allocations: 171.8 kB / 401.6 MB, free: 19.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006298/0.2659, allocations: 444.2 kB / 402 MB, free: 19.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.797e-05/0.266, allocations: 35.98 kB / 402 MB, free: 19.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005462/0.2714, allocations: 10.27 MB / 412.3 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.2714, allocations: 4 kB / 412.3 MB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002897/0.2743, allocations: 2.818 MB / 415.1 MB, free: 5.762 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000594/0.2749, allocations: 318.8 kB / 415.4 MB, free: 5.449 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.275, allocations: 32 kB / 415.5 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004132/0.2754, allocations: 63.94 kB / 415.5 MB, free: 5.355 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002264/0.2757, allocations: 104.8 kB / 415.6 MB, free: 5.254 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-05/0.2757, allocations: 35.98 kB / 415.7 MB, free: 5.219 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001059/0.2768, allocations: 1.021 MB / 416.7 MB, free: 4.199 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2768, allocations: 3.031 kB / 416.7 MB, free: 4.199 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001671/0.2784, allocations: 0.539 MB / 417.2 MB, free: 3.66 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.0002829/0.2787, allocations: 164.2 kB / 417.4 MB, free: 3.496 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001932/0.2807, allocations: 1.932 MB / 419.3 MB, free: 1.527 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.2807, allocations: 0 / 419.3 MB, free: 1.527 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.2818, allocations: 1.479 MB / 420.8 MB, free: 15.98 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.2831, allocations: 401.2 kB / 421.2 MB, free: 15.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007272/0.2904, allocations: 5.353 MB / 426.5 MB, free: 10.18 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0014/0.2918, allocations: 1.674 MB / 428.2 MB, free: 8.473 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004892/0.2923, allocations: 124.5 kB / 428.3 MB, free: 8.352 MB / 346.7 MB Notification: Performance of SimCode: time 1.634e-06/0.2923, allocations: 0 / 428.3 MB, free: 8.352 MB / 346.7 MB Notification: Performance of Templates: time 0.2344/0.5267, allocations: 108.8 MB / 0.5246 GB, free: 136.2 MB / 426.7 MB " [Timeout remaining time 659] 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: 8.172526019625366]