Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.001817/0.001817, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 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.002062/0.002062, allocations: 219.5 kB / 24.48 MB, free: 3.836 MB / 14.72 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 1.437/1.437, allocations: 230.5 MB / 258.1 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 67.89 kB / 379 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2742, allocations: 53.41 MB / 432.4 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01245/0.2867, allocations: 8.626 MB / 441 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007928/0.2946, allocations: 2.921 MB / 444 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00174/0.2964, allocations: 67.56 kB / 444 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002351/0.2987, allocations: 0.6122 MB / 444.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003471/0.3022, allocations: 0.7999 MB / 445.4 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.3036, allocations: 383.5 kB / 445.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003802/0.3074, allocations: 2.444 MB / 448.3 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002103/0.3095, allocations: 0.9977 MB / 449.3 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002172/0.3117, allocations: 1.117 MB / 450.4 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002558/0.3142, allocations: 1.253 MB / 451.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000815/0.3151, allocations: 280 kB / 451.9 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.3163, allocations: 371.8 kB / 452.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001263/0.3175, allocations: 0.7908 MB / 453 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002182/0.3197, allocations: 1.031 MB / 454.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00485/0.3246, allocations: 3.694 MB / 457.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3246, allocations: 0 / 457.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3246, allocations: 0 / 457.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001161/0.3247, allocations: 0 / 457.8 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.006011/0.3307, allocations: 2.58 MB / 460.4 MB, free: 10.4 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.3307, allocations: 15.98 kB / 460.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008803/0.3316, allocations: 287.3 kB / 460.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002743/0.3344, allocations: 1.29 MB / 461.9 MB, free: 8.773 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.3345, allocations: 148.1 kB / 462.1 MB, free: 8.629 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003954/0.3349, allocations: 191.9 kB / 462.3 MB, free: 8.441 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004593/0.3395, allocations: 2.523 MB / 464.8 MB, free: 5.855 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-05/0.3396, allocations: 4 kB / 464.8 MB, free: 5.852 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000184/0.3397, allocations: 76 kB / 464.9 MB, free: 5.777 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/0.3399, allocations: 91.67 kB / 465 MB, free: 5.688 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003623/0.3435, allocations: 1.955 MB / 466.9 MB, free: 3.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01263/0.3561, allocations: 6.766 MB / 473.7 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.3577, allocations: 1.015 MB / 474.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001858/0.3596, allocations: 0.9094 MB / 475.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000209/0.3598, allocations: 44.95 kB / 475.7 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.3599, allocations: 47.56 kB / 475.7 MB, free: 10.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=95): time 3.096e-06/0.3599, allocations: 0 / 475.7 MB, free: 10.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=111): time 0.013/0.3729, allocations: 5.495 MB / 481.2 MB, free: 5.168 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.3729, allocations: 68.41 kB / 481.3 MB, free: 5.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/0.3747, allocations: 1.182 MB / 482.4 MB, free: 3.895 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.3748, allocations: 45.7 kB / 482.5 MB, free: 3.844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007303/0.3755, allocations: 0.9489 MB / 483.4 MB, free: 2.883 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003528/0.3759, allocations: 404.5 kB / 483.8 MB, free: 2.484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003919/0.3763, allocations: 251.5 kB / 484.1 MB, free: 2.234 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.3765, allocations: 357.9 kB / 484.4 MB, free: 1.879 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.3775, allocations: 0.6364 MB / 485.1 MB, free: 1.242 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/0.3788, allocations: 0.9964 MB / 486.1 MB, free: 100 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002476/0.3813, allocations: 1.739 MB / 487.8 MB, free: 14.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.3813, allocations: 4 kB / 487.8 MB, free: 14.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004001/0.3853, allocations: 2.23 MB / 490 MB, free: 11.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/0.3853, allocations: 12 kB / 490 MB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-05/0.3854, allocations: 16.3 kB / 490.1 MB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/0.3866, allocations: 487.9 kB / 490.5 MB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.3877, allocations: 303.5 kB / 490.8 MB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007452/0.3952, allocations: 6.702 MB / 497.5 MB, free: 4.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.3963, allocations: 84.06 kB / 497.6 MB, free: 4.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.3964, allocations: 55.98 kB / 497.7 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.001054/0.3975, allocations: 0.6108 MB / 498.3 MB, free: 3.375 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002682/0.3978, allocations: 143 kB / 498.4 MB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003477/0.4012, allocations: 1.944 MB / 0.4886 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.4013, allocations: 12 kB / 0.4887 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.4013, allocations: 7.938 kB / 0.4887 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/0.4013, allocations: 3.984 kB / 0.4887 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00704/0.4083, allocations: 3.63 MB / 0.4922 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.4083, allocations: 4 kB / 0.4922 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000824/0.4092, allocations: 183.8 kB / 0.4924 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001533/0.4107, allocations: 0.543 MB / 0.4929 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.056e-05/0.4108, allocations: 31.98 kB / 0.4929 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00905/0.4198, allocations: 8.194 MB / 0.5009 GB, free: 4.152 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.4198, allocations: 4 kB / 0.501 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004888/0.4247, allocations: 2.844 MB / 0.5037 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009755/0.4257, allocations: 271 kB / 0.504 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003425/0.426, allocations: 28 kB / 0.504 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008393/0.4269, allocations: 71.92 kB / 0.5041 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002535/0.4271, allocations: 92.8 kB / 0.5042 GB, free: 0.793 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-05/0.4272, allocations: 31.98 kB / 0.5042 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001258/0.4285, allocations: 0.7869 MB / 0.505 GB, free: 15.96 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4285, allocations: 0 / 0.505 GB, free: 15.96 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001686/0.4302, allocations: 436.4 kB / 0.5054 GB, free: 15.54 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.0004215/0.4306, allocations: 186.9 kB / 0.5056 GB, free: 15.35 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003732/0.4343, allocations: 2.014 MB / 0.5075 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.4343, allocations: 0 / 0.5075 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00244/0.4368, allocations: 1.377 MB / 0.5089 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.002047/0.4388, allocations: 365.8 kB / 0.5092 GB, free: 11.51 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008413/0.4472, allocations: 4.205 MB / 0.5133 GB, free: 7.242 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001645/0.4489, allocations: 1.065 MB / 0.5144 GB, free: 6.137 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000506/0.4494, allocations: 95.42 kB / 0.5145 GB, free: 6.043 MB / 430.1 MB Notification: Performance of SimCode: time 1.483e-06/0.4494, allocations: 0 / 0.5145 GB, free: 6.043 MB / 430.1 MB Notification: Performance of Templates: time 0.2954/0.7448, allocations: 70.89 MB / 0.5837 GB, free: 62.98 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.626457444857806]