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.001172/0.001172, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001269/0.001269, allocations: 206.4 kB / 18.58 MB, free: 4.582 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.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 58.62 kB / 307.1 MB, free: 0.543 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08856/0.08986, allocations: 50.53 MB / 357.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01094/0.1008, allocations: 9.737 MB / 367.3 MB, free: 4.223 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006265/0.1071, allocations: 3.093 MB / 370.4 MB, free: 1.117 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/0.1085, allocations: 47.81 kB / 370.5 MB, free: 1.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002072/0.1106, allocations: 0.6287 MB / 371.1 MB, free: 448 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1717/0.2823, allocations: 0.7403 MB / 371.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.2836, allocations: 386.7 kB / 372.2 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003388/0.287, allocations: 2.419 MB / 374.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002848/0.2899, allocations: 1.748 MB / 376.4 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002138/0.292, allocations: 1.078 MB / 377.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002297/0.2943, allocations: 1.314 MB / 378.8 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008351/0.2952, allocations: 278.6 kB / 379 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001522/0.2967, allocations: 382.7 kB / 379.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001161/0.2979, allocations: 0.7769 MB / 380.2 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002694/0.3006, allocations: 1.271 MB / 381.5 MB, free: 8.645 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004733/0.3053, allocations: 3.62 MB / 385.1 MB, free: 7.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.3054, allocations: 0 / 385.1 MB, free: 7.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3054, allocations: 6.469 kB / 385.1 MB, free: 7.426 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.675e-05/0.3055, allocations: 1.125 kB / 385.1 MB, free: 7.426 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.006032/0.3115, allocations: 2.589 MB / 387.7 MB, free: 5.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.3116, allocations: 8.938 kB / 387.7 MB, free: 5.93 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004115/0.312, allocations: 273.5 kB / 388 MB, free: 5.766 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009389/0.3129, allocations: 282.9 kB / 388.2 MB, free: 5.637 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00214/0.3151, allocations: 1.322 MB / 389.6 MB, free: 4.898 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.3152, allocations: 141 kB / 389.7 MB, free: 4.836 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003068/0.3155, allocations: 194 kB / 389.9 MB, free: 4.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003791/0.3193, allocations: 2.419 MB / 392.3 MB, free: 3.359 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.876e-05/0.3194, allocations: 14.41 kB / 392.3 MB, free: 3.352 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001729/0.3196, allocations: 72.66 kB / 392.4 MB, free: 3.297 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.325e-05/0.3197, allocations: 92.17 kB / 392.5 MB, free: 3.281 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003099/0.3228, allocations: 1.958 MB / 394.4 MB, free: 2.293 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01133/0.3341, allocations: 7.857 MB / 402.3 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/0.3358, allocations: 1.234 MB / 403.5 MB, free: 11.15 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/0.3375, allocations: 0.9352 MB / 404.5 MB, free: 10.22 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002473/0.3378, allocations: 121.6 kB / 404.6 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.3378, allocations: 47.5 kB / 404.6 MB, free: 10.03 MB / 318.1 MB Notification: Performance of pre-optimization done (n=95): time 3.386e-06/0.3378, allocations: 0 / 404.6 MB, free: 10.03 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.01258/0.3504, allocations: 5.877 MB / 410.5 MB, free: 4.023 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.3505, allocations: 60.41 kB / 410.6 MB, free: 3.953 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002108/0.3526, allocations: 1.314 MB / 411.9 MB, free: 2.621 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001078/0.3527, allocations: 41.7 kB / 411.9 MB, free: 2.574 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007007/0.3534, allocations: 0.919 MB / 412.8 MB, free: 1.645 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000291/0.3537, allocations: 396.4 kB / 413.2 MB, free: 1.262 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000366/0.3541, allocations: 251.4 kB / 413.5 MB, free: 1.008 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.3543, allocations: 361.9 kB / 413.8 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009239/0.3552, allocations: 0.6364 MB / 414.5 MB, free: 12 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/0.3565, allocations: 1 MB / 415.5 MB, free: 14.86 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002288/0.3588, allocations: 1.733 MB / 417.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.3588, allocations: 4 kB / 417.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003756/0.3625, allocations: 2.253 MB / 419.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.3626, allocations: 10.97 kB / 419.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/0.3626, allocations: 12 kB / 419.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/0.3639, allocations: 496 kB / 420 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.365, allocations: 299.6 kB / 420.2 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007253/0.3723, allocations: 7.138 MB / 427.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.3738, allocations: 87.98 kB / 427.5 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002168/0.374, allocations: 55.98 kB / 427.5 MB, free: 2.191 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.001395/0.3754, allocations: 0.6027 MB / 428.1 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004936/0.3759, allocations: 146.2 kB / 428.3 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003679/0.3796, allocations: 1.972 MB / 430.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.3797, allocations: 15.98 kB / 430.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-05/0.3797, allocations: 4.062 kB / 430.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/0.3797, allocations: 7.984 kB / 430.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008014/0.3877, allocations: 4.145 MB / 434.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.3878, allocations: 0 / 434.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000857/0.3887, allocations: 187.7 kB / 434.6 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001523/0.3902, allocations: 0.5469 MB / 435.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/0.3903, allocations: 31.92 kB / 435.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008518/0.3988, allocations: 8.76 MB / 443.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/0.3989, allocations: 3.938 kB / 443.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00462/0.4035, allocations: 2.849 MB / 446.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008465/0.4044, allocations: 351.2 kB / 447.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003864/0.4048, allocations: 27.98 kB / 447.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.4058, allocations: 75.92 kB / 447.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002645/0.4061, allocations: 88.84 kB / 447.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.744e-05/0.4062, allocations: 28 kB / 447.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001743/0.408, allocations: 0.8918 MB / 448.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.533e-06/0.408, allocations: 4 kB / 448.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00196/0.4099, allocations: 447.9 kB / 448.7 MB, free: 12.26 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.005299/0.4153, allocations: 3.471 MB / 452.1 MB, free: 8.719 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004534/0.4198, allocations: 2.571 MB / 454.7 MB, free: 6.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.4199, allocations: 1.938 kB / 454.7 MB, free: 6.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002386/0.4222, allocations: 1.508 MB / 456.2 MB, free: 4.488 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002774/0.425, allocations: 417.9 kB / 456.6 MB, free: 4.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02671/0.4518, allocations: 16.98 MB / 473.6 MB, free: 2.152 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001893/0.4537, allocations: 1.65 MB / 475.3 MB, free: 484 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001206/0.4549, allocations: 328.8 kB / 475.6 MB, free: 148 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/0.4562, allocations: 0.7223 MB / 476.3 MB, free: 15.44 MB / 398.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4562, allocations: 0 / 476.3 MB, free: 15.44 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07993/0.5361, allocations: 38.89 MB / 0.5031 GB, free: 8.945 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.59, allocations: 7.922 kB / 0.5031 GB, free: 8.938 MB / 430.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