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.0009759/0.0009759, allocations: 95.81 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001048/0.001048, allocations: 208.3 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002549/0.0002549, allocations: 8 kB / 306.6 MB, free: 1.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.122, allocations: 51.48 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01018/0.1322, allocations: 7.895 MB / 366 MB, free: 5.996 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007644/0.1399, allocations: 2.983 MB / 368.9 MB, free: 3.008 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001955/0.1419, allocations: 47.75 kB / 369 MB, free: 2.961 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002319/0.1443, allocations: 0.513 MB / 369.5 MB, free: 2.445 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003597/0.1479, allocations: 0.6581 MB / 370.2 MB, free: 1.785 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.1493, allocations: 243.6 kB / 370.4 MB, free: 1.547 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.238/0.3872, allocations: 1.586 MB / 372 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002158/0.3894, allocations: 1.219 MB / 373.2 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00161/0.3911, allocations: 0.7608 MB / 374 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001638/0.3927, allocations: 0.9552 MB / 374.9 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003008/0.393, allocations: 120.5 kB / 375 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006425/0.3937, allocations: 196.3 kB / 375.2 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006886/0.3944, allocations: 0.5582 MB / 375.8 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004784/0.3949, allocations: 456.2 kB / 376.2 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003934/0.3988, allocations: 2.879 MB / 379.1 MB, free: 9.266 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3988, allocations: 0 / 379.1 MB, free: 9.266 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3988, allocations: 0 / 379.1 MB, free: 9.266 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001156/0.399, allocations: 0 / 379.1 MB, free: 9.266 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.005027/0.404, allocations: 2.204 MB / 381.3 MB, free: 8.191 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.4041, allocations: 11.38 kB / 381.3 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008979/0.405, allocations: 280.4 kB / 381.6 MB, free: 8.066 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002438/0.4074, allocations: 1.289 MB / 382.9 MB, free: 7.684 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/0.4076, allocations: 139.7 kB / 383 MB, free: 7.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003682/0.4079, allocations: 195.5 kB / 383.2 MB, free: 7.676 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004684/0.4126, allocations: 2.388 MB / 385.6 MB, free: 7.359 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.11e-05/0.4127, allocations: 17.12 kB / 385.6 MB, free: 7.352 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001945/0.4129, allocations: 79.98 kB / 385.7 MB, free: 7.352 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001396/0.4131, allocations: 90.48 kB / 385.8 MB, free: 7.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004055/0.4171, allocations: 1.951 MB / 387.7 MB, free: 7.031 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01406/0.4312, allocations: 7.85 MB / 395.6 MB, free: 2.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001779/0.433, allocations: 1.229 MB / 396.8 MB, free: 1.492 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002462/0.4333, allocations: 124.1 kB / 396.9 MB, free: 1.383 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.4333, allocations: 49 kB / 397 MB, free: 1.332 MB / 302.1 MB Notification: Performance of pre-optimization done (n=95): time 2.885e-06/0.4334, allocations: 0 / 397 MB, free: 1.332 MB / 302.1 MB Notification: Performance of matching and sorting (n=111): time 0.01228/0.4456, allocations: 5.902 MB / 402.9 MB, free: 13.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.4457, allocations: 64.41 kB / 403 MB, free: 13.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001877/0.4476, allocations: 1.251 MB / 404.2 MB, free: 12.01 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001362/0.4478, allocations: 45.7 kB / 404.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006597/0.4484, allocations: 0.9152 MB / 405.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003141/0.4487, allocations: 386.9 kB / 405.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.797e-05/0.4488, allocations: 32 kB / 405.6 MB, free: 10.63 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.449, allocations: 361.9 kB / 405.9 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009574/0.4499, allocations: 0.6402 MB / 406.6 MB, free: 9.629 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.4512, allocations: 0.9886 MB / 407.6 MB, free: 8.488 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.4525, allocations: 0.7799 MB / 408.3 MB, free: 7.707 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/0.4526, allocations: 4 kB / 408.3 MB, free: 7.703 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004105/0.4567, allocations: 2.229 MB / 410.6 MB, free: 5.449 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/0.4567, allocations: 15.95 kB / 410.6 MB, free: 5.434 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/0.4568, allocations: 11.94 kB / 410.6 MB, free: 5.422 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001172/0.4579, allocations: 488.2 kB / 411.1 MB, free: 4.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.459, allocations: 299.5 kB / 411.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006606/0.4656, allocations: 6.603 MB / 418 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.467, allocations: 99.81 kB / 418.1 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.4671, allocations: 56 kB / 418.1 MB, free: 13.48 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 (idealCloser.control,idealOpener.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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001463/0.4686, allocations: 0.5932 MB / 418.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003231/0.4689, allocations: 158.2 kB / 418.9 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003445/0.4724, allocations: 1.949 MB / 420.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.4724, allocations: 12 kB / 420.8 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/0.4724, allocations: 4 kB / 420.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.4724, allocations: 3.984 kB / 420.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00751/0.48, allocations: 4.074 MB / 424.9 MB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.48, allocations: 4 kB / 424.9 MB, free: 6.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008003/0.4808, allocations: 187.7 kB / 425.1 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001383/0.4822, allocations: 0.5194 MB / 425.6 MB, free: 5.863 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.404e-05/0.4823, allocations: 35.98 kB / 425.7 MB, free: 5.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008451/0.4908, allocations: 8.115 MB / 433.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.4908, allocations: 4 kB / 433.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005028/0.4958, allocations: 2.974 MB / 436.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/0.497, allocations: 351.1 kB / 437.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002121/0.4973, allocations: 27.98 kB / 437.1 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007636/0.498, allocations: 71.92 kB / 437.2 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002446/0.4983, allocations: 88.91 kB / 437.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.186e-05/0.4984, allocations: 35.98 kB / 437.3 MB, free: 9.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001346/0.4997, allocations: 0.845 MB / 438.2 MB, free: 8.684 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4997, allocations: 0 / 438.2 MB, free: 8.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001717/0.5015, allocations: 443.9 kB / 438.6 MB, free: 8.25 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 (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003324/0.5018, allocations: 151.8 kB / 438.7 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003309/0.5051, allocations: 2.216 MB / 441 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.5051, allocations: 0 / 441 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002099/0.5072, allocations: 1.507 MB / 442.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/0.5091, allocations: 392 kB / 442.8 MB, free: 3.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007002/0.5162, allocations: 4.927 MB / 447.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/0.5174, allocations: 1.693 MB / 449.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001072/0.5185, allocations: 328.7 kB / 449.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/0.5188, allocations: 99.42 kB / 449.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5188, allocations: 0 / 449.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of Templates: time 0.03802/0.5568, allocations: 21.5 MB / 471.4 MB, free: 7.469 MB / 382.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches