Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 109.2 kB / 17.73 MB, free: 5.301 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.001505/0.001506, allocations: 188.2 kB / 18.66 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 47.92 kB / 328.5 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.132, allocations: 46.61 MB / 375.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.3085/0.4406, allocations: 9.641 MB / 384.8 MB, free: 8.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007849/0.4485, allocations: 3.071 MB / 387.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00194/0.4505, allocations: 40.72 kB / 387.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001793/0.4523, allocations: 0.6394 MB / 388.5 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002791/0.4551, allocations: 0.7453 MB / 389.3 MB, free: 5.547 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.4562, allocations: 379.1 kB / 389.7 MB, free: 5.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003529/0.4597, allocations: 2.448 MB / 392.1 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002366/0.4621, allocations: 1.726 MB / 393.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002259/0.4644, allocations: 1.074 MB / 394.9 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002011/0.4664, allocations: 1.316 MB / 396.2 MB, free: 2.207 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004915/0.4669, allocations: 280.6 kB / 396.5 MB, free: 2.207 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000948/0.4679, allocations: 363.7 kB / 396.9 MB, free: 2.188 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009081/0.4688, allocations: 0.7778 MB / 397.6 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001347/0.4701, allocations: 1.275 MB / 398.9 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00451/0.4747, allocations: 3.638 MB / 402.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.4747, allocations: 1.375 kB / 402.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.4747, allocations: 0 / 402.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.487e-05/0.4748, allocations: 0 / 402.5 MB, free: 15.21 MB / 334.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.006303/0.4811, allocations: 2.584 MB / 405.1 MB, free: 13.4 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.4812, allocations: 11.06 kB / 405.1 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008319/0.482, allocations: 260.9 kB / 405.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002221/0.4842, allocations: 1.273 MB / 406.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.4844, allocations: 140.8 kB / 406.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003202/0.4847, allocations: 192.9 kB / 407 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004538/0.4893, allocations: 2.429 MB / 409.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.227e-05/0.4893, allocations: 2.156 kB / 409.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000185/0.4895, allocations: 76.84 kB / 409.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001217/0.4896, allocations: 91.94 kB / 409.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003404/0.4931, allocations: 1.963 MB / 411.6 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01291/0.506, allocations: 7.761 MB / 419.3 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/0.5076, allocations: 1.23 MB / 420.5 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001778/0.5094, allocations: 0.9723 MB / 421.5 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002647/0.5097, allocations: 119.2 kB / 421.6 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/0.5098, allocations: 43.55 kB / 421.7 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of pre-optimization done (n=95): time 5.02e-06/0.5098, allocations: 4 kB / 421.7 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of matching and sorting (n=111): time 0.01322/0.523, allocations: 5.855 MB / 427.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.5231, allocations: 68.41 kB / 427.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002241/0.5253, allocations: 1.298 MB / 428.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.91e-05/0.5254, allocations: 49.7 kB / 429 MB, free: 9.184 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007905/0.5262, allocations: 0.9237 MB / 429.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003133/0.5266, allocations: 394.3 kB / 430.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004254/0.527, allocations: 251.5 kB / 430.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.5272, allocations: 353.9 kB / 430.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.5282, allocations: 0.6364 MB / 431.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/0.5295, allocations: 1.008 MB / 432.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002412/0.5319, allocations: 1.727 MB / 434.2 MB, free: 3.574 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/0.532, allocations: 4 kB / 434.2 MB, free: 3.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003955/0.5359, allocations: 2.249 MB / 436.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/0.536, allocations: 8 kB / 436.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-05/0.536, allocations: 12 kB / 436.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001292/0.5373, allocations: 492.2 kB / 437 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.5384, allocations: 311.5 kB / 437.3 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007441/0.5459, allocations: 7.12 MB / 444.4 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.5474, allocations: 83.86 kB / 444.5 MB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/0.5476, allocations: 59.98 kB / 444.5 MB, free: 8.797 MB / 366.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.001433/0.5491, allocations: 0.6035 MB / 445.1 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00054/0.5496, allocations: 146.2 kB / 445.3 MB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003804/0.5534, allocations: 1.976 MB / 447.3 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.5535, allocations: 12 kB / 447.3 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.011e-05/0.5535, allocations: 4 kB / 447.3 MB, free: 6.016 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.5535, allocations: 3.984 kB / 447.3 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008627/0.5621, allocations: 4.128 MB / 451.4 MB, free: 1.793 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.5622, allocations: 4 kB / 451.4 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008422/0.563, allocations: 188 kB / 451.6 MB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001552/0.5646, allocations: 0.5353 MB / 452.1 MB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.5647, allocations: 35.92 kB / 452.2 MB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009048/0.5738, allocations: 8.75 MB / 460.9 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.5738, allocations: 0 / 460.9 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005206/0.579, allocations: 2.859 MB / 463.8 MB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/0.5803, allocations: 351.3 kB / 464.1 MB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006794/0.581, allocations: 27.98 kB / 464.1 MB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001371/0.5824, allocations: 71.92 kB / 464.2 MB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003343/0.5828, allocations: 80.92 kB / 464.3 MB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-05/0.5829, allocations: 39.92 kB / 464.3 MB, free: 4.211 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002411/0.5853, allocations: 0.8878 MB / 465.2 MB, free: 3.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5853, allocations: 4 kB / 465.2 MB, free: 3.316 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002806/0.5881, allocations: 436 kB / 465.7 MB, free: 2.891 MB / 382.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.0005914/0.5887, allocations: 187.8 kB / 465.8 MB, free: 2.695 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004384/0.5931, allocations: 2.232 MB / 468.1 MB, free: 388 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.098e-06/0.5932, allocations: 0 / 468.1 MB, free: 388 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002652/0.5958, allocations: 1.506 MB / 469.6 MB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003341/0.5992, allocations: 414.6 kB / 470 MB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009796/0.609, allocations: 4.106 MB / 474.1 MB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002502/0.6115, allocations: 1.65 MB / 475.7 MB, free: 8.555 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001541/0.6131, allocations: 320.8 kB / 476 MB, free: 8.234 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00054/0.6137, allocations: 99.42 kB / 476.1 MB, free: 8.137 MB / 398.1 MB Notification: Performance of SimCode: time 1.784e-06/0.6137, allocations: 0 / 476.1 MB, free: 8.137 MB / 398.1 MB Notification: Performance of Templates: time 0.05016/0.6638, allocations: 24.1 MB / 0.4885 GB, free: 15.99 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Steinmetz/AIMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches