Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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.001387/0.001387, allocations: 103.6 kB / 21.18 MB, free: 332 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.001517/0.001517, allocations: 213 kB / 24.47 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.493/1.493, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.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.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 55.86 kB / 347.7 MB, free: 9.367 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2985, allocations: 49.15 MB / 396.9 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.009647/0.3082, allocations: 8.536 MB / 405.4 MB, free: 3.789 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007382/0.3156, allocations: 2.908 MB / 408.3 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001803/0.3174, allocations: 48.62 kB / 408.4 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001864/0.3192, allocations: 0.624 MB / 409 MB, free: 1.398 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002729/0.322, allocations: 0.7912 MB / 409.8 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009582/0.3229, allocations: 381.3 kB / 410.1 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003248/0.3262, allocations: 2.46 MB / 412.6 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001604/0.3278, allocations: 0.9827 MB / 413.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001999/0.3298, allocations: 1.101 MB / 414.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001938/0.3317, allocations: 1.25 MB / 415.9 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004335/0.3321, allocations: 279.2 kB / 416.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000784/0.3329, allocations: 360.8 kB / 416.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008843/0.3338, allocations: 0.7881 MB / 417.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00136/0.3352, allocations: 1.029 MB / 418.4 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004103/0.3393, allocations: 3.677 MB / 422.1 MB, free: 9.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3393, allocations: 0 / 422.1 MB, free: 9.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3393, allocations: 0 / 422.1 MB, free: 9.215 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.532e-05/0.3393, allocations: 1.438 kB / 422.1 MB, free: 9.215 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.005394/0.3447, allocations: 2.57 MB / 424.6 MB, free: 7.301 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.3448, allocations: 11.98 kB / 424.6 MB, free: 7.289 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008227/0.3456, allocations: 271.4 kB / 424.9 MB, free: 7.023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002401/0.348, allocations: 1.212 MB / 426.1 MB, free: 5.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.3481, allocations: 140.2 kB / 426.3 MB, free: 5.633 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003469/0.3485, allocations: 200.1 kB / 426.5 MB, free: 5.438 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004488/0.353, allocations: 2.515 MB / 429 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.783e-05/0.353, allocations: 4 kB / 429 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002034/0.3532, allocations: 79.98 kB / 429 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001064/0.3533, allocations: 91.69 kB / 429.1 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003432/0.3568, allocations: 1.959 MB / 431.1 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01158/0.3683, allocations: 6.774 MB / 437.9 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.37, allocations: 1.003 MB / 438.9 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001849/0.3718, allocations: 0.9085 MB / 439.8 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002142/0.3721, allocations: 44.97 kB / 439.8 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/0.3721, allocations: 51.44 kB / 439.9 MB, free: 7.695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=95): time 2.926e-06/0.3721, allocations: 0 / 439.9 MB, free: 7.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=111): time 0.01306/0.3852, allocations: 5.497 MB / 445.4 MB, free: 2.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.3852, allocations: 68.39 kB / 445.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001702/0.3869, allocations: 1.17 MB / 446.6 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.444e-05/0.387, allocations: 45.7 kB / 446.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008403/0.3879, allocations: 0.9452 MB / 447.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004043/0.3883, allocations: 412.5 kB / 448 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004085/0.3887, allocations: 251.5 kB / 448.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002165/0.3889, allocations: 361.7 kB / 448.6 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.3899, allocations: 0.6403 MB / 449.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/0.3913, allocations: 1 MB / 450.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002419/0.3937, allocations: 1.727 MB / 452 MB, free: 11.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.3937, allocations: 4 kB / 452 MB, free: 11.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003723/0.3974, allocations: 2.238 MB / 454.2 MB, free: 8.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.3974, allocations: 8 kB / 454.2 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.3975, allocations: 12 kB / 454.2 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001566/0.399, allocations: 496.2 kB / 454.7 MB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.4001, allocations: 303.5 kB / 455 MB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007899/0.408, allocations: 6.691 MB / 461.7 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.4091, allocations: 79.92 kB / 461.8 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.4092, allocations: 59.98 kB / 461.8 MB, free: 0.9766 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00107/0.4103, allocations: 0.5949 MB / 462.4 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000281/0.4105, allocations: 151.3 kB / 462.6 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003527/0.4141, allocations: 1.94 MB / 464.5 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.4141, allocations: 19.88 kB / 464.5 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/0.4141, allocations: 7.938 kB / 464.5 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/0.4141, allocations: 3.984 kB / 464.6 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00675/0.4208, allocations: 3.63 MB / 468.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.4209, allocations: 0 / 468.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008103/0.4217, allocations: 191.7 kB / 468.4 MB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001481/0.4231, allocations: 0.5349 MB / 468.9 MB, free: 9.781 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/0.4233, allocations: 28.05 kB / 468.9 MB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009087/0.4323, allocations: 8.21 MB / 477.1 MB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.4323, allocations: 7.938 kB / 477.2 MB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004646/0.437, allocations: 2.832 MB / 480 MB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007819/0.4378, allocations: 275 kB / 480.3 MB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002519/0.438, allocations: 27.94 kB / 480.3 MB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008284/0.4389, allocations: 67.92 kB / 480.3 MB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002234/0.4391, allocations: 88.77 kB / 480.4 MB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-05/0.4392, allocations: 35.98 kB / 480.5 MB, free: 13.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001231/0.4404, allocations: 0.7789 MB / 481.2 MB, free: 12.96 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4404, allocations: 0 / 481.2 MB, free: 12.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00166/0.442, allocations: 440 kB / 481.7 MB, free: 12.53 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * 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): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004355/0.4425, allocations: 179.2 kB / 481.9 MB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003944/0.4464, allocations: 2.007 MB / 483.9 MB, free: 10.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.4464, allocations: 0.75 kB / 483.9 MB, free: 10.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002392/0.4488, allocations: 1.387 MB / 485.2 MB, free: 8.855 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.4505, allocations: 348.5 kB / 485.6 MB, free: 8.512 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008212/0.4587, allocations: 4.178 MB / 489.8 MB, free: 4.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001764/0.4605, allocations: 1.068 MB / 490.8 MB, free: 3.156 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009114/0.4614, allocations: 307.8 kB / 491.1 MB, free: 2.852 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003092/0.4617, allocations: 91.42 kB / 491.2 MB, free: 2.762 MB / 398.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4617, allocations: 0 / 491.2 MB, free: 2.762 MB / 398.1 MB Notification: Performance of Templates: time 0.04488/0.5066, allocations: 25.19 MB / 0.5043 GB, free: 9.508 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Steinmetz/AIMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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.591739600524306]