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.001725/0.001725, allocations: 112.9 kB / 17.82 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00213/0.00213, allocations: 208.6 kB / 18.79 MB, free: 4.254 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.474/1.474, allocations: 230.4 MB / 250 MB, free: 9.09 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.001815/0.001815, allocations: 63.84 kB / 367.4 MB, free: 7.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2655, allocations: 53.31 MB / 420.7 MB, free: 8.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01214/0.2777, allocations: 9.777 MB / 430.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007047/0.2847, allocations: 3.1 MB / 433.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002448/0.2872, allocations: 55.81 kB / 433.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002386/0.2896, allocations: 0.6638 MB / 434.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003287/0.2928, allocations: 0.7843 MB / 435.1 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.294, allocations: 383.4 kB / 435.4 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00399/0.298, allocations: 2.432 MB / 437.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001938/0.3, allocations: 1.275 MB / 439.1 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002052/0.302, allocations: 1.098 MB / 440.2 MB, free: 4.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002335/0.3044, allocations: 1.343 MB / 441.6 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005434/0.3049, allocations: 280 kB / 441.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007724/0.3057, allocations: 383.8 kB / 442.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007637/0.3064, allocations: 0.7868 MB / 443 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00155/0.308, allocations: 1.264 MB / 444.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004578/0.3126, allocations: 3.678 MB / 447.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.3126, allocations: 0 / 447.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3126, allocations: 0 / 447.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000101/0.3127, allocations: 0 / 447.9 MB, free: 12.93 MB / 366.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.005582/0.3183, allocations: 2.663 MB / 450.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.3183, allocations: 8.031 kB / 450.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009537/0.3193, allocations: 287.3 kB / 450.9 MB, free: 9.918 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00239/0.3217, allocations: 1.37 MB / 452.3 MB, free: 8.492 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.3218, allocations: 140.2 kB / 452.4 MB, free: 8.355 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003213/0.3221, allocations: 199.8 kB / 452.6 MB, free: 8.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004181/0.3263, allocations: 2.426 MB / 455 MB, free: 5.695 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.779e-05/0.3263, allocations: 0 / 455 MB, free: 5.695 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000172/0.3265, allocations: 76 kB / 455.1 MB, free: 5.621 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/0.3266, allocations: 91.67 kB / 455.2 MB, free: 5.531 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003683/0.3303, allocations: 1.962 MB / 457.2 MB, free: 3.566 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01272/0.343, allocations: 7.792 MB / 464.9 MB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/0.3448, allocations: 1.156 MB / 466.1 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001857/0.3466, allocations: 0.9058 MB / 467 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002475/0.3469, allocations: 118.1 kB / 467.1 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/0.3469, allocations: 47.56 kB / 467.2 MB, free: 9.234 MB / 382.1 MB Notification: Performance of pre-optimization done (n=95): time 3.246e-06/0.3469, allocations: 0 / 467.2 MB, free: 9.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=111): time 0.01386/0.3608, allocations: 5.879 MB / 473 MB, free: 3.223 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/0.3608, allocations: 68.34 kB / 473.1 MB, free: 3.141 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002138/0.363, allocations: 1.314 MB / 474.4 MB, free: 1.809 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.3631, allocations: 41.7 kB / 474.5 MB, free: 1.762 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000912/0.364, allocations: 0.9536 MB / 475.4 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003815/0.3644, allocations: 408.5 kB / 475.8 MB, free: 404 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004318/0.3648, allocations: 255.5 kB / 476.1 MB, free: 144 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.365, allocations: 357.9 kB / 476.4 MB, free: 15.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.3661, allocations: 0.6403 MB / 477.1 MB, free: 15.14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/0.3676, allocations: 1 MB / 478.1 MB, free: 14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00269/0.3703, allocations: 1.735 MB / 479.8 MB, free: 12.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.3703, allocations: 4 kB / 479.8 MB, free: 12.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00469/0.375, allocations: 2.234 MB / 482 MB, free: 9.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.935e-05/0.375, allocations: 14.5 kB / 482 MB, free: 9.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.534e-05/0.375, allocations: 12 kB / 482.1 MB, free: 9.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/0.3765, allocations: 0.4923 MB / 482.6 MB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.3776, allocations: 299.5 kB / 482.8 MB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009008/0.3866, allocations: 7.139 MB / 490 MB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/0.3882, allocations: 87.91 kB / 490.1 MB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.3883, allocations: 52.06 kB / 490.1 MB, free: 1.332 MB / 398.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.00119/0.3895, allocations: 0.6104 MB / 490.7 MB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000322/0.3898, allocations: 155 kB / 490.9 MB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003817/0.3937, allocations: 1.961 MB / 492.8 MB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.3937, allocations: 8 kB / 492.9 MB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.3937, allocations: 8 kB / 492.9 MB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.3937, allocations: 4.047 kB / 492.9 MB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007591/0.4013, allocations: 4.113 MB / 497 MB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.4013, allocations: 3.938 kB / 497 MB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008555/0.4021, allocations: 188 kB / 497.2 MB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001592/0.4037, allocations: 0.531 MB / 497.7 MB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.33e-05/0.4038, allocations: 39.86 kB / 497.7 MB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009808/0.4136, allocations: 8.746 MB / 0.4946 GB, free: 264 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-05/0.4136, allocations: 11.95 kB / 0.4946 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005061/0.4187, allocations: 2.856 MB / 0.4974 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007833/0.4195, allocations: 356.5 kB / 0.4978 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/0.4197, allocations: 28 kB / 0.4978 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008289/0.4205, allocations: 63.92 kB / 0.4978 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002582/0.4208, allocations: 92.84 kB / 0.4979 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.094e-05/0.4209, allocations: 35.98 kB / 0.498 GB, free: 12.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00141/0.4223, allocations: 0.8957 MB / 0.4988 GB, free: 11.85 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4223, allocations: 0 / 0.4988 GB, free: 11.85 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001506/0.4238, allocations: 439.9 kB / 0.4993 GB, free: 11.42 MB / 430.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.0003903/0.4242, allocations: 194.6 kB / 0.4994 GB, free: 11.22 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003846/0.428, allocations: 2.161 MB / 0.5016 GB, free: 8.977 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.428, allocations: 4 kB / 0.5016 GB, free: 8.973 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002592/0.4306, allocations: 1.452 MB / 0.503 GB, free: 7.449 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002089/0.4327, allocations: 427.8 kB / 0.5034 GB, free: 7.039 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007429/0.4401, allocations: 4.166 MB / 0.5074 GB, free: 2.809 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001602/0.4417, allocations: 1.646 MB / 0.5091 GB, free: 1.129 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001066/0.4428, allocations: 320.8 kB / 0.5094 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002815/0.4431, allocations: 103.4 kB / 0.5095 GB, free: 0.707 MB / 430.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4431, allocations: 0 / 0.5095 GB, free: 0.707 MB / 430.1 MB Notification: Performance of Templates: time 0.0479/0.491, allocations: 24.48 MB / 0.5334 GB, free: 8.477 MB / 462.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins/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