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.001173/0.001173, allocations: 109.6 kB / 18.3 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001222/0.001222, allocations: 212.1 kB / 19.25 MB, free: 3.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 64.67 kB / 307.6 MB, free: 0.6211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1035, allocations: 50.53 MB / 358.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01082/0.1143, allocations: 9.726 MB / 367.9 MB, free: 4.309 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00612/0.1205, allocations: 3.089 MB / 371 MB, free: 1.207 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001513/0.1221, allocations: 47.81 kB / 371 MB, free: 1.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001833/0.1239, allocations: 0.6365 MB / 371.7 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1728/0.2968, allocations: 0.7404 MB / 372.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.2981, allocations: 382.5 kB / 372.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00388/0.302, allocations: 2.429 MB / 375.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002561/0.3046, allocations: 1.754 MB / 377 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00235/0.3069, allocations: 1.071 MB / 378 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002497/0.3095, allocations: 1.323 MB / 379.3 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005613/0.31, allocations: 279 kB / 379.6 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.3112, allocations: 380.9 kB / 380 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007901/0.312, allocations: 0.778 MB / 380.8 MB, free: 9.383 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001605/0.3136, allocations: 1.269 MB / 382 MB, free: 8.578 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004408/0.318, allocations: 3.615 MB / 385.7 MB, free: 7.367 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.318, allocations: 0 / 385.7 MB, free: 7.367 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.318, allocations: 0 / 385.7 MB, free: 7.367 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000109/0.3182, allocations: 1.188 kB / 385.7 MB, free: 7.367 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.006226/0.3244, allocations: 2.592 MB / 388.2 MB, free: 5.867 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.3245, allocations: 9.219 kB / 388.3 MB, free: 5.867 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009835/0.3255, allocations: 279.1 kB / 388.5 MB, free: 5.742 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00226/0.3277, allocations: 1.314 MB / 389.8 MB, free: 5.008 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.3278, allocations: 147.8 kB / 390 MB, free: 4.941 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003157/0.3282, allocations: 192.8 kB / 390.2 MB, free: 4.875 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003961/0.3321, allocations: 2.42 MB / 392.6 MB, free: 3.531 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.435e-05/0.3322, allocations: 13.83 kB / 392.6 MB, free: 3.523 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001779/0.3324, allocations: 78.84 kB / 392.7 MB, free: 3.465 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001186/0.3325, allocations: 88.69 kB / 392.8 MB, free: 3.453 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003132/0.3357, allocations: 1.963 MB / 394.7 MB, free: 2.461 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01162/0.3473, allocations: 7.853 MB / 402.6 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.349, allocations: 1.226 MB / 403.8 MB, free: 11.42 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001688/0.3508, allocations: 0.9344 MB / 404.7 MB, free: 10.49 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002435/0.351, allocations: 124.7 kB / 404.9 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.3511, allocations: 47.55 kB / 404.9 MB, free: 10.3 MB / 318.1 MB Notification: Performance of pre-optimization done (n=95): time 3.366e-06/0.3511, allocations: 0 / 404.9 MB, free: 10.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.01376/0.3648, allocations: 5.875 MB / 410.8 MB, free: 4.297 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.921e-05/0.365, allocations: 64.41 kB / 410.9 MB, free: 4.223 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002487/0.3675, allocations: 1.314 MB / 412.2 MB, free: 2.891 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001899/0.3677, allocations: 45.7 kB / 412.2 MB, free: 2.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007525/0.3684, allocations: 0.9191 MB / 413.1 MB, free: 1.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004537/0.3689, allocations: 391.4 kB / 413.5 MB, free: 1.531 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004995/0.3694, allocations: 250 kB / 413.8 MB, free: 1.281 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3696, allocations: 361.9 kB / 414.1 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.3707, allocations: 0.6403 MB / 414.8 MB, free: 288 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/0.372, allocations: 0.9948 MB / 415.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0024/0.3744, allocations: 1.736 MB / 417.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/0.3744, allocations: 8 kB / 417.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004037/0.3785, allocations: 2.245 MB / 419.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.3785, allocations: 12 kB / 419.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/0.3786, allocations: 8 kB / 419.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/0.3799, allocations: 496.2 kB / 420.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.381, allocations: 307.5 kB / 420.5 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007666/0.3887, allocations: 7.137 MB / 427.7 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.3902, allocations: 91.97 kB / 427.8 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002222/0.3905, allocations: 52 kB / 427.8 MB, free: 2.465 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.001337/0.3918, allocations: 0.6023 MB / 428.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004599/0.3923, allocations: 150.2 kB / 428.6 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003717/0.396, allocations: 1.972 MB / 430.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.396, allocations: 8 kB / 430.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.935e-05/0.3961, allocations: 11.98 kB / 430.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.3961, allocations: 3.984 kB / 430.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008246/0.4043, allocations: 4.143 MB / 434.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.4044, allocations: 4 kB / 434.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008481/0.4052, allocations: 183.8 kB / 434.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001533/0.4068, allocations: 0.5429 MB / 435.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/0.4069, allocations: 27.98 kB / 435.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008946/0.4159, allocations: 8.768 MB / 444.2 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.4159, allocations: 4 kB / 444.2 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004901/0.4208, allocations: 2.85 MB / 447.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009128/0.4218, allocations: 359.2 kB / 447.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004387/0.4222, allocations: 24 kB / 447.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.4233, allocations: 72.39 kB / 447.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002672/0.4235, allocations: 92.84 kB / 447.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.962e-05/0.4236, allocations: 27.98 kB / 447.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001651/0.4253, allocations: 0.8997 MB / 448.5 MB, free: 12.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4253, allocations: 0 / 448.5 MB, free: 12.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002077/0.4274, allocations: 447.9 kB / 449 MB, free: 12.53 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.0004888/0.4279, allocations: 179 kB / 449.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004736/0.4326, allocations: 2.572 MB / 451.7 MB, free: 9.699 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/0.4327, allocations: 4 kB / 451.7 MB, free: 9.695 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002466/0.4352, allocations: 1.498 MB / 453.2 MB, free: 8.125 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002777/0.438, allocations: 425.2 kB / 453.6 MB, free: 7.719 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008048/0.446, allocations: 4.202 MB / 457.8 MB, free: 3.465 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001656/0.4477, allocations: 1.642 MB / 459.5 MB, free: 1.793 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005466/0.4483, allocations: 99.42 kB / 459.6 MB, free: 1.695 MB / 366.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4483, allocations: 0 / 459.6 MB, free: 1.695 MB / 366.1 MB Notification: Performance of Templates: time 0.08172/0.53, allocations: 70.88 MB / 0.518 GB, free: 10.82 MB / 446.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/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