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.001349/0.001348, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001309/0.001309, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 64.3 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08652/0.08766, allocations: 50.53 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01073/0.09843, allocations: 9.736 MB / 368.6 MB, free: 3.551 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006488/0.105, allocations: 3.089 MB / 371.7 MB, free: 460 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/0.1061, allocations: 47.81 kB / 371.8 MB, free: 412 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1678/0.274, allocations: 0.6259 MB / 372.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002574/0.2766, allocations: 0.7461 MB / 373.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009202/0.2775, allocations: 389.5 kB / 373.5 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002655/0.2802, allocations: 2.437 MB / 376 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001827/0.282, allocations: 1.755 MB / 377.7 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001635/0.2837, allocations: 1.077 MB / 378.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001833/0.2855, allocations: 1.313 MB / 380.1 MB, free: 9.891 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003794/0.2859, allocations: 278.5 kB / 380.4 MB, free: 9.891 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007479/0.2867, allocations: 382.8 kB / 380.8 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006707/0.2873, allocations: 0.7709 MB / 381.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001186/0.2885, allocations: 1.274 MB / 382.8 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003255/0.2918, allocations: 3.66 MB / 386.5 MB, free: 7.395 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2918, allocations: 1.188 kB / 386.5 MB, free: 7.395 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2918, allocations: 4 kB / 386.5 MB, free: 7.391 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.739e-05/0.2919, allocations: 0 / 386.5 MB, free: 7.391 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.004507/0.2964, allocations: 2.585 MB / 389.1 MB, free: 5.809 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.2965, allocations: 12.88 kB / 389.1 MB, free: 5.805 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007806/0.2972, allocations: 277.5 kB / 389.3 MB, free: 5.672 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002202/0.2995, allocations: 1.354 MB / 390.7 MB, free: 4.691 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.2996, allocations: 144.2 kB / 390.8 MB, free: 4.625 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002891/0.2999, allocations: 192.3 kB / 391 MB, free: 4.562 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003717/0.3036, allocations: 2.43 MB / 393.5 MB, free: 3.133 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-05/0.3037, allocations: 6.656 kB / 393.5 MB, free: 3.129 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001647/0.3038, allocations: 76.5 kB / 393.5 MB, free: 3.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.805e-05/0.3039, allocations: 93.27 kB / 393.6 MB, free: 3.055 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00296/0.3069, allocations: 1.959 MB / 395.6 MB, free: 2.059 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01114/0.3181, allocations: 7.766 MB / 403.4 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.3198, allocations: 1.223 MB / 404.6 MB, free: 10.83 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/0.3214, allocations: 0.9458 MB / 405.5 MB, free: 9.895 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002417/0.3216, allocations: 124.6 kB / 405.6 MB, free: 9.758 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.3217, allocations: 39.56 kB / 405.7 MB, free: 9.707 MB / 318.1 MB Notification: Performance of pre-optimization done (n=95): time 2.365e-06/0.3217, allocations: 0 / 405.7 MB, free: 9.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.01258/0.3343, allocations: 5.868 MB / 411.5 MB, free: 3.711 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.3343, allocations: 64.41 kB / 411.6 MB, free: 3.637 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/0.3362, allocations: 1.314 MB / 412.9 MB, free: 2.305 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.507e-05/0.3363, allocations: 45.7 kB / 413 MB, free: 2.254 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006052/0.3369, allocations: 0.9289 MB / 413.9 MB, free: 1.316 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002898/0.3372, allocations: 387.1 kB / 414.3 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003876/0.3376, allocations: 251.4 kB / 414.5 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3378, allocations: 357.9 kB / 414.9 MB, free: 340 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009635/0.3388, allocations: 0.6364 MB / 415.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.34, allocations: 1.008 MB / 416.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002277/0.3423, allocations: 1.731 MB / 418.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.3423, allocations: 4 kB / 418.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003639/0.3459, allocations: 2.241 MB / 420.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.346, allocations: 15.98 kB / 420.5 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.346, allocations: 11.94 kB / 420.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/0.3472, allocations: 0.4962 MB / 421 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.3482, allocations: 299.6 kB / 421.3 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006978/0.3552, allocations: 7.129 MB / 428.4 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.3564, allocations: 83.91 kB / 428.5 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.3566, allocations: 56 kB / 428.6 MB, free: 1.875 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.001045/0.3576, allocations: 0.6066 MB / 429.2 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002378/0.3579, allocations: 146.2 kB / 429.3 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003346/0.3612, allocations: 1.961 MB / 431.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.3612, allocations: 16 kB / 431.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.3612, allocations: 4 kB / 431.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.3613, allocations: 7.984 kB / 431.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006744/0.368, allocations: 4.129 MB / 435.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.368, allocations: 4 kB / 435.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008129/0.3689, allocations: 183.7 kB / 435.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001441/0.3703, allocations: 0.539 MB / 436.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.521e-05/0.3704, allocations: 27.98 kB / 436.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008653/0.3791, allocations: 8.767 MB / 445 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.3791, allocations: 4 kB / 445 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004683/0.3838, allocations: 2.85 MB / 447.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008913/0.3847, allocations: 355.2 kB / 448.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002152/0.3849, allocations: 32.05 kB / 448.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008007/0.3857, allocations: 71.92 kB / 448.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002411/0.386, allocations: 88.86 kB / 448.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.453e-05/0.3861, allocations: 31.98 kB / 448.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001363/0.3874, allocations: 0.8958 MB / 449.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.3874, allocations: 4 kB / 449.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001707/0.3891, allocations: 440 kB / 449.7 MB, free: 11.96 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.0003874/0.3895, allocations: 186.5 kB / 449.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003389/0.3929, allocations: 2.233 MB / 452.1 MB, free: 9.465 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.393, allocations: 0 / 452.1 MB, free: 9.465 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002286/0.3953, allocations: 1.506 MB / 453.6 MB, free: 7.887 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/0.3973, allocations: 422.7 kB / 454 MB, free: 7.492 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006628/0.4039, allocations: 4.108 MB / 458.1 MB, free: 3.336 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/0.4053, allocations: 1.65 MB / 459.8 MB, free: 1.656 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001028/0.4064, allocations: 328.7 kB / 460.1 MB, free: 1.328 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/0.4067, allocations: 99.42 kB / 460.2 MB, free: 1.23 MB / 366.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4067, allocations: 3.938 kB / 460.2 MB, free: 1.227 MB / 366.1 MB Notification: Performance of Templates: time 0.03964/0.4463, allocations: 23.78 MB / 484 MB, free: 9.711 MB / 398.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 -s gbode -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