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.001507/0.001507, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001757/0.001757, allocations: 206 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 67.88 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2292, allocations: 50.54 MB / 408.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.009965/0.2392, allocations: 9.73 MB / 418.5 MB, free: 7.762 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005021/0.2443, allocations: 3.084 MB / 421.6 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008176/0.2451, allocations: 51.81 kB / 421.6 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.2466, allocations: 0.6638 MB / 422.3 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001663/0.2482, allocations: 0.7804 MB / 423.1 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006981/0.2489, allocations: 383.4 kB / 423.5 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002135/0.2511, allocations: 2.444 MB / 425.9 MB, free: 352 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001772/0.2529, allocations: 1.743 MB / 427.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001248/0.2541, allocations: 1.098 MB / 428.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001444/0.2556, allocations: 1.315 MB / 430.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003354/0.2559, allocations: 280 kB / 430.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005808/0.2565, allocations: 375.8 kB / 430.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006585/0.2572, allocations: 0.783 MB / 431.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001119/0.2583, allocations: 1.268 MB / 432.8 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003326/0.2617, allocations: 3.674 MB / 436.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2617, allocations: 0 / 436.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2617, allocations: 0 / 436.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.986e-05/0.2617, allocations: 0 / 436.4 MB, free: 5.742 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.004508/0.2663, allocations: 2.655 MB / 439.1 MB, free: 3.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.2663, allocations: 16.03 kB / 439.1 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003114/0.2666, allocations: 274.6 kB / 439.4 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007551/0.2674, allocations: 283.3 kB / 439.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002199/0.2696, allocations: 1.378 MB / 441 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.2697, allocations: 147.9 kB / 441.2 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002697/0.27, allocations: 188 kB / 441.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003665/0.2737, allocations: 2.422 MB / 443.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.085e-05/0.2737, allocations: 4 kB / 443.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001683/0.2739, allocations: 76 kB / 443.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.915e-05/0.274, allocations: 91.67 kB / 443.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002975/0.277, allocations: 1.959 MB / 445.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01071/0.2877, allocations: 7.791 MB / 453.7 MB, free: 4.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.2893, allocations: 1.235 MB / 454.9 MB, free: 2.789 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001711/0.291, allocations: 0.9673 MB / 455.9 MB, free: 1.824 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002081/0.2912, allocations: 118.1 kB / 456 MB, free: 1.688 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.2913, allocations: 47.5 kB / 456.1 MB, free: 1.633 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.665e-06/0.2913, allocations: 0 / 456.1 MB, free: 1.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.0119/0.3032, allocations: 5.9 MB / 462 MB, free: 11.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.3033, allocations: 64.34 kB / 462 MB, free: 11.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/0.305, allocations: 1.306 MB / 463.3 MB, free: 10.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.551e-05/0.3051, allocations: 45.7 kB / 463.4 MB, free: 10.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005872/0.3057, allocations: 0.9458 MB / 464.3 MB, free: 9.191 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002896/0.306, allocations: 412.5 kB / 464.7 MB, free: 8.785 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003606/0.3063, allocations: 255.5 kB / 465 MB, free: 8.531 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3065, allocations: 357.9 kB / 465.3 MB, free: 8.176 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009243/0.3074, allocations: 0.6364 MB / 466 MB, free: 7.539 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/0.3086, allocations: 1.004 MB / 467 MB, free: 6.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002144/0.3107, allocations: 1.735 MB / 468.7 MB, free: 4.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-06/0.3107, allocations: 4 kB / 468.7 MB, free: 4.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003564/0.3143, allocations: 2.254 MB / 470.9 MB, free: 2.219 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.3143, allocations: 8 kB / 471 MB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.3144, allocations: 12 kB / 471 MB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/0.3155, allocations: 496.1 kB / 471.5 MB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.3166, allocations: 303.6 kB / 471.7 MB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006665/0.3232, allocations: 7.135 MB / 478.9 MB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.3243, allocations: 79.92 kB / 479 MB, free: 9.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.3245, allocations: 59.98 kB / 479 MB, free: 9.711 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.001006/0.3255, allocations: 0.6105 MB / 479.6 MB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003192/0.3258, allocations: 155 kB / 479.8 MB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003201/0.329, allocations: 1.965 MB / 481.7 MB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.329, allocations: 8 kB / 481.8 MB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.3291, allocations: 12.06 kB / 481.8 MB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.3291, allocations: 7.984 kB / 481.8 MB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006392/0.3355, allocations: 4.132 MB / 485.9 MB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.3355, allocations: 0 / 485.9 MB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007957/0.3363, allocations: 183.7 kB / 486.1 MB, free: 2.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001402/0.3377, allocations: 0.5429 MB / 486.6 MB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.649e-05/0.3378, allocations: 27.98 kB / 486.7 MB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007763/0.3456, allocations: 8.762 MB / 495.4 MB, free: 8.598 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.3456, allocations: 4.031 kB / 495.4 MB, free: 8.594 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004306/0.3499, allocations: 2.86 MB / 498.3 MB, free: 5.672 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007539/0.3507, allocations: 356 kB / 498.6 MB, free: 5.305 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/0.3509, allocations: 27.98 kB / 498.7 MB, free: 5.277 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007627/0.3517, allocations: 71.92 kB / 498.7 MB, free: 5.207 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002205/0.3519, allocations: 88.86 kB / 498.8 MB, free: 5.121 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-05/0.352, allocations: 31.98 kB / 498.8 MB, free: 5.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001234/0.3532, allocations: 0.8918 MB / 499.7 MB, free: 4.195 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3532, allocations: 4 kB / 499.7 MB, free: 4.191 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001469/0.3547, allocations: 443.9 kB / 0.4885 GB, free: 3.758 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.004585/0.3593, allocations: 3.487 MB / 0.4919 GB, free: 200 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003318/0.3626, allocations: 2.246 MB / 0.4941 GB, free: 13.87 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.3627, allocations: 1.938 kB / 0.4941 GB, free: 13.87 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002284/0.3649, allocations: 1.494 MB / 0.4955 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002325/0.3673, allocations: 430 kB / 0.4959 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02195/0.3893, allocations: 15.71 MB / 0.5113 GB, free: 11.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001204/0.3905, allocations: 1.654 MB / 0.5129 GB, free: 9.941 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008939/0.3914, allocations: 324.8 kB / 0.5132 GB, free: 9.617 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008482/0.3923, allocations: 0.718 MB / 0.5139 GB, free: 8.898 MB / 446.1 MB Notification: Performance of SimCode: time 9.21e-07/0.3923, allocations: 4 kB / 0.5139 GB, free: 8.895 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2466/0.6389, allocations: 39.62 MB / 0.5526 GB, free: 123.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.8/19.44, allocations: 4.266 kB / 0.5526 GB, free: 123.6 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.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