Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 103.3 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002155/0.002155, allocations: 197 kB / 22.76 MB, free: 5.48 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 251.4 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 51.92 kB / 369.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2626, allocations: 52.14 MB / 421.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01278/0.2754, allocations: 9.73 MB / 431 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007011/0.2824, allocations: 3.038 MB / 434.1 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001933/0.2843, allocations: 47.81 kB / 434.1 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002635/0.2869, allocations: 0.6635 MB / 434.8 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00356/0.2905, allocations: 0.7804 MB / 435.6 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.2917, allocations: 379.4 kB / 435.9 MB, free: 488 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003782/0.2955, allocations: 2.425 MB / 438.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00186/0.2974, allocations: 1.275 MB / 439.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001877/0.2992, allocations: 1.075 MB / 440.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002282/0.3015, allocations: 1.347 MB / 442.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005754/0.3021, allocations: 280 kB / 442.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008754/0.303, allocations: 371.8 kB / 442.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008774/0.3038, allocations: 0.7868 MB / 443.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001576/0.3054, allocations: 1.268 MB / 444.8 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004484/0.3099, allocations: 3.651 MB / 448.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.3099, allocations: 4 kB / 448.4 MB, free: 3.922 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3099, allocations: 0 / 448.4 MB, free: 3.922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.401e-05/0.31, allocations: 0 / 448.4 MB, free: 3.922 MB / 350.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.005841/0.3158, allocations: 2.647 MB / 451.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.3159, allocations: 8.031 kB / 451.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007408/0.3166, allocations: 271.4 kB / 451.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002669/0.3193, allocations: 1.362 MB / 452.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.3194, allocations: 148.1 kB / 452.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003112/0.3197, allocations: 196.1 kB / 453 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004291/0.324, allocations: 2.419 MB / 455.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.39e-05/0.3241, allocations: 7.953 kB / 455.5 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001796/0.3243, allocations: 79.98 kB / 455.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001074/0.3244, allocations: 95.67 kB / 455.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003584/0.328, allocations: 1.955 MB / 457.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01329/0.3413, allocations: 7.783 MB / 465.4 MB, free: 2.566 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/0.3431, allocations: 1.164 MB / 466.5 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001859/0.345, allocations: 0.9059 MB / 467.4 MB, free: 460 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002445/0.3452, allocations: 118.1 kB / 467.5 MB, free: 320 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.583e-05/0.3453, allocations: 51.5 kB / 467.6 MB, free: 260 kB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 3.086e-06/0.3453, allocations: 0 / 467.6 MB, free: 260 kB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.01324/0.3585, allocations: 5.899 MB / 473.5 MB, free: 10.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.3586, allocations: 64.41 kB / 473.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002069/0.3606, allocations: 1.298 MB / 474.9 MB, free: 8.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.792e-05/0.3607, allocations: 45.7 kB / 474.9 MB, free: 8.789 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008155/0.3615, allocations: 0.9457 MB / 475.9 MB, free: 7.832 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003863/0.3619, allocations: 408.5 kB / 476.2 MB, free: 7.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004313/0.3624, allocations: 255.4 kB / 476.5 MB, free: 7.176 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.3626, allocations: 353.9 kB / 476.8 MB, free: 6.824 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.3636, allocations: 0.6364 MB / 477.5 MB, free: 6.188 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/0.365, allocations: 1.012 MB / 478.5 MB, free: 5.027 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002516/0.3675, allocations: 1.735 MB / 480.2 MB, free: 3.141 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.3675, allocations: 0 / 480.2 MB, free: 3.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004124/0.3716, allocations: 2.246 MB / 482.5 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.3716, allocations: 12 kB / 482.5 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/0.3717, allocations: 8.312 kB / 482.5 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/0.3729, allocations: 495.9 kB / 483 MB, free: 360 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.374, allocations: 303.5 kB / 483.3 MB, free: 56 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007986/0.382, allocations: 7.128 MB / 490.4 MB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.3834, allocations: 79.98 kB / 490.5 MB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/0.3835, allocations: 59.98 kB / 490.5 MB, free: 8.375 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.001142/0.3847, allocations: 0.6032 MB / 491.1 MB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003198/0.385, allocations: 155 kB / 491.3 MB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003617/0.3886, allocations: 1.953 MB / 493.2 MB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.3886, allocations: 12 kB / 493.3 MB, free: 5.613 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.3886, allocations: 7.938 kB / 493.3 MB, free: 5.605 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.3886, allocations: 3.984 kB / 493.3 MB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007469/0.3961, allocations: 4.109 MB / 497.4 MB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.3961, allocations: 4.281 kB / 497.4 MB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008363/0.397, allocations: 187.8 kB / 497.6 MB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001532/0.3985, allocations: 0.5388 MB / 498.1 MB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.683e-05/0.3986, allocations: 35.92 kB / 498.1 MB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00935/0.4079, allocations: 8.749 MB / 0.495 GB, free: 7.316 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/0.4079, allocations: 7.875 kB / 0.495 GB, free: 7.309 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00495/0.4129, allocations: 2.844 MB / 0.4978 GB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009551/0.4138, allocations: 360 kB / 0.4981 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001918/0.414, allocations: 32.05 kB / 0.4982 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007622/0.4148, allocations: 71.92 kB / 0.4982 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002432/0.415, allocations: 88.86 kB / 0.4983 GB, free: 3.848 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.49e-05/0.4151, allocations: 35.98 kB / 0.4984 GB, free: 3.812 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001365/0.4165, allocations: 0.8878 MB / 0.4992 GB, free: 2.922 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4165, allocations: 0 / 0.4992 GB, free: 2.922 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001701/0.4182, allocations: 435.9 kB / 0.4996 GB, free: 2.496 MB / 414.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.0004696/0.4186, allocations: 198.9 kB / 0.4998 GB, free: 2.289 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003923/0.4226, allocations: 2.157 MB / 0.5019 GB, free: 52 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.4226, allocations: 0 / 0.5019 GB, free: 52 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002367/0.4249, allocations: 1.453 MB / 0.5034 GB, free: 14.53 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.4269, allocations: 419.8 kB / 0.5038 GB, free: 14.12 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007922/0.4348, allocations: 4.234 MB / 0.5079 GB, free: 9.824 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001535/0.4363, allocations: 1.634 MB / 0.5095 GB, free: 8.156 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005414/0.4369, allocations: 111.4 kB / 0.5096 GB, free: 8.047 MB / 430.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4369, allocations: 0 / 0.5096 GB, free: 8.047 MB / 430.1 MB Notification: Performance of Templates: time 0.2846/0.7215, allocations: 71.02 MB / 0.579 GB, free: 71.68 MB / 446.1 MB [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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