Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00083/0.00083, allocations: 84.34 kB / 21.44 MB, free: 3.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003721/0.003721, allocations: 153.3 kB / 24.69 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8711/0.8711, allocations: 177 MB / 204.9 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 0 / 325.8 MB, free: 15.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.601e-05/3.874e-05, allocations: 7.062 kB / 325.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01029/0.01033, allocations: 11.8 MB / 337.6 MB, free: 3.375 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007119/0.01745, allocations: 4.275 MB / 341.9 MB, free: 15.08 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/0.01879, allocations: 95.44 kB / 342 MB, free: 14.99 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001879/0.02067, allocations: 0.9821 MB / 342.9 MB, free: 14 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002409/0.02308, allocations: 1.327 MB / 344.3 MB, free: 12.66 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.02431, allocations: 0.8758 MB / 345.2 MB, free: 11.79 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00295/0.02726, allocations: 4.131 MB / 349.3 MB, free: 7.637 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001486/0.02875, allocations: 1.714 MB / 351 MB, free: 5.855 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002145/0.03089, allocations: 2.772 MB / 353.8 MB, free: 3.078 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.03235, allocations: 1.761 MB / 355.5 MB, free: 1.312 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003457/0.03269, allocations: 0.4961 MB / 356 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.03374, allocations: 0.7066 MB / 356.7 MB, free: 112 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006174/0.03435, allocations: 1.137 MB / 357.9 MB, free: 14.97 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009462/0.0353, allocations: 1.407 MB / 359.3 MB, free: 13.56 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004663/0.03996, allocations: 6.704 MB / 366 MB, free: 6.836 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.03997, allocations: 0 / 366 MB, free: 6.836 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.03997, allocations: 0 / 366 MB, free: 6.836 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.077e-05/0.04001, allocations: 4 kB / 366 MB, free: 6.832 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.006249/0.04626, allocations: 4.302 MB / 370.3 MB, free: 2.473 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.04631, allocations: 15.98 kB / 370.3 MB, free: 2.457 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002516/0.04883, allocations: 0.8066 MB / 371.1 MB, free: 1.648 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002653/0.05148, allocations: 2.328 MB / 373.4 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.0516, allocations: 242.5 kB / 373.7 MB, free: 15.03 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003162/0.05192, allocations: 312.3 kB / 374 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005212/0.05713, allocations: 4.385 MB / 378.4 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.156e-05/0.05718, allocations: 12 kB / 378.4 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002023/0.05738, allocations: 120 kB / 378.5 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001032/0.05749, allocations: 150.3 kB / 378.6 MB, free: 9.973 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003989/0.06148, allocations: 3.605 MB / 382.2 MB, free: 6.359 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01237/0.07385, allocations: 11.19 MB / 393.4 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003167/0.07702, allocations: 2.648 MB / 396.1 MB, free: 8.355 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001723/0.07874, allocations: 1.508 MB / 397.6 MB, free: 6.848 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004184/0.08292, allocations: 3.349 MB / 400.9 MB, free: 3.465 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.08295, allocations: 47.5 kB / 401 MB, free: 3.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=120): time 2.394e-06/0.08296, allocations: 0 / 401 MB, free: 3.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=123): time 0.006562/0.08952, allocations: 4.967 MB / 406 MB, free: 14.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.08956, allocations: 64.41 kB / 406 MB, free: 14.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001738/0.0913, allocations: 1.529 MB / 407.5 MB, free: 12.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.61e-05/0.09136, allocations: 49.7 kB / 407.6 MB, free: 12.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006382/0.092, allocations: 1.461 MB / 409.1 MB, free: 11.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/0.09221, allocations: 444.2 kB / 409.5 MB, free: 10.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002757/0.09249, allocations: 283.5 kB / 409.8 MB, free: 10.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.062e-05/0.09256, allocations: 305.1 kB / 410.1 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006931/0.09325, allocations: 0.6559 MB / 410.7 MB, free: 9.578 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009048/0.09416, allocations: 1.15 MB / 411.9 MB, free: 8.223 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001823/0.09598, allocations: 1.898 MB / 413.8 MB, free: 6.121 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.09599, allocations: 4 kB / 413.8 MB, free: 6.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002325/0.09831, allocations: 2.316 MB / 416.1 MB, free: 3.781 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.09833, allocations: 12 kB / 416.1 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.09835, allocations: 16 kB / 416.1 MB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004544/0.0988, allocations: 319.2 kB / 416.4 MB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006566/0.09946, allocations: 351.4 kB / 416.8 MB, free: 3.086 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003862/0.1033, allocations: 6.177 MB / 422.9 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005663/0.1039, allocations: 83.84 kB / 423 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.7e-05/0.104, allocations: 67.98 kB / 423.1 MB, free: 12.45 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (177): * Single equations (assignments): 173 * 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,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001267/0.1052, allocations: 1.001 MB / 424.1 MB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.1054, allocations: 174.9 kB / 424.3 MB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002236/0.1076, allocations: 2.022 MB / 426.3 MB, free: 9.211 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.1076, allocations: 12 kB / 426.3 MB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1076, allocations: 8 kB / 426.3 MB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.557e-06/0.1076, allocations: 7.969 kB / 426.3 MB, free: 9.184 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004555/0.1122, allocations: 4.089 MB / 430.4 MB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.1122, allocations: 3.938 kB / 430.4 MB, free: 5.016 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003693/0.1126, allocations: 163.8 kB / 430.6 MB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006886/0.1133, allocations: 500 kB / 431.1 MB, free: 4.352 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.657e-05/0.1133, allocations: 35.98 kB / 431.1 MB, free: 4.316 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006526/0.1198, allocations: 10.7 MB / 441.8 MB, free: 9.109 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.1198, allocations: 4.031 kB / 441.8 MB, free: 9.105 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003123/0.123, allocations: 2.915 MB / 444.7 MB, free: 6.137 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004901/0.1235, allocations: 322.7 kB / 445 MB, free: 5.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.1236, allocations: 36.36 kB / 445.1 MB, free: 5.785 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004068/0.124, allocations: 63.95 kB / 445.1 MB, free: 5.723 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001849/0.1242, allocations: 104.7 kB / 445.2 MB, free: 5.621 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.855e-05/0.1242, allocations: 39.98 kB / 445.3 MB, free: 5.582 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001041/0.1253, allocations: 1.029 MB / 446.3 MB, free: 4.555 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1253, allocations: 0 / 446.3 MB, free: 4.555 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001408/0.1267, allocations: 0.5429 MB / 446.8 MB, free: 4.012 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (83): * Single equations (assignments): 78 * 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,8,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.0002716/0.1269, allocations: 174.8 kB / 447 MB, free: 3.832 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002126/0.1291, allocations: 1.986 MB / 449 MB, free: 1.809 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1291, allocations: 0 / 449 MB, free: 1.809 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001404/0.1305, allocations: 1.499 MB / 450.5 MB, free: 248 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1507/0.2811, allocations: 417.8 kB / 450.9 MB, free: 114.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006434/0.2875, allocations: 5.354 MB / 456.3 MB, free: 113 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/0.2887, allocations: 1.686 MB / 457.9 MB, free: 112.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002558/0.2889, allocations: 129 kB / 458.1 MB, free: 112.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.262e-06/0.2889, allocations: 3.875 kB / 458.1 MB, free: 112.7 MB / 410.7 MB Notification: Performance of Templates: time 0.05377/0.3427, allocations: 109.8 MB / 0.5546 GB, free: 5.91 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.526427541859448]