Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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.001304/0.001304, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 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.001417/0.001417, allocations: 212.4 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.494/1.494, allocations: 230.6 MB / 258.2 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.InductionMachines.IMC_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_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 51.92 kB / 379 MB, free: 2.406 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2647, allocations: 53.35 MB / 432.3 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01194/0.2767, allocations: 8.637 MB / 441 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006909/0.2836, allocations: 2.917 MB / 443.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001763/0.2853, allocations: 59.62 kB / 444 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002063/0.2874, allocations: 0.6132 MB / 444.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003174/0.2906, allocations: 0.8037 MB / 445.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.2917, allocations: 391.4 kB / 445.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003677/0.2954, allocations: 2.44 MB / 448.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001621/0.297, allocations: 1.045 MB / 449.2 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002022/0.2991, allocations: 1.125 MB / 450.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002405/0.3015, allocations: 1.339 MB / 451.7 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004903/0.302, allocations: 280 kB / 452 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009367/0.3029, allocations: 379.8 kB / 452.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008921/0.3038, allocations: 0.7868 MB / 453.1 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001436/0.3052, allocations: 1.027 MB / 454.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004826/0.31, allocations: 3.694 MB / 457.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3101, allocations: 0 / 457.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3101, allocations: 0 / 457.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.933e-05/0.3102, allocations: 4 kB / 457.9 MB, free: 13.02 MB / 366.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.006005/0.3162, allocations: 2.583 MB / 460.4 MB, free: 10.4 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.3162, allocations: 12.03 kB / 460.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009486/0.3172, allocations: 287.3 kB / 460.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00296/0.3201, allocations: 1.294 MB / 462 MB, free: 8.773 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.3203, allocations: 140.2 kB / 462.2 MB, free: 8.637 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003825/0.3206, allocations: 199.9 kB / 462.4 MB, free: 8.441 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00448/0.3251, allocations: 2.515 MB / 464.9 MB, free: 5.863 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.301e-05/0.3252, allocations: 4 kB / 464.9 MB, free: 5.859 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001861/0.3254, allocations: 76 kB / 465 MB, free: 5.785 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001111/0.3255, allocations: 91.67 kB / 465 MB, free: 5.695 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003464/0.3289, allocations: 1.959 MB / 467 MB, free: 3.734 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01312/0.3421, allocations: 6.762 MB / 473.8 MB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/0.3437, allocations: 1.015 MB / 474.8 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001789/0.3455, allocations: 0.9093 MB / 475.7 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002191/0.3457, allocations: 40.97 kB / 475.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.643e-05/0.3458, allocations: 47.5 kB / 475.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=95): time 3.627e-06/0.3458, allocations: 0 / 475.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=111): time 0.01308/0.3589, allocations: 5.495 MB / 481.3 MB, free: 5.176 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.3589, allocations: 64.41 kB / 481.3 MB, free: 5.102 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001852/0.3608, allocations: 1.178 MB / 482.5 MB, free: 3.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001134/0.3609, allocations: 45.7 kB / 482.6 MB, free: 3.859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007479/0.3616, allocations: 0.9489 MB / 483.5 MB, free: 2.898 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003727/0.362, allocations: 404.5 kB / 483.9 MB, free: 2.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000412/0.3624, allocations: 255.5 kB / 484.2 MB, free: 2.246 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.3626, allocations: 357.9 kB / 484.5 MB, free: 1.891 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.3636, allocations: 0.6403 MB / 485.1 MB, free: 1.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/0.3649, allocations: 1.004 MB / 486.1 MB, free: 100 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002426/0.3673, allocations: 1.727 MB / 487.9 MB, free: 14.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.3673, allocations: 4 kB / 487.9 MB, free: 14.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004023/0.3714, allocations: 2.234 MB / 490.1 MB, free: 11.96 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.3714, allocations: 8 kB / 490.1 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.302e-05/0.3714, allocations: 12 kB / 490.1 MB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001278/0.3727, allocations: 492 kB / 490.6 MB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.3738, allocations: 311.4 kB / 490.9 MB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007605/0.3814, allocations: 6.694 MB / 497.6 MB, free: 4.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.3828, allocations: 100.2 kB / 497.7 MB, free: 4.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.3829, allocations: 52 kB / 497.8 MB, free: 3.996 MB / 398.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.001112/0.384, allocations: 0.6128 MB / 498.4 MB, free: 3.375 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003243/0.3843, allocations: 147 kB / 498.5 MB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003505/0.3878, allocations: 1.944 MB / 0.4887 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.3878, allocations: 12 kB / 0.4887 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.3878, allocations: 11.94 kB / 0.4888 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.3879, allocations: 3.984 kB / 0.4888 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007212/0.3951, allocations: 3.622 MB / 0.4923 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.3951, allocations: 0 / 0.4923 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008357/0.3959, allocations: 192 kB / 0.4925 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001548/0.3975, allocations: 0.5387 MB / 0.493 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.481e-05/0.3975, allocations: 27.98 kB / 0.493 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008832/0.4064, allocations: 8.197 MB / 0.501 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.4064, allocations: 3.938 kB / 0.501 GB, free: 4.152 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004765/0.4111, allocations: 2.844 MB / 0.5038 GB, free: 1.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000932/0.4121, allocations: 263.1 kB / 0.5041 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002131/0.4123, allocations: 31.92 kB / 0.5041 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007585/0.4131, allocations: 71.92 kB / 0.5042 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002514/0.4133, allocations: 92.77 kB / 0.5043 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.888e-05/0.4134, allocations: 35.98 kB / 0.5043 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001192/0.4146, allocations: 0.783 MB / 0.5051 GB, free: 15.97 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4146, allocations: 0 / 0.5051 GB, free: 15.97 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001587/0.4162, allocations: 432.4 kB / 0.5055 GB, free: 15.55 MB / 430.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.0003905/0.4166, allocations: 194.9 kB / 0.5057 GB, free: 15.35 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003515/0.4201, allocations: 2.011 MB / 0.5076 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.4201, allocations: 0 / 0.5076 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00233/0.4224, allocations: 1.38 MB / 0.509 GB, free: 11.86 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001953/0.4244, allocations: 360.5 kB / 0.5093 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007241/0.4316, allocations: 4.221 MB / 0.5134 GB, free: 7.238 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001273/0.4329, allocations: 1.064 MB / 0.5145 GB, free: 6.133 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004809/0.4333, allocations: 99.42 kB / 0.5146 GB, free: 6.035 MB / 430.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4334, allocations: 0 / 0.5146 GB, free: 6.035 MB / 430.1 MB Notification: Performance of Templates: time 0.2797/0.713, allocations: 70.86 MB / 0.5838 GB, free: 63.08 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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: 12.521225214994047]