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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001963/0.001963, allocations: 110.2 kB / 17.16 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002696/0.002696, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.286/2.286, allocations: 222.9 MB / 241.7 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 43.16 kB / 300.6 MB, free: 6.227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1411, allocations: 49.45 MB / 350.1 MB, free: 4.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01858/0.1597, allocations: 9.63 MB / 359.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01088/0.1707, allocations: 2.995 MB / 362.7 MB, free: 8.082 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002599/0.1733, allocations: 43.81 kB / 362.7 MB, free: 8.039 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002947/0.1764, allocations: 0.5477 MB / 363.3 MB, free: 7.488 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005556/0.182, allocations: 0.6721 MB / 364 MB, free: 6.812 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001987/0.184, allocations: 323.7 kB / 364.3 MB, free: 6.496 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005446/0.1895, allocations: 2.729 MB / 367 MB, free: 3.754 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003099/0.1926, allocations: 1.434 MB / 368.4 MB, free: 2.273 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002351/0.195, allocations: 0.9495 MB / 369.4 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00331/0.1984, allocations: 1.272 MB / 370.7 MB, free: 44 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.2298/0.4282, allocations: 174.6 kB / 370.8 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.4296, allocations: 276.7 kB / 371.1 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008404/0.4304, allocations: 0.6618 MB / 371.8 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001864/0.4323, allocations: 1.159 MB / 372.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004107/0.4364, allocations: 2.984 MB / 375.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.4365, allocations: 0.625 kB / 375.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4365, allocations: 0 / 375.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001545/0.4367, allocations: 1.406 kB / 375.9 MB, free: 12.48 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.007345/0.444, allocations: 2.581 MB / 378.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.4441, allocations: 9.938 kB / 378.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/0.4451, allocations: 262.6 kB / 378.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002715/0.4478, allocations: 1.308 MB / 380.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.448, allocations: 144.3 kB / 380.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003749/0.4483, allocations: 196.1 kB / 380.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004915/0.4533, allocations: 2.429 MB / 382.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.143e-05/0.4534, allocations: 10.41 kB / 382.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002073/0.4536, allocations: 74.33 kB / 382.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001187/0.4537, allocations: 91.05 kB / 383 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003777/0.4575, allocations: 1.965 MB / 385 MB, free: 9.586 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01254/0.4701, allocations: 7.848 MB / 392.8 MB, free: 4.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.4717, allocations: 1.229 MB / 394 MB, free: 3.758 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/0.4733, allocations: 0.9362 MB / 395 MB, free: 3.332 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002579/0.4736, allocations: 124.3 kB / 395.1 MB, free: 3.227 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.4737, allocations: 47.67 kB / 395.1 MB, free: 3.172 MB / 302.1 MB Notification: Performance of pre-optimization done (n=95): time 3.737e-06/0.4737, allocations: 1.438 kB / 395.1 MB, free: 3.172 MB / 302.1 MB Notification: Performance of matching and sorting (n=111): time 0.01298/0.4867, allocations: 5.868 MB / 401 MB, free: 15.86 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.4868, allocations: 64.78 kB / 401.1 MB, free: 15.79 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002236/0.489, allocations: 1.297 MB / 402.4 MB, free: 14.8 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001773/0.4892, allocations: 45.7 kB / 402.4 MB, free: 14.75 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007197/0.4899, allocations: 0.9193 MB / 403.3 MB, free: 13.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003782/0.4903, allocations: 387 kB / 403.7 MB, free: 13.45 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004412/0.4908, allocations: 251.4 kB / 404 MB, free: 13.2 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.491, allocations: 365.9 kB / 404.3 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.492, allocations: 0.6364 MB / 404.9 MB, free: 12.2 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/0.4934, allocations: 1.005 MB / 405.9 MB, free: 11.05 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002436/0.4958, allocations: 1.727 MB / 407.7 MB, free: 9.215 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.4958, allocations: 8 kB / 407.7 MB, free: 9.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004201/0.5001, allocations: 2.245 MB / 409.9 MB, free: 7.012 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/0.5001, allocations: 15.94 kB / 409.9 MB, free: 6.996 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/0.5001, allocations: 11.94 kB / 410 MB, free: 6.984 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001416/0.5016, allocations: 498.8 kB / 410.4 MB, free: 6.488 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.5028, allocations: 300.9 kB / 410.7 MB, free: 6.211 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007472/0.5103, allocations: 6.525 MB / 417.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.5118, allocations: 83.86 kB / 417.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002286/0.512, allocations: 55.98 kB / 417.4 MB, free: 15.19 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.001419/0.5135, allocations: 0.5986 MB / 418 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004979/0.514, allocations: 150.2 kB / 418.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003997/0.518, allocations: 1.973 MB / 420.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.518, allocations: 12 kB / 420.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.587e-05/0.5181, allocations: 4 kB / 420.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.5181, allocations: 8.719 kB / 420.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/0.5283, allocations: 4.123 MB / 424.3 MB, free: 8.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.682e-05/0.5283, allocations: 7.25 kB / 424.3 MB, free: 8.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001557/0.5299, allocations: 187.9 kB / 424.5 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00284/0.5328, allocations: 0.5475 MB / 425 MB, free: 7.551 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002222/0.533, allocations: 31.98 kB / 425 MB, free: 7.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01494/0.548, allocations: 8.042 MB / 433.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.698e-06/0.5481, allocations: 2.719 kB / 433.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008799/0.5569, allocations: 2.859 MB / 435.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001485/0.5584, allocations: 351.2 kB / 436.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007026/0.5591, allocations: 27.98 kB / 436.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00188/0.5611, allocations: 75.92 kB / 436.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004279/0.5615, allocations: 83.62 kB / 436.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/0.5617, allocations: 32 kB / 436.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002825/0.5645, allocations: 0.8878 MB / 437.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5646, allocations: 4 kB / 437.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003454/0.568, allocations: 440 kB / 437.8 MB, free: 10.19 MB / 350.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.0006979/0.5688, allocations: 187.3 kB / 438 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006461/0.5753, allocations: 2.227 MB / 440.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.5753, allocations: 0 / 440.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004408/0.5797, allocations: 1.508 MB / 441.7 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004435/0.5842, allocations: 398.5 kB / 442.1 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/0.598, allocations: 5.009 MB / 447.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002539/0.6006, allocations: 1.626 MB / 448.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007772/0.6014, allocations: 107.4 kB / 448.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of SimCode: time 1.102e-06/0.6014, allocations: 3.938 kB / 448.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of Templates: time 0.1218/0.7232, allocations: 70.66 MB / 0.5074 GB, free: 8.379 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile (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) 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) Reference file matches