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.001093/0.001093, allocations: 105.6 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001152/0.001152, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 246.4 MB, free: 9.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 58.44 kB / 306.4 MB, free: 0.7109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1022, allocations: 50.53 MB / 357 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01083/0.113, allocations: 9.684 MB / 366.7 MB, free: 4.441 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004957/0.118, allocations: 3.05 MB / 369.7 MB, free: 1.379 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006554/0.1187, allocations: 47.81 kB / 369.8 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001323/0.1201, allocations: 0.5555 MB / 370.3 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.1215, allocations: 0.6681 MB / 371 MB, free: 104 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2022/0.3238, allocations: 332.5 kB / 371.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004492/0.3283, allocations: 2.429 MB / 373.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002339/0.3307, allocations: 1.747 MB / 375.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002558/0.3332, allocations: 1.087 MB / 376.6 MB, free: 9.945 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002003/0.3352, allocations: 1.346 MB / 377.9 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005376/0.3358, allocations: 279.3 kB / 378.2 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009588/0.3368, allocations: 381 kB / 378.6 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008365/0.3376, allocations: 0.7733 MB / 379.3 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00157/0.3392, allocations: 1.275 MB / 380.6 MB, free: 8.699 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004503/0.3437, allocations: 3.621 MB / 384.2 MB, free: 7.488 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.3437, allocations: 1.219 kB / 384.2 MB, free: 7.488 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.3437, allocations: 0 / 384.2 MB, free: 7.488 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001132/0.3439, allocations: 0 / 384.2 MB, free: 7.488 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.005659/0.3495, allocations: 2.587 MB / 386.8 MB, free: 5.992 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.3496, allocations: 9.875 kB / 386.8 MB, free: 5.992 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008929/0.3505, allocations: 280.5 kB / 387.1 MB, free: 5.867 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002161/0.3527, allocations: 1.316 MB / 388.4 MB, free: 5.086 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.3528, allocations: 141.2 kB / 388.6 MB, free: 5.023 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002999/0.3531, allocations: 200.1 kB / 388.7 MB, free: 4.957 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00411/0.3572, allocations: 2.423 MB / 391.2 MB, free: 3.695 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.805e-05/0.3573, allocations: 8.094 kB / 391.2 MB, free: 3.691 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001731/0.3575, allocations: 77.78 kB / 391.3 MB, free: 3.633 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001095/0.3576, allocations: 87.72 kB / 391.3 MB, free: 3.621 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003083/0.3607, allocations: 1.963 MB / 393.3 MB, free: 2.621 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01133/0.372, allocations: 7.858 MB / 401.2 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/0.3738, allocations: 1.241 MB / 402.4 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001713/0.3755, allocations: 0.9302 MB / 403.3 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002622/0.3758, allocations: 128.7 kB / 403.5 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.3758, allocations: 47.5 kB / 403.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=95): time 2.705e-06/0.3758, allocations: 0 / 403.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.01342/0.3893, allocations: 5.867 MB / 409.4 MB, free: 4.664 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.754e-05/0.3894, allocations: 64.41 kB / 409.4 MB, free: 4.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002077/0.3915, allocations: 1.31 MB / 410.7 MB, free: 3.262 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.172e-05/0.3916, allocations: 41.7 kB / 410.8 MB, free: 3.215 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006789/0.3922, allocations: 0.9273 MB / 411.7 MB, free: 2.281 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003268/0.3926, allocations: 390 kB / 412.1 MB, free: 1.902 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003924/0.393, allocations: 243.5 kB / 412.3 MB, free: 1.656 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.3932, allocations: 365.8 kB / 412.7 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.3942, allocations: 0.6442 MB / 413.3 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.3954, allocations: 1 MB / 414.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002271/0.3977, allocations: 1.728 MB / 416.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.3977, allocations: 7.984 kB / 416.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004005/0.4017, allocations: 2.241 MB / 418.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.4017, allocations: 16.03 kB / 418.3 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.4018, allocations: 8 kB / 418.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/0.403, allocations: 499.9 kB / 418.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.4041, allocations: 307.5 kB / 419.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007769/0.4119, allocations: 7.134 MB / 426.3 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/0.4136, allocations: 87.97 kB / 426.3 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.4137, allocations: 52 kB / 426.4 MB, free: 2.84 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.001314/0.415, allocations: 0.6067 MB / 427 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002917/0.4153, allocations: 150.2 kB / 427.1 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003472/0.4188, allocations: 1.968 MB / 429.1 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.4188, allocations: 12 kB / 429.1 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-05/0.4188, allocations: 4 kB / 429.1 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.4189, allocations: 3.984 kB / 429.1 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006807/0.4257, allocations: 4.157 MB / 433.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.4257, allocations: 4 kB / 433.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008448/0.4266, allocations: 179.8 kB / 433.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001505/0.4281, allocations: 0.5429 MB / 434 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-05/0.4282, allocations: 31.98 kB / 434 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008427/0.4366, allocations: 8.749 MB / 442.8 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.4366, allocations: 12.09 kB / 442.8 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004527/0.4412, allocations: 2.851 MB / 445.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007202/0.4419, allocations: 355.2 kB / 446 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002056/0.4421, allocations: 28 kB / 446 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007814/0.4429, allocations: 72.02 kB / 446.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002146/0.4431, allocations: 96.73 kB / 446.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.95e-05/0.4432, allocations: 27.98 kB / 446.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001271/0.4445, allocations: 0.8918 MB / 447.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4445, allocations: 0 / 447.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001612/0.4461, allocations: 436 kB / 447.5 MB, free: 12.93 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.000394/0.4465, allocations: 191 kB / 447.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004334/0.4509, allocations: 2.569 MB / 450.3 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.4509, allocations: 0 / 450.3 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002201/0.4531, allocations: 1.51 MB / 451.8 MB, free: 8.496 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002256/0.4554, allocations: 414.4 kB / 452.2 MB, free: 8.102 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007541/0.4629, allocations: 4.975 MB / 457.2 MB, free: 3.086 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001444/0.4644, allocations: 1.658 MB / 458.8 MB, free: 1.398 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001226/0.4656, allocations: 320.8 kB / 459.2 MB, free: 1.078 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002817/0.4659, allocations: 99.42 kB / 459.3 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4659, allocations: 0 / 459.3 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of Templates: time 0.04025/0.5062, allocations: 23.77 MB / 483 MB, free: 9.484 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 -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","/var/lib/jenkins/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