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.00154/0.00154, allocations: 112.6 kB / 18.45 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00175/0.00175, allocations: 203.9 kB / 19.4 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.621/1.621, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 60.09 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2521, allocations: 50.54 MB / 409.9 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01002/0.2621, allocations: 9.728 MB / 419.7 MB, free: 7.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005468/0.2677, allocations: 3.089 MB / 422.8 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.2689, allocations: 55.75 kB / 422.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001576/0.2705, allocations: 0.6326 MB / 423.4 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002093/0.2726, allocations: 0.7413 MB / 424.2 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008383/0.2735, allocations: 379.5 kB / 424.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002617/0.2761, allocations: 2.444 MB / 427 MB, free: 428 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001872/0.278, allocations: 1.751 MB / 428.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001459/0.2794, allocations: 1.094 MB / 429.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.2811, allocations: 1.312 MB / 431.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004315/0.2816, allocations: 280 kB / 431.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007249/0.2823, allocations: 379.8 kB / 431.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006708/0.283, allocations: 0.7713 MB / 432.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001218/0.2842, allocations: 1.276 MB / 433.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00331/0.2875, allocations: 3.657 MB / 437.5 MB, free: 5.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2876, allocations: 0 / 437.5 MB, free: 5.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.2876, allocations: 0 / 437.5 MB, free: 5.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.199e-05/0.2877, allocations: 0 / 437.5 MB, free: 5.836 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.005259/0.2929, allocations: 2.595 MB / 440.1 MB, free: 3.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.293, allocations: 12.03 kB / 440.1 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008093/0.2938, allocations: 274 kB / 440.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002528/0.2963, allocations: 1.361 MB / 441.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.2965, allocations: 140.2 kB / 441.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003206/0.2968, allocations: 207.8 kB / 442.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004066/0.3009, allocations: 2.415 MB / 444.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.018e-05/0.301, allocations: 7.906 kB / 444.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000167/0.3011, allocations: 76 kB / 444.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9e-05/0.3012, allocations: 91.67 kB / 444.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003388/0.3046, allocations: 1.962 MB / 446.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01218/0.3168, allocations: 7.754 MB / 454.4 MB, free: 4.555 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/0.3185, allocations: 1.239 MB / 455.6 MB, free: 3.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001841/0.3204, allocations: 0.9595 MB / 456.6 MB, free: 2.312 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002358/0.3206, allocations: 122.1 kB / 456.7 MB, free: 2.172 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.3207, allocations: 43.56 kB / 456.7 MB, free: 2.121 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.795e-06/0.3207, allocations: 0 / 456.7 MB, free: 2.121 MB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.01255/0.3332, allocations: 5.87 MB / 462.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.3333, allocations: 68.34 kB / 462.7 MB, free: 12.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001751/0.3351, allocations: 1.306 MB / 464 MB, free: 10.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.796e-05/0.3352, allocations: 41.7 kB / 464 MB, free: 10.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000623/0.3358, allocations: 0.9276 MB / 465 MB, free: 9.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003044/0.3361, allocations: 394.4 kB / 465.3 MB, free: 9.328 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003747/0.3365, allocations: 251.5 kB / 465.6 MB, free: 9.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.3366, allocations: 361.9 kB / 465.9 MB, free: 8.719 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009576/0.3376, allocations: 0.6325 MB / 466.6 MB, free: 8.086 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/0.3388, allocations: 1.004 MB / 467.6 MB, free: 6.934 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002231/0.341, allocations: 1.735 MB / 469.3 MB, free: 5.047 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.341, allocations: 4 kB / 469.3 MB, free: 5.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003757/0.3448, allocations: 2.249 MB / 471.6 MB, free: 2.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.3448, allocations: 10.66 kB / 471.6 MB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/0.3449, allocations: 12 kB / 471.6 MB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/0.3462, allocations: 0.4919 MB / 472.1 MB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.3473, allocations: 295.6 kB / 472.4 MB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006748/0.354, allocations: 7.128 MB / 479.5 MB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.3553, allocations: 83.92 kB / 479.6 MB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.3554, allocations: 60.05 kB / 479.6 MB, free: 10.27 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.0009818/0.3564, allocations: 0.6026 MB / 480.2 MB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000285/0.3567, allocations: 146.2 kB / 480.4 MB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003259/0.36, allocations: 1.976 MB / 482.4 MB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.36, allocations: 12 kB / 482.4 MB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.36, allocations: 4 kB / 482.4 MB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.36, allocations: 3.984 kB / 482.4 MB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006803/0.3668, allocations: 4.117 MB / 486.5 MB, free: 3.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.3669, allocations: 3.938 kB / 486.5 MB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008352/0.3677, allocations: 192 kB / 486.7 MB, free: 3.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001436/0.3692, allocations: 0.5347 MB / 487.2 MB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.567e-05/0.3693, allocations: 35.86 kB / 487.3 MB, free: 2.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007837/0.3771, allocations: 8.758 MB / 496 MB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/0.3771, allocations: 12.03 kB / 496 MB, free: 9.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004254/0.3814, allocations: 2.848 MB / 498.9 MB, free: 6.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008116/0.3822, allocations: 359.2 kB / 499.2 MB, free: 5.879 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/0.3824, allocations: 27.98 kB / 499.3 MB, free: 5.852 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007668/0.3832, allocations: 63.92 kB / 499.3 MB, free: 5.789 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002276/0.3835, allocations: 88.86 kB / 499.4 MB, free: 5.703 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-05/0.3835, allocations: 39.98 kB / 499.4 MB, free: 5.664 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001198/0.3847, allocations: 0.8918 MB / 0.4886 GB, free: 4.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3848, allocations: 0 / 0.4886 GB, free: 4.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001479/0.3862, allocations: 436 kB / 0.489 GB, free: 4.344 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.000374/0.3866, allocations: 191 kB / 0.4892 GB, free: 4.145 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0036/0.3902, allocations: 2.235 MB / 0.4914 GB, free: 1.828 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.3903, allocations: 0 / 0.4914 GB, free: 1.828 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00225/0.3925, allocations: 1.499 MB / 0.4928 GB, free: 264 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00202/0.3946, allocations: 426.7 kB / 0.4933 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006347/0.4009, allocations: 4.16 MB / 0.4973 GB, free: 11.63 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001204/0.4022, allocations: 1.63 MB / 0.4989 GB, free: 9.965 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004405/0.4026, allocations: 107.4 kB / 0.499 GB, free: 9.859 MB / 430.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4026, allocations: 0 / 0.499 GB, free: 9.859 MB / 430.1 MB Notification: Performance of Templates: time 0.4288/0.8314, allocations: 71.34 MB / 0.5687 GB, free: 107.2 MB / 462.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