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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001345/0.001345, allocations: 110.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00148/0.00148, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 230.2 MB / 255.1 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] 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=10000,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=10000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 63.89 kB / 374.5 MB, free: 9.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09535/0.09722, allocations: 53.32 MB / 427.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.1902/0.2874, allocations: 9.784 MB / 437.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005518/0.2929, allocations: 3.108 MB / 440.7 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001498/0.2944, allocations: 47.84 kB / 440.8 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0018/0.2962, allocations: 0.664 MB / 441.5 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002476/0.2987, allocations: 0.78 MB / 442.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.2997, allocations: 391.8 kB / 442.6 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003151/0.3029, allocations: 2.439 MB / 445.1 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/0.3046, allocations: 1.282 MB / 446.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001882/0.3065, allocations: 1.092 MB / 447.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002519/0.309, allocations: 1.347 MB / 448.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007032/0.3097, allocations: 280 kB / 449 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.3109, allocations: 376.2 kB / 449.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00081/0.3117, allocations: 0.7814 MB / 450.2 MB, free: 408 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00199/0.3137, allocations: 1.274 MB / 451.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005164/0.3189, allocations: 3.671 MB / 455.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3189, allocations: 1 kB / 455.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3189, allocations: 0 / 455.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001211/0.319, allocations: 0 / 455.1 MB, free: 14.18 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.007143/0.3262, allocations: 2.662 MB / 457.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.3262, allocations: 14.75 kB / 457.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.3274, allocations: 285.7 kB / 458.1 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003117/0.3305, allocations: 1.377 MB / 459.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.3307, allocations: 141.1 kB / 459.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000547/0.3312, allocations: 192.8 kB / 459.8 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004947/0.3362, allocations: 2.42 MB / 462.2 MB, free: 9.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-05/0.3362, allocations: 3.344 kB / 462.2 MB, free: 9.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002107/0.3364, allocations: 80.61 kB / 462.3 MB, free: 9.508 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/0.3366, allocations: 95.73 kB / 462.4 MB, free: 9.488 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004105/0.3407, allocations: 1.956 MB / 464.4 MB, free: 8.496 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01409/0.3548, allocations: 7.779 MB / 472.1 MB, free: 2.719 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/0.3565, allocations: 1.153 MB / 473.3 MB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001897/0.3584, allocations: 0.9147 MB / 474.2 MB, free: 1.582 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000247/0.3586, allocations: 115.6 kB / 474.3 MB, free: 1.477 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.3587, allocations: 51.62 kB / 474.4 MB, free: 1.422 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.625e-06/0.3587, allocations: 0 / 474.4 MB, free: 1.422 MB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.0141/0.3728, allocations: 5.883 MB / 480.2 MB, free: 11.94 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.3728, allocations: 64.41 kB / 480.3 MB, free: 11.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002184/0.375, allocations: 1.318 MB / 481.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001713/0.3752, allocations: 41.7 kB / 481.7 MB, free: 10.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007512/0.3759, allocations: 0.942 MB / 482.6 MB, free: 9.523 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004149/0.3764, allocations: 416.5 kB / 483 MB, free: 9.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004214/0.3768, allocations: 255.5 kB / 483.3 MB, free: 8.859 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.3769, allocations: 357.9 kB / 483.6 MB, free: 8.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/0.3781, allocations: 0.6364 MB / 484.3 MB, free: 7.867 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001354/0.3795, allocations: 1.008 MB / 485.3 MB, free: 6.711 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002658/0.3821, allocations: 1.727 MB / 487 MB, free: 4.832 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.3821, allocations: 4 kB / 487 MB, free: 4.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004231/0.3863, allocations: 2.242 MB / 489.2 MB, free: 2.562 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/0.3864, allocations: 15.98 kB / 489.2 MB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/0.3864, allocations: 8.312 kB / 489.3 MB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/0.3877, allocations: 0.4888 MB / 489.7 MB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.389, allocations: 295.6 kB / 490 MB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007995/0.397, allocations: 7.139 MB / 497.2 MB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.3984, allocations: 91.97 kB / 497.3 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/0.3985, allocations: 48 kB / 497.3 MB, free: 10.06 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.001149/0.3996, allocations: 0.6104 MB / 497.9 MB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003346/0.4, allocations: 151 kB / 498.1 MB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003838/0.4038, allocations: 1.962 MB / 0.4883 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.978e-06/0.4038, allocations: 12 kB / 0.4883 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.4038, allocations: 4 kB / 0.4883 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.4039, allocations: 3.984 kB / 0.4883 GB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007727/0.4116, allocations: 4.117 MB / 0.4923 GB, free: 3.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.4116, allocations: 288 / 0.4923 GB, free: 3.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000889/0.4125, allocations: 183.8 kB / 0.4925 GB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001653/0.4141, allocations: 0.5426 MB / 0.4931 GB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/0.4142, allocations: 31.92 kB / 0.4931 GB, free: 2.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009594/0.4238, allocations: 8.755 MB / 0.5016 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.4238, allocations: 8.062 kB / 0.5016 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005085/0.4289, allocations: 2.856 MB / 0.5044 GB, free: 6.074 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008784/0.4298, allocations: 356 kB / 0.5048 GB, free: 5.707 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002593/0.4301, allocations: 27.98 kB / 0.5048 GB, free: 5.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008373/0.4309, allocations: 67.92 kB / 0.5049 GB, free: 5.613 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002555/0.4312, allocations: 96.8 kB / 0.505 GB, free: 5.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.098e-05/0.4312, allocations: 32.86 kB / 0.505 GB, free: 5.488 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001448/0.4327, allocations: 0.8918 MB / 0.5059 GB, free: 4.594 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4327, allocations: 0 / 0.5059 GB, free: 4.594 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001761/0.4344, allocations: 436 kB / 0.5063 GB, free: 4.168 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.000412/0.4349, allocations: 193.2 kB / 0.5065 GB, free: 3.969 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003771/0.4386, allocations: 2.157 MB / 0.5086 GB, free: 1.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.4386, allocations: 0 / 0.5086 GB, free: 1.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002516/0.4412, allocations: 1.461 MB / 0.51 GB, free: 200 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002422/0.4436, allocations: 430.6 kB / 0.5104 GB, free: 15.79 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007514/0.4511, allocations: 4.215 MB / 0.5145 GB, free: 11.51 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001522/0.4526, allocations: 1.634 MB / 0.5161 GB, free: 9.844 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000508/0.4531, allocations: 107.4 kB / 0.5162 GB, free: 9.738 MB / 430.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4531, allocations: 3.938 kB / 0.5162 GB, free: 9.734 MB / 430.1 MB Notification: Performance of Templates: time 0.08238/0.5355, allocations: 71.24 MB / 0.5858 GB, free: 2.469 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.344741821987554]