Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001567/0.001567, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001404/0.001405, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.438/1.438, allocations: 227.7 MB / 247.7 MB, free: 10.37 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 67.2 kB / 307.9 MB, free: 0.5039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.107, allocations: 50.53 MB / 358.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01252/0.1195, allocations: 9.743 MB / 368.2 MB, free: 4.152 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00698/0.1266, allocations: 3.077 MB / 371.3 MB, free: 1.062 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001588/0.1282, allocations: 47.81 kB / 371.3 MB, free: 1.016 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001921/0.1302, allocations: 0.6404 MB / 371.9 MB, free: 380 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1685/0.2987, allocations: 0.7411 MB / 372.7 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.2999, allocations: 385 kB / 373.1 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003509/0.3034, allocations: 2.423 MB / 375.5 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002203/0.3057, allocations: 1.758 MB / 377.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00187/0.3075, allocations: 1.071 MB / 378.3 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00205/0.3096, allocations: 1.317 MB / 379.6 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006529/0.3103, allocations: 278.8 kB / 379.9 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.3114, allocations: 383.9 kB / 380.3 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008134/0.3122, allocations: 0.771 MB / 381 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001624/0.3139, allocations: 1.273 MB / 382.3 MB, free: 8.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004312/0.3182, allocations: 3.618 MB / 385.9 MB, free: 7.285 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.3182, allocations: 5.188 kB / 385.9 MB, free: 7.281 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3182, allocations: 0 / 385.9 MB, free: 7.281 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001087/0.3184, allocations: 0 / 385.9 MB, free: 7.281 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.005904/0.3243, allocations: 2.591 MB / 388.5 MB, free: 5.781 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.3243, allocations: 8.531 kB / 388.5 MB, free: 5.781 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009546/0.3253, allocations: 274.9 kB / 388.8 MB, free: 5.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/0.3275, allocations: 1.32 MB / 390.1 MB, free: 4.926 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.3277, allocations: 143.2 kB / 390.3 MB, free: 4.863 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003184/0.328, allocations: 201.5 kB / 390.5 MB, free: 4.789 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003997/0.332, allocations: 2.414 MB / 392.9 MB, free: 3.398 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.135e-05/0.3321, allocations: 10.64 kB / 392.9 MB, free: 3.391 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001595/0.3322, allocations: 84.02 kB / 393 MB, free: 3.328 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.048e-05/0.3323, allocations: 88.06 kB / 393.1 MB, free: 3.316 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003077/0.3354, allocations: 1.959 MB / 395 MB, free: 2.324 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01224/0.3477, allocations: 7.846 MB / 402.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001862/0.3496, allocations: 1.232 MB / 404.1 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001808/0.3514, allocations: 0.9401 MB / 405 MB, free: 10.31 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002719/0.3517, allocations: 118.1 kB / 405.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/0.3518, allocations: 47.56 kB / 405.2 MB, free: 10.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=95): time 3.056e-06/0.3518, allocations: 0 / 405.2 MB, free: 10.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.01398/0.3658, allocations: 5.875 MB / 411.1 MB, free: 4.121 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.3658, allocations: 64.41 kB / 411.1 MB, free: 4.047 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002188/0.368, allocations: 1.314 MB / 412.4 MB, free: 2.715 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001312/0.3682, allocations: 45.7 kB / 412.5 MB, free: 2.664 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007732/0.369, allocations: 0.9275 MB / 413.4 MB, free: 1.727 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000386/0.3694, allocations: 388.7 kB / 413.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004184/0.3698, allocations: 251.4 kB / 414 MB, free: 1.098 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.37, allocations: 356.5 kB / 414.4 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.371, allocations: 0.6364 MB / 415 MB, free: 112 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001354/0.3724, allocations: 1.004 MB / 416 MB, free: 14.95 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002491/0.3749, allocations: 1.732 MB / 417.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.3749, allocations: 3.938 kB / 417.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004161/0.3791, allocations: 2.249 MB / 420 MB, free: 10.8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/0.3791, allocations: 11.94 kB / 420 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/0.3792, allocations: 12 kB / 420 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/0.3805, allocations: 495.6 kB / 420.5 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.3816, allocations: 303.5 kB / 420.8 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007906/0.3895, allocations: 7.146 MB / 428 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.391, allocations: 87.84 kB / 428.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/0.3912, allocations: 52 kB / 428.1 MB, free: 2.289 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.001316/0.3925, allocations: 0.6028 MB / 428.7 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003477/0.3929, allocations: 142.2 kB / 428.8 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003656/0.3965, allocations: 1.973 MB / 430.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.3965, allocations: 12 kB / 430.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.3966, allocations: 4 kB / 430.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.3966, allocations: 11.97 kB / 430.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007419/0.404, allocations: 4.144 MB / 435 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.4041, allocations: 288 / 435 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008552/0.4049, allocations: 187.8 kB / 435.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001585/0.4065, allocations: 0.5387 MB / 435.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.629e-05/0.4066, allocations: 31.98 kB / 435.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00945/0.4161, allocations: 8.761 MB / 444.5 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4161, allocations: 0 / 444.5 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005018/0.4211, allocations: 2.857 MB / 447.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/0.4222, allocations: 359.2 kB / 447.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002649/0.4225, allocations: 28 kB / 447.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008279/0.4233, allocations: 63.92 kB / 447.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002773/0.4236, allocations: 96.83 kB / 447.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.184e-05/0.4237, allocations: 35.98 kB / 447.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001453/0.4252, allocations: 0.8922 MB / 448.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4252, allocations: 0 / 448.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001746/0.4269, allocations: 440 kB / 449.3 MB, free: 12.36 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.0004255/0.4273, allocations: 191.4 kB / 449.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004613/0.432, allocations: 2.571 MB / 452 MB, free: 9.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.432, allocations: 0 / 452 MB, free: 9.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002424/0.4344, allocations: 1.503 MB / 453.5 MB, free: 7.945 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/0.4368, allocations: 428.2 kB / 453.9 MB, free: 7.535 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00761/0.4444, allocations: 4.199 MB / 458.1 MB, free: 3.285 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001495/0.4459, allocations: 1.634 MB / 459.8 MB, free: 1.621 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004978/0.4464, allocations: 107.4 kB / 459.9 MB, free: 1.516 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4464, allocations: 0 / 459.9 MB, free: 1.516 MB / 366.1 MB Notification: Performance of Templates: time 0.08551/0.532, allocations: 70.88 MB / 0.5183 GB, free: 10.65 MB / 446.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches