Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 111.6 kB / 17.06 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001881/0.001882, allocations: 198.9 kB / 18.01 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001037/0.001037, allocations: 43.92 kB / 350.8 MB, free: 3.711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2402, allocations: 49.44 MB / 400.3 MB, free: 8.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01115/0.2514, allocations: 9.687 MB / 409.9 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005552/0.257, allocations: 3.025 MB / 413 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00117/0.2582, allocations: 47.81 kB / 413 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001716/0.26, allocations: 0.6522 MB / 413.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002373/0.2623, allocations: 0.7804 MB / 414.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000983/0.2633, allocations: 379.4 kB / 414.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002982/0.2663, allocations: 2.43 MB / 417.3 MB, free: 7.719 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002267/0.2686, allocations: 1.743 MB / 419 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001478/0.2701, allocations: 1.078 MB / 420.1 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00184/0.272, allocations: 1.312 MB / 421.4 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004289/0.2724, allocations: 280 kB / 421.7 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006973/0.2731, allocations: 367.8 kB / 422 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006982/0.2738, allocations: 0.7869 MB / 422.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001272/0.2751, allocations: 1.26 MB / 424.1 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003418/0.2785, allocations: 3.659 MB / 427.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2786, allocations: 0 / 427.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2786, allocations: 0 / 427.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.542e-05/0.2786, allocations: 0 / 427.7 MB, free: 13.17 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.004563/0.2832, allocations: 2.643 MB / 430.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.2832, allocations: 12.02 kB / 430.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003243/0.2836, allocations: 278.6 kB / 430.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006447/0.2842, allocations: 275.4 kB / 430.9 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002232/0.2865, allocations: 1.358 MB / 432.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.2866, allocations: 144.2 kB / 432.4 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000297/0.2869, allocations: 199.9 kB / 432.6 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003948/0.2908, allocations: 2.415 MB / 435 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.588e-05/0.2909, allocations: 11.95 kB / 435 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001757/0.2911, allocations: 75.98 kB / 435.1 MB, free: 5.617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001066/0.2912, allocations: 87.69 kB / 435.2 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003053/0.2943, allocations: 1.962 MB / 437.2 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01091/0.3052, allocations: 7.787 MB / 444.9 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/0.3069, allocations: 1.228 MB / 446.2 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001834/0.3087, allocations: 0.9716 MB / 447.1 MB, free: 9.289 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002514/0.309, allocations: 122.1 kB / 447.3 MB, free: 9.148 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.309, allocations: 43.56 kB / 447.3 MB, free: 9.098 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 3.006e-06/0.309, allocations: 0 / 447.3 MB, free: 9.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.01227/0.3213, allocations: 5.904 MB / 453.2 MB, free: 3.062 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.3214, allocations: 64.34 kB / 453.3 MB, free: 2.984 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001704/0.3231, allocations: 1.306 MB / 454.6 MB, free: 1.672 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.807e-05/0.3232, allocations: 45.7 kB / 454.6 MB, free: 1.621 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006225/0.3238, allocations: 0.9419 MB / 455.6 MB, free: 0.668 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002896/0.3241, allocations: 404.5 kB / 456 MB, free: 276 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003723/0.3245, allocations: 251.5 kB / 456.2 MB, free: 20 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3247, allocations: 361.9 kB / 456.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009494/0.3256, allocations: 0.6364 MB / 457.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.3268, allocations: 1 MB / 458.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002198/0.329, allocations: 1.731 MB / 459.9 MB, free: 11.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.329, allocations: 7.938 kB / 459.9 MB, free: 11.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003557/0.3326, allocations: 2.257 MB / 462.2 MB, free: 9.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.3326, allocations: 8 kB / 462.2 MB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.3326, allocations: 12 kB / 462.2 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001162/0.3338, allocations: 0.4884 MB / 462.7 MB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.3349, allocations: 303.5 kB / 463 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006979/0.3419, allocations: 7.127 MB / 470.1 MB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.343, allocations: 83.91 kB / 470.2 MB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.541e-05/0.3431, allocations: 56.06 kB / 470.3 MB, free: 1.203 MB / 382.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.0009635/0.3441, allocations: 0.6082 MB / 470.9 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002517/0.3444, allocations: 155 kB / 471 MB, free: 444 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003322/0.3477, allocations: 1.961 MB / 473 MB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.3477, allocations: 12 kB / 473 MB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.3477, allocations: 7.984 kB / 473 MB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.3478, allocations: 3.984 kB / 473 MB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006772/0.3545, allocations: 4.117 MB / 477.1 MB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/0.3546, allocations: 3.984 kB / 477.1 MB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008253/0.3554, allocations: 188 kB / 477.3 MB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001434/0.3568, allocations: 0.5413 MB / 477.9 MB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.139e-05/0.3569, allocations: 35.92 kB / 477.9 MB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008163/0.3651, allocations: 8.754 MB / 486.6 MB, free: 124 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3651, allocations: 7.969 kB / 486.6 MB, free: 116 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004297/0.3694, allocations: 2.856 MB / 489.5 MB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007275/0.3702, allocations: 364 kB / 489.9 MB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002047/0.3704, allocations: 27.98 kB / 489.9 MB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000795/0.3712, allocations: 67.92 kB / 490 MB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001948/0.3714, allocations: 92.84 kB / 490 MB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.87e-05/0.3715, allocations: 35.98 kB / 490.1 MB, free: 12.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001211/0.3727, allocations: 0.8839 MB / 491 MB, free: 11.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3727, allocations: 0 / 491 MB, free: 11.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001409/0.3741, allocations: 439.9 kB / 491.4 MB, free: 11.29 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.004657/0.3788, allocations: 3.498 MB / 494.9 MB, free: 7.715 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003348/0.3822, allocations: 2.243 MB / 497.1 MB, free: 5.391 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3822, allocations: 0.6875 kB / 497.1 MB, free: 5.391 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002191/0.3844, allocations: 1.502 MB / 498.6 MB, free: 3.816 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/0.3862, allocations: 416.6 kB / 499 MB, free: 3.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02183/0.4081, allocations: 15.67 MB / 0.5026 GB, free: 3.191 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001307/0.4094, allocations: 1.65 MB / 0.5043 GB, free: 1.504 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009312/0.4104, allocations: 324.8 kB / 0.5046 GB, free: 1.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008995/0.4113, allocations: 0.718 MB / 0.5053 GB, free: 472 kB / 430.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4113, allocations: 0 / 0.5053 GB, free: 472 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2578/0.6691, allocations: 39.49 MB / 0.5438 GB, free: 133.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.95/19.62, allocations: 0.625 kB / 0.5438 GB, free: 133.8 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches