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.001676/0.001676, allocations: 114 kB / 18.46 MB, free: 4.621 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.001457/0.001457, allocations: 208.3 kB / 21.41 MB, free: 1.668 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.469/1.469, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.001807/0.001807, allocations: 43.94 kB / 374.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1191, allocations: 53.33 MB / 427.5 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01243/0.1315, allocations: 9.78 MB / 437.3 MB, free: 10.47 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007253/0.1388, allocations: 3.108 MB / 440.4 MB, free: 7.352 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002032/0.1408, allocations: 63.62 kB / 440.5 MB, free: 7.289 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002119/0.1429, allocations: 0.6677 MB / 441.1 MB, free: 6.617 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003037/0.146, allocations: 0.7765 MB / 441.9 MB, free: 5.836 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.1472, allocations: 387.4 kB / 442.3 MB, free: 5.457 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004216/0.1514, allocations: 2.44 MB / 444.7 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002074/0.1535, allocations: 1.275 MB / 446 MB, free: 1.684 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002461/0.1559, allocations: 1.117 MB / 447.1 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2232/0.3792, allocations: 1.338 MB / 448.4 MB, free: 11.31 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008314/0.38, allocations: 280.2 kB / 448.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.381, allocations: 381.3 kB / 449.1 MB, free: 11.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007177/0.3817, allocations: 0.7839 MB / 449.9 MB, free: 11.31 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001431/0.3832, allocations: 1.27 MB / 451.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005267/0.3884, allocations: 3.675 MB / 454.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.3884, allocations: 1.156 kB / 454.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3884, allocations: 0 / 454.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001416/0.3886, allocations: 0 / 454.8 MB, free: 10.71 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.007111/0.3957, allocations: 2.657 MB / 457.5 MB, free: 9.531 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.3957, allocations: 10.73 kB / 457.5 MB, free: 9.531 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.3968, allocations: 288.1 kB / 457.8 MB, free: 9.398 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002808/0.3996, allocations: 1.364 MB / 459.1 MB, free: 8.965 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.3997, allocations: 142.1 kB / 459.3 MB, free: 8.961 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003608/0.4001, allocations: 195.3 kB / 459.5 MB, free: 8.926 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004805/0.4049, allocations: 2.423 MB / 461.9 MB, free: 7.945 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.846e-05/0.4049, allocations: 7.609 kB / 461.9 MB, free: 7.941 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001865/0.4051, allocations: 79.84 kB / 462 MB, free: 7.879 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001215/0.4053, allocations: 89.61 kB / 462.1 MB, free: 7.871 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003522/0.4088, allocations: 1.962 MB / 464 MB, free: 7.176 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01275/0.4215, allocations: 7.78 MB / 471.8 MB, free: 2.922 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/0.4232, allocations: 1.162 MB / 473 MB, free: 2.219 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001708/0.4249, allocations: 0.9111 MB / 473.9 MB, free: 1.797 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002285/0.4251, allocations: 115.8 kB / 474 MB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.4252, allocations: 48.16 kB / 474 MB, free: 1.645 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.905e-06/0.4252, allocations: 0 / 474 MB, free: 1.645 MB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.01486/0.44, allocations: 5.881 MB / 479.9 MB, free: 14.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.4401, allocations: 62.78 kB / 480 MB, free: 14.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002986/0.4431, allocations: 1.317 MB / 481.3 MB, free: 13.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001906/0.4433, allocations: 44.2 kB / 481.3 MB, free: 13.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008842/0.4442, allocations: 0.9439 MB / 482.3 MB, free: 12.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004865/0.4446, allocations: 417.9 kB / 482.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000481/0.4451, allocations: 247.6 kB / 482.9 MB, free: 12.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.4453, allocations: 364.6 kB / 483.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/0.4465, allocations: 0.6369 MB / 483.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/0.4479, allocations: 0.9985 MB / 484.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002656/0.4506, allocations: 1.735 MB / 486.7 MB, free: 9.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.838e-05/0.4506, allocations: 5.125 kB / 486.7 MB, free: 9.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00415/0.4547, allocations: 2.241 MB / 488.9 MB, free: 8.492 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.4548, allocations: 11.66 kB / 488.9 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.604e-05/0.4548, allocations: 15.86 kB / 488.9 MB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.456, allocations: 495.1 kB / 489.4 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.4571, allocations: 304.9 kB / 489.7 MB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007926/0.4651, allocations: 7.126 MB / 496.8 MB, free: 1.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/0.4668, allocations: 87.91 kB / 496.9 MB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002559/0.467, allocations: 52 kB / 497 MB, free: 1.629 MB / 382.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.001575/0.4686, allocations: 0.6111 MB / 497.6 MB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005382/0.4691, allocations: 155 kB / 497.7 MB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004112/0.4733, allocations: 1.958 MB / 499.7 MB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.4733, allocations: 13.41 kB / 499.7 MB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/0.4733, allocations: 8 kB / 499.7 MB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.607e-05/0.4733, allocations: 3.984 kB / 499.7 MB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009189/0.4825, allocations: 4.11 MB / 0.492 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/0.4825, allocations: 7 kB / 0.492 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008801/0.4834, allocations: 182.8 kB / 0.4922 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001668/0.4851, allocations: 0.5396 MB / 0.4927 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001322/0.4852, allocations: 31.98 kB / 0.4928 GB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009844/0.495, allocations: 8.767 MB / 0.5013 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.495, allocations: 4 kB / 0.5013 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005503/0.5005, allocations: 2.854 MB / 0.5041 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001196/0.5017, allocations: 368 kB / 0.5045 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005908/0.5023, allocations: 27.98 kB / 0.5045 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/0.5036, allocations: 67.92 kB / 0.5046 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000291/0.5038, allocations: 87.36 kB / 0.5046 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.521e-05/0.5039, allocations: 31.98 kB / 0.5047 GB, free: 13.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002069/0.506, allocations: 0.8958 MB / 0.5055 GB, free: 12.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.506, allocations: 0 / 0.5055 GB, free: 12.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003005/0.509, allocations: 443.9 kB / 0.506 GB, free: 11.9 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.0005846/0.5096, allocations: 188 kB / 0.5061 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004181/0.5138, allocations: 2.151 MB / 0.5082 GB, free: 9.527 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/0.5138, allocations: 6.938 kB / 0.5083 GB, free: 9.523 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002601/0.5164, allocations: 1.459 MB / 0.5097 GB, free: 8.012 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00322/0.5196, allocations: 415.1 kB / 0.5101 GB, free: 7.633 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009453/0.5291, allocations: 4.221 MB / 0.5142 GB, free: 3.371 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002091/0.5312, allocations: 1.638 MB / 0.5158 GB, free: 1.699 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006634/0.5318, allocations: 110 kB / 0.5159 GB, free: 1.594 MB / 414.1 MB Notification: Performance of SimCode: time 2.164e-06/0.5318, allocations: 0 / 0.5159 GB, free: 1.594 MB / 414.1 MB Notification: Performance of Templates: time 0.09399/0.6258, allocations: 71.24 MB / 0.5855 GB, free: 10.37 MB / 494.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: 13.084133903990733]