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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=20000,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=20000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001307/0.001307, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001515/0.001515, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002557/0.002557, allocations: 64.5 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1434, allocations: 50.54 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01974/0.1632, allocations: 9.733 MB / 368.6 MB, free: 3.555 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01041/0.1737, allocations: 3.085 MB / 371.7 MB, free: 468 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001961/0.1757, allocations: 51.81 kB / 371.8 MB, free: 416 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1737/0.3494, allocations: 0.6305 MB / 372.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003155/0.3526, allocations: 0.7412 MB / 373.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.354, allocations: 394.6 kB / 373.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003894/0.358, allocations: 2.435 MB / 376 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002217/0.3602, allocations: 1.749 MB / 377.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/0.3622, allocations: 1.073 MB / 378.8 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002119/0.3643, allocations: 1.316 MB / 380.1 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005181/0.3649, allocations: 280.2 kB / 380.4 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009812/0.3658, allocations: 383.7 kB / 380.8 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007455/0.3666, allocations: 0.7748 MB / 381.5 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001536/0.3681, allocations: 1.272 MB / 382.8 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004709/0.3729, allocations: 3.659 MB / 386.5 MB, free: 7.379 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.378e-06/0.3729, allocations: 4 kB / 386.5 MB, free: 7.375 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.3729, allocations: 2.531 kB / 386.5 MB, free: 7.375 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001252/0.3731, allocations: 0 / 386.5 MB, free: 7.375 MB / 302.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.006339/0.3794, allocations: 2.581 MB / 389.1 MB, free: 5.793 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.3795, allocations: 8.25 kB / 389.1 MB, free: 5.793 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009163/0.3804, allocations: 281.1 kB / 389.3 MB, free: 5.656 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002517/0.3829, allocations: 1.36 MB / 390.7 MB, free: 4.672 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.383, allocations: 141.6 kB / 390.8 MB, free: 4.609 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002978/0.3833, allocations: 192 kB / 391 MB, free: 4.543 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003708/0.3871, allocations: 2.42 MB / 393.4 MB, free: 3.121 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.554e-05/0.3871, allocations: 14.83 kB / 393.5 MB, free: 3.109 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001719/0.3873, allocations: 79.02 kB / 393.5 MB, free: 3.051 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.393e-05/0.3874, allocations: 91.64 kB / 393.6 MB, free: 3.035 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002951/0.3904, allocations: 1.964 MB / 395.6 MB, free: 2.035 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0107/0.4011, allocations: 7.754 MB / 403.3 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.4027, allocations: 1.234 MB / 404.6 MB, free: 10.81 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00162/0.4044, allocations: 0.9431 MB / 405.5 MB, free: 9.875 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002307/0.4046, allocations: 118.1 kB / 405.6 MB, free: 9.742 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.4047, allocations: 43.56 kB / 405.7 MB, free: 9.688 MB / 318.1 MB Notification: Performance of pre-optimization done (n=95): time 2.705e-06/0.4047, allocations: 0 / 405.7 MB, free: 9.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.01229/0.417, allocations: 5.866 MB / 411.5 MB, free: 3.695 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.417, allocations: 72.34 kB / 411.6 MB, free: 3.613 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001868/0.4189, allocations: 1.302 MB / 412.9 MB, free: 2.293 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.855e-05/0.419, allocations: 45.7 kB / 413 MB, free: 2.242 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006269/0.4197, allocations: 0.9375 MB / 413.9 MB, free: 1.297 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003212/0.42, allocations: 389.1 kB / 414.3 MB, free: 0.918 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004002/0.4204, allocations: 243.5 kB / 414.5 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.4206, allocations: 361.9 kB / 414.9 MB, free: 320 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009959/0.4216, allocations: 0.6364 MB / 415.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.4228, allocations: 1.004 MB / 416.5 MB, free: 14.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002274/0.4251, allocations: 1.731 MB / 418.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.4251, allocations: 4 kB / 418.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003795/0.4289, allocations: 2.249 MB / 420.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/0.4289, allocations: 12 kB / 420.5 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.4289, allocations: 8 kB / 420.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/0.4301, allocations: 495.5 kB / 421 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.4313, allocations: 311.5 kB / 421.3 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006811/0.4381, allocations: 7.131 MB / 428.4 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.4394, allocations: 79.92 kB / 428.5 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.4395, allocations: 60.05 kB / 428.6 MB, free: 1.863 MB / 334.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.001006/0.4405, allocations: 0.6067 MB / 429.2 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002722/0.4408, allocations: 142.2 kB / 429.3 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003292/0.4441, allocations: 1.97 MB / 431.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.4441, allocations: 16 kB / 431.3 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.4441, allocations: 4 kB / 431.3 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.4441, allocations: 7.969 kB / 431.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006842/0.451, allocations: 4.13 MB / 435.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.146e-06/0.451, allocations: 4 kB / 435.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000821/0.4518, allocations: 184 kB / 435.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001413/0.4533, allocations: 0.5388 MB / 436.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.4534, allocations: 31.98 kB / 436.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008016/0.4614, allocations: 8.768 MB / 445 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.4614, allocations: 4 kB / 445 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004469/0.4659, allocations: 2.847 MB / 447.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009339/0.4669, allocations: 355.2 kB / 448.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002165/0.4671, allocations: 27.98 kB / 448.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007738/0.4679, allocations: 71.92 kB / 448.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002207/0.4681, allocations: 92.84 kB / 448.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.207e-05/0.4682, allocations: 28 kB / 448.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001264/0.4695, allocations: 0.8958 MB / 449.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4695, allocations: 0 / 449.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001535/0.471, allocations: 444 kB / 449.7 MB, free: 11.95 MB / 366.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.000348/0.4714, allocations: 195 kB / 449.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00326/0.4746, allocations: 2.229 MB / 452.1 MB, free: 9.445 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.4747, allocations: 0 / 452.1 MB, free: 9.445 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002144/0.4768, allocations: 1.506 MB / 453.6 MB, free: 7.867 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/0.4787, allocations: 417.7 kB / 454 MB, free: 7.477 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006538/0.4852, allocations: 4.117 MB / 458.2 MB, free: 3.309 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001328/0.4866, allocations: 1.646 MB / 459.8 MB, free: 1.633 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001022/0.4876, allocations: 324.8 kB / 460.1 MB, free: 1.309 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/0.4879, allocations: 99.42 kB / 460.2 MB, free: 1.211 MB / 366.1 MB Notification: Performance of SimCode: time 2.084e-06/0.4879, allocations: 0 / 460.2 MB, free: 1.211 MB / 366.1 MB Notification: Performance of Templates: time 0.0403/0.5282, allocations: 23.79 MB / 484 MB, free: 9.688 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile (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 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) 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.0.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) Reference file matches