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.001095/0.001095, allocations: 108.1 kB / 16.62 MB, free: 6.809 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.001201/0.001201, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.414/1.414, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 51.84 kB / 300.1 MB, free: 6.227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1157, allocations: 49.44 MB / 349.6 MB, free: 4.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.0119/0.1277, allocations: 9.629 MB / 359.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00629/0.134, allocations: 2.984 MB / 362.2 MB, free: 8.102 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001534/0.1356, allocations: 47.81 kB / 362.2 MB, free: 8.055 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002181/0.1379, allocations: 0.5516 MB / 362.8 MB, free: 7.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002814/0.1407, allocations: 0.6721 MB / 363.5 MB, free: 6.824 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.1419, allocations: 323.7 kB / 363.8 MB, free: 6.508 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003217/0.1451, allocations: 2.411 MB / 366.2 MB, free: 4.086 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002886/0.148, allocations: 1.755 MB / 367.9 MB, free: 2.285 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001915/0.15, allocations: 1.074 MB / 369 MB, free: 1.207 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1928/0.3427, allocations: 1.337 MB / 370.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001191/0.344, allocations: 281.3 kB / 370.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.3453, allocations: 370 kB / 371 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009334/0.3462, allocations: 0.7742 MB / 371.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001969/0.3482, allocations: 1.27 MB / 373 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005177/0.3534, allocations: 3.601 MB / 376.6 MB, free: 12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.3534, allocations: 0 / 376.6 MB, free: 12 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3534, allocations: 0 / 376.6 MB, free: 12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.43e-05/0.3535, allocations: 1.156 kB / 376.6 MB, free: 12 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.006027/0.3596, allocations: 2.581 MB / 379.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.3596, allocations: 11.17 kB / 379.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008176/0.3604, allocations: 263 kB / 379.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002115/0.3626, allocations: 1.312 MB / 380.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.3627, allocations: 144.7 kB / 380.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000301/0.363, allocations: 195.6 kB / 381.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004335/0.3674, allocations: 2.421 MB / 383.6 MB, free: 9.293 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.575e-05/0.3674, allocations: 7.062 kB / 383.6 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001882/0.3676, allocations: 77.19 kB / 383.6 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001109/0.3678, allocations: 89.5 kB / 383.7 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003233/0.371, allocations: 1.96 MB / 385.7 MB, free: 8.527 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01069/0.3817, allocations: 7.862 MB / 393.5 MB, free: 3.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.3832, allocations: 1.213 MB / 394.8 MB, free: 2.426 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001466/0.3847, allocations: 0.9437 MB / 395.7 MB, free: 2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002286/0.385, allocations: 128.3 kB / 395.8 MB, free: 1.887 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.385, allocations: 43.19 kB / 395.9 MB, free: 1.836 MB / 302.1 MB Notification: Performance of pre-optimization done (n=95): time 2.785e-06/0.385, allocations: 0 / 395.9 MB, free: 1.836 MB / 302.1 MB Notification: Performance of matching and sorting (n=111): time 0.01217/0.3972, allocations: 5.871 MB / 401.7 MB, free: 14.46 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.007e-05/0.3973, allocations: 60.41 kB / 401.8 MB, free: 14.39 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002006/0.3993, allocations: 1.302 MB / 403.1 MB, free: 13.09 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.3994, allocations: 45.7 kB / 403.1 MB, free: 13.04 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006932/0.4001, allocations: 0.9189 MB / 404.1 MB, free: 12.11 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003209/0.4005, allocations: 392.5 kB / 404.5 MB, free: 11.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004099/0.4009, allocations: 251.4 kB / 404.7 MB, free: 11.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.401, allocations: 365.9 kB / 405.1 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009622/0.402, allocations: 0.6389 MB / 405.7 MB, free: 10.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/0.4033, allocations: 0.9981 MB / 406.7 MB, free: 9.332 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002216/0.4055, allocations: 1.73 MB / 408.4 MB, free: 7.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.844e-06/0.4055, allocations: 4 kB / 408.4 MB, free: 7.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003826/0.4094, allocations: 2.253 MB / 410.7 MB, free: 5.293 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.4094, allocations: 11.94 kB / 410.7 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/0.4094, allocations: 12 kB / 410.7 MB, free: 5.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/0.4107, allocations: 499 kB / 411.2 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.4118, allocations: 307.4 kB / 411.5 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007077/0.4189, allocations: 7.121 MB / 418.6 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/0.4205, allocations: 91.89 kB / 418.7 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.4207, allocations: 55.98 kB / 418.8 MB, free: 12.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.00148/0.4222, allocations: 0.6011 MB / 419.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003817/0.4225, allocations: 142.3 kB / 419.5 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003449/0.426, allocations: 1.97 MB / 421.5 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.426, allocations: 8 kB / 421.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.426, allocations: 4.75 kB / 421.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.4261, allocations: 11.97 kB / 421.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007152/0.4332, allocations: 4.131 MB / 425.6 MB, free: 5.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.4333, allocations: 4 kB / 425.6 MB, free: 5.941 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008048/0.4341, allocations: 184.3 kB / 425.8 MB, free: 5.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001516/0.4356, allocations: 0.5417 MB / 426.3 MB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.444e-05/0.4357, allocations: 35.97 kB / 426.4 MB, free: 5.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00851/0.4442, allocations: 8.767 MB / 435.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.4442, allocations: 0 / 435.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004674/0.4489, allocations: 2.85 MB / 438 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008946/0.4499, allocations: 355.2 kB / 438.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002215/0.4501, allocations: 31.98 kB / 438.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008265/0.4509, allocations: 67.92 kB / 438.4 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002702/0.4512, allocations: 87.53 kB / 438.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.505e-05/0.4513, allocations: 32 kB / 438.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001342/0.4526, allocations: 0.8916 MB / 439.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4526, allocations: 0 / 439.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001655/0.4543, allocations: 444 kB / 439.9 MB, free: 7.102 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 (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.0003797/0.4547, allocations: 195.8 kB / 440.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004303/0.459, allocations: 2.569 MB / 442.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.459, allocations: 8.062 kB / 442.7 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002239/0.4613, allocations: 1.497 MB / 444.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/0.4636, allocations: 422.8 kB / 444.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007576/0.4712, allocations: 4.961 MB / 449.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001584/0.4728, allocations: 1.654 MB / 451.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001472/0.4743, allocations: 320.8 kB / 451.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003194/0.4746, allocations: 102.1 kB / 451.6 MB, free: 11.26 MB / 366.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4746, allocations: 0 / 451.6 MB, free: 11.26 MB / 366.1 MB Notification: Performance of Templates: time 0.04354/0.5182, allocations: 23.68 MB / 475.3 MB, free: 3.891 MB / 382.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