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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001534/0.001534, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001672/0.001672, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 71.88 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2536, allocations: 50.54 MB / 408.8 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01255/0.2662, allocations: 9.729 MB / 418.5 MB, free: 7.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007013/0.2732, allocations: 3.096 MB / 421.6 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0014/0.2747, allocations: 47.81 kB / 421.6 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001756/0.2765, allocations: 0.6287 MB / 422.3 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002667/0.2792, allocations: 0.7413 MB / 423 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.2802, allocations: 387.4 kB / 423.4 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003201/0.2834, allocations: 2.44 MB / 425.8 MB, free: 432 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002235/0.2857, allocations: 1.751 MB / 427.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001701/0.2874, allocations: 1.078 MB / 428.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001844/0.2893, allocations: 1.315 MB / 430 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003937/0.2897, allocations: 280 kB / 430.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007361/0.2904, allocations: 375.8 kB / 430.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008118/0.2912, allocations: 0.7791 MB / 431.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001429/0.2927, allocations: 1.272 MB / 432.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004196/0.2969, allocations: 3.67 MB / 436.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2969, allocations: 0 / 436.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2969, allocations: 0 / 436.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.966e-05/0.297, allocations: 4 kB / 436.3 MB, free: 5.832 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.005314/0.3023, allocations: 2.655 MB / 439 MB, free: 3.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.3024, allocations: 8.031 kB / 439 MB, free: 3.109 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000361/0.3027, allocations: 278.6 kB / 439.3 MB, free: 2.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008328/0.3036, allocations: 291.3 kB / 439.6 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002436/0.306, allocations: 1.37 MB / 440.9 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.3062, allocations: 147.9 kB / 441.1 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003062/0.3065, allocations: 192 kB / 441.3 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003983/0.3105, allocations: 2.419 MB / 443.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.202e-05/0.3106, allocations: 8 kB / 443.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001778/0.3107, allocations: 72 kB / 443.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001012/0.3109, allocations: 95.67 kB / 443.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003399/0.3143, allocations: 1.959 MB / 445.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01234/0.3266, allocations: 7.788 MB / 453.6 MB, free: 4.164 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/0.3284, allocations: 1.231 MB / 454.8 MB, free: 2.887 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001855/0.3303, allocations: 0.9799 MB / 455.8 MB, free: 1.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002364/0.3305, allocations: 118.1 kB / 455.9 MB, free: 1.773 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.3306, allocations: 47.5 kB / 456 MB, free: 1.719 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.996e-06/0.3306, allocations: 0 / 456 MB, free: 1.719 MB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.01274/0.3433, allocations: 5.896 MB / 461.9 MB, free: 11.69 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.3434, allocations: 72.33 kB / 461.9 MB, free: 11.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002006/0.3454, allocations: 1.302 MB / 463.2 MB, free: 10.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.3455, allocations: 45.7 kB / 463.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007527/0.3463, allocations: 0.9419 MB / 464.2 MB, free: 9.281 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003462/0.3466, allocations: 408.5 kB / 464.6 MB, free: 8.879 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004054/0.3471, allocations: 263.5 kB / 464.9 MB, free: 8.617 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.3473, allocations: 357.9 kB / 465.2 MB, free: 8.262 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.3483, allocations: 0.6364 MB / 465.9 MB, free: 7.625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/0.3496, allocations: 1 MB / 466.9 MB, free: 6.477 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002403/0.3521, allocations: 1.735 MB / 468.6 MB, free: 4.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.3521, allocations: 4 kB / 468.6 MB, free: 4.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003909/0.356, allocations: 2.257 MB / 470.9 MB, free: 2.305 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.356, allocations: 10.66 kB / 470.9 MB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.3561, allocations: 12 kB / 470.9 MB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/0.3573, allocations: 492.2 kB / 471.4 MB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.3584, allocations: 295.6 kB / 471.7 MB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007709/0.3661, allocations: 7.139 MB / 478.8 MB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.3673, allocations: 83.91 kB / 478.9 MB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.3674, allocations: 56.19 kB / 478.9 MB, free: 9.805 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.001054/0.3685, allocations: 0.6105 MB / 479.5 MB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002863/0.3688, allocations: 159 kB / 479.7 MB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00355/0.3724, allocations: 1.969 MB / 481.7 MB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.3724, allocations: 12 kB / 481.7 MB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.3724, allocations: 4 kB / 481.7 MB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.3724, allocations: 3.984 kB / 481.7 MB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007088/0.3795, allocations: 4.129 MB / 485.8 MB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.3795, allocations: 0 / 485.8 MB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008304/0.3804, allocations: 187.7 kB / 486 MB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001481/0.3819, allocations: 0.5429 MB / 486.5 MB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.228e-05/0.382, allocations: 27.98 kB / 486.6 MB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009293/0.3913, allocations: 8.765 MB / 495.3 MB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.3913, allocations: 12.03 kB / 495.4 MB, free: 8.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004918/0.3962, allocations: 2.856 MB / 498.2 MB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008556/0.3971, allocations: 356 kB / 498.6 MB, free: 5.395 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/0.3973, allocations: 27.98 kB / 498.6 MB, free: 5.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007475/0.3981, allocations: 67.92 kB / 498.6 MB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002523/0.3984, allocations: 88.86 kB / 498.7 MB, free: 5.215 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.122e-05/0.3984, allocations: 31.98 kB / 498.8 MB, free: 5.184 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001372/0.3998, allocations: 0.8958 MB / 499.7 MB, free: 4.285 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3998, allocations: 0 / 499.7 MB, free: 4.285 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001579/0.4014, allocations: 439.9 kB / 0.4884 GB, free: 3.855 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.005345/0.4068, allocations: 3.498 MB / 0.4918 GB, free: 292 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003788/0.4106, allocations: 2.247 MB / 0.494 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.4106, allocations: 0 / 0.494 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002473/0.4131, allocations: 1.496 MB / 0.4954 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/0.4152, allocations: 419.6 kB / 0.4958 GB, free: 11.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02663/0.4419, allocations: 15.71 MB / 0.5112 GB, free: 11.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00155/0.4435, allocations: 1.654 MB / 0.5128 GB, free: 10.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001093/0.4446, allocations: 320.8 kB / 0.5131 GB, free: 9.715 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009949/0.4456, allocations: 0.7258 MB / 0.5138 GB, free: 8.988 MB / 446.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4456, allocations: 0 / 0.5138 GB, free: 8.988 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2805/0.7261, allocations: 39.62 MB / 0.5525 GB, free: 123.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.17/20.9, allocations: 13.42 kB / 0.5525 GB, free: 123.7 MB / 462.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches