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.001456/0.001456, allocations: 109 kB / 17.06 MB, free: 6.02 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.001425/0.001425, allocations: 191 kB / 18 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 43.92 kB / 351.3 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3073, allocations: 49.44 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01063/0.318, allocations: 9.694 MB / 410.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005869/0.3239, allocations: 3.018 MB / 413.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.3251, allocations: 47.81 kB / 413.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001484/0.3266, allocations: 0.6598 MB / 414.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001948/0.3286, allocations: 0.7843 MB / 414.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007547/0.3293, allocations: 367.5 kB / 415.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002397/0.3318, allocations: 2.428 MB / 417.7 MB, free: 7.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001894/0.3337, allocations: 1.751 MB / 419.5 MB, free: 5.996 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001388/0.3351, allocations: 1.082 MB / 420.6 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001496/0.3366, allocations: 1.308 MB / 421.9 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003458/0.3369, allocations: 276 kB / 422.1 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006563/0.3376, allocations: 375.8 kB / 422.5 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006928/0.3383, allocations: 0.7713 MB / 423.3 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001206/0.3395, allocations: 1.268 MB / 424.5 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003205/0.3427, allocations: 3.637 MB / 428.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3428, allocations: 0 / 428.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3428, allocations: 4 kB / 428.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.972e-05/0.3428, allocations: 0 / 428.2 MB, free: 13.26 MB / 350.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.004973/0.3478, allocations: 2.583 MB / 430.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.3479, allocations: 8.031 kB / 430.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007643/0.3486, allocations: 266 kB / 431 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002084/0.3507, allocations: 1.349 MB / 432.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.3509, allocations: 148.1 kB / 432.5 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002599/0.3511, allocations: 192 kB / 432.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003884/0.355, allocations: 2.422 MB / 435.1 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-05/0.3551, allocations: 11.83 kB / 435.2 MB, free: 6.141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001994/0.3553, allocations: 80 kB / 435.2 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001106/0.3554, allocations: 87.69 kB / 435.3 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003189/0.3586, allocations: 1.955 MB / 437.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01236/0.371, allocations: 7.758 MB / 445 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/0.3727, allocations: 1.239 MB / 446.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001713/0.3745, allocations: 0.9673 MB / 447.2 MB, free: 9.762 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002681/0.3747, allocations: 118.1 kB / 447.4 MB, free: 9.625 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.3748, allocations: 47.56 kB / 447.4 MB, free: 9.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.996e-06/0.3748, allocations: 0 / 447.4 MB, free: 9.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.01228/0.3871, allocations: 5.877 MB / 453.3 MB, free: 3.559 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.3871, allocations: 64.41 kB / 453.3 MB, free: 3.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001873/0.389, allocations: 1.306 MB / 454.6 MB, free: 2.168 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.168e-05/0.3891, allocations: 45.7 kB / 454.7 MB, free: 2.117 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006654/0.3898, allocations: 0.916 MB / 455.6 MB, free: 1.188 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004169/0.3902, allocations: 390.4 kB / 456 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004784/0.3907, allocations: 247.4 kB / 456.2 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.3909, allocations: 365.9 kB / 456.6 MB, free: 196 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.392, allocations: 0.6325 MB / 457.2 MB, free: 15.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/0.3932, allocations: 1.004 MB / 458.2 MB, free: 14.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002419/0.3957, allocations: 1.731 MB / 460 MB, free: 12.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.3957, allocations: 4 kB / 460 MB, free: 12.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00387/0.3996, allocations: 2.241 MB / 462.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.3996, allocations: 12 kB / 462.2 MB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.3996, allocations: 11.94 kB / 462.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001337/0.401, allocations: 496.2 kB / 462.7 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.402, allocations: 303.5 kB / 463 MB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007334/0.4094, allocations: 7.133 MB / 470.1 MB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.4106, allocations: 83.91 kB / 470.2 MB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.4107, allocations: 52 kB / 470.3 MB, free: 1.754 MB / 382.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.001163/0.4119, allocations: 0.611 MB / 470.9 MB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002732/0.4122, allocations: 146.2 kB / 471 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003307/0.4155, allocations: 1.968 MB / 473 MB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.699e-06/0.4155, allocations: 12 kB / 473 MB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.4155, allocations: 8 kB / 473 MB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.4156, allocations: 3.984 kB / 473 MB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006627/0.4222, allocations: 4.113 MB / 477.1 MB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.4222, allocations: 4 kB / 477.1 MB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007967/0.423, allocations: 183.7 kB / 477.3 MB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001439/0.4245, allocations: 0.5351 MB / 477.8 MB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.333e-05/0.4246, allocations: 39.91 kB / 477.9 MB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008495/0.4331, allocations: 8.757 MB / 486.6 MB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/0.4331, allocations: 7.938 kB / 486.6 MB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004861/0.438, allocations: 2.84 MB / 489.5 MB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006796/0.4387, allocations: 355.4 kB / 489.8 MB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.4388, allocations: 28 kB / 489.9 MB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007314/0.4396, allocations: 75.86 kB / 489.9 MB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002529/0.4399, allocations: 88.84 kB / 490 MB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-05/0.4399, allocations: 35.98 kB / 490.1 MB, free: 13.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001574/0.4415, allocations: 0.8839 MB / 490.9 MB, free: 12.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4415, allocations: 4 kB / 490.9 MB, free: 12.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001857/0.4434, allocations: 448 kB / 491.4 MB, free: 11.84 MB / 414.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.0004497/0.4439, allocations: 186.9 kB / 491.6 MB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004385/0.4482, allocations: 2.236 MB / 493.8 MB, free: 9.336 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.4483, allocations: 0 / 493.8 MB, free: 9.336 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002347/0.4506, allocations: 1.491 MB / 495.3 MB, free: 7.773 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002063/0.4527, allocations: 419.9 kB / 495.7 MB, free: 7.367 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007014/0.4597, allocations: 4.106 MB / 499.8 MB, free: 3.199 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/0.4611, allocations: 1.65 MB / 0.4897 GB, free: 1.516 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001014/0.4621, allocations: 316.8 kB / 0.49 GB, free: 1.199 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002793/0.4624, allocations: 103.4 kB / 0.4901 GB, free: 1.098 MB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4624, allocations: 0 / 0.4901 GB, free: 1.098 MB / 414.1 MB Notification: Performance of Templates: time 0.04171/0.5041, allocations: 24.09 MB / 0.5136 GB, free: 9.246 MB / 446.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/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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches