Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.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_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00118/0.00118, allocations: 116.1 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001285/0.001285, 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.311/1.311, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 59.91 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2305, allocations: 50.54 MB / 408.8 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01007/0.2406, allocations: 8.881 MB / 417.6 MB, free: 8.645 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005141/0.2458, allocations: 2.886 MB / 420.5 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.2471, allocations: 43.81 kB / 420.6 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001904/0.249, allocations: 0.6396 MB / 421.2 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002417/0.2515, allocations: 0.7457 MB / 422 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009098/0.2524, allocations: 327.5 kB / 422.3 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002814/0.2552, allocations: 2.229 MB / 424.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002275/0.2575, allocations: 1.734 MB / 426.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001678/0.2592, allocations: 1.04 MB / 427.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002175/0.2614, allocations: 1.284 MB / 428.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006142/0.262, allocations: 268 kB / 428.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009443/0.263, allocations: 359.8 kB / 429.2 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009088/0.2639, allocations: 0.7675 MB / 429.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001536/0.2654, allocations: 1.209 MB / 431.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003481/0.2689, allocations: 3.546 MB / 434.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.269, allocations: 0 / 434.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.269, allocations: 0 / 434.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.211e-05/0.269, allocations: 4 kB / 434.7 MB, free: 7.48 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.004826/0.2739, allocations: 2.545 MB / 437.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.2739, allocations: 12.03 kB / 437.3 MB, free: 4.863 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003268/0.2742, allocations: 274 kB / 437.5 MB, free: 4.586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007164/0.275, allocations: 267.3 kB / 437.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002228/0.2772, allocations: 1.31 MB / 439.1 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.243e-05/0.2773, allocations: 135.7 kB / 439.2 MB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002617/0.2776, allocations: 180 kB / 439.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003641/0.2812, allocations: 2.382 MB / 441.8 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.78e-05/0.2813, allocations: 7.953 kB / 441.8 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001609/0.2815, allocations: 75.98 kB / 441.9 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.302e-05/0.2816, allocations: 91.5 kB / 442 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003248/0.2848, allocations: 1.966 MB / 443.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01042/0.2953, allocations: 7.08 MB / 451 MB, free: 6.812 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.297, allocations: 1.277 MB / 452.3 MB, free: 5.473 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001523/0.2986, allocations: 0.8581 MB / 453.1 MB, free: 4.613 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002115/0.2988, allocations: 122.1 kB / 453.3 MB, free: 4.473 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.2988, allocations: 40.03 kB / 453.3 MB, free: 4.426 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 3.015e-06/0.2989, allocations: 3.938 kB / 453.3 MB, free: 4.422 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.0131/0.312, allocations: 6.134 MB / 459.4 MB, free: 14.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.312, allocations: 60.41 kB / 459.5 MB, free: 14.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/0.3138, allocations: 1.219 MB / 460.7 MB, free: 12.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.031e-05/0.3139, allocations: 45.69 kB / 460.8 MB, free: 12.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005966/0.3145, allocations: 0.8869 MB / 461.6 MB, free: 11.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002982/0.3148, allocations: 388.8 kB / 462 MB, free: 11.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003576/0.3152, allocations: 218.9 kB / 462.2 MB, free: 11.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.3154, allocations: 353.9 kB / 462.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.3164, allocations: 0.6233 MB / 463.2 MB, free: 10.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.3176, allocations: 0.9188 MB / 464.1 MB, free: 9.266 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00228/0.3199, allocations: 1.639 MB / 465.8 MB, free: 7.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.455e-06/0.3199, allocations: 4 kB / 465.8 MB, free: 7.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003673/0.3236, allocations: 2.232 MB / 468 MB, free: 5.223 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.3236, allocations: 8.25 kB / 468 MB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.3237, allocations: 12 kB / 468 MB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/0.3247, allocations: 487.9 kB / 468.5 MB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009856/0.3257, allocations: 267.6 kB / 468.8 MB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006558/0.3323, allocations: 7.017 MB / 475.8 MB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.3334, allocations: 83.91 kB / 475.9 MB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.3335, allocations: 44 kB / 475.9 MB, free: 12.89 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * 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%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000965/0.3345, allocations: 0.6105 MB / 476.5 MB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002974/0.3348, allocations: 147 kB / 476.7 MB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00345/0.3382, allocations: 2.02 MB / 478.7 MB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.3383, allocations: 15.94 kB / 478.7 MB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/0.3383, allocations: 4 kB / 478.7 MB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.3383, allocations: 7.922 kB / 478.7 MB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007068/0.3454, allocations: 4.215 MB / 482.9 MB, free: 5.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.3454, allocations: 4 kB / 482.9 MB, free: 5.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007799/0.3462, allocations: 180.2 kB / 483.1 MB, free: 5.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00134/0.3475, allocations: 0.5231 MB / 483.6 MB, free: 4.961 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.575e-05/0.3476, allocations: 27.98 kB / 483.6 MB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00789/0.3555, allocations: 8.624 MB / 492.3 MB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/0.3556, allocations: 11.92 kB / 492.3 MB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004557/0.3601, allocations: 2.954 MB / 495.2 MB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007918/0.3609, allocations: 356 kB / 495.6 MB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002874/0.3612, allocations: 31.92 kB / 495.6 MB, free: 8.293 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008761/0.3621, allocations: 71.92 kB / 495.7 MB, free: 8.223 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/0.3624, allocations: 88.77 kB / 495.8 MB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.39e-05/0.3624, allocations: 35.98 kB / 495.8 MB, free: 8.102 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00131/0.3637, allocations: 0.8383 MB / 496.6 MB, free: 7.258 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3638, allocations: 7.938 kB / 496.7 MB, free: 7.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001424/0.3652, allocations: 415.9 kB / 497.1 MB, free: 6.844 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 83 * 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,6,100.0%), (1,1,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.004961/0.3702, allocations: 3.566 MB / 0.4889 GB, free: 3.172 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003386/0.3736, allocations: 2.165 MB / 0.491 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.3736, allocations: 0 / 0.491 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002248/0.3758, allocations: 1.495 MB / 0.4925 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/0.3777, allocations: 389.9 kB / 0.4928 GB, free: 14.99 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02247/0.4002, allocations: 15.14 MB / 0.5076 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001407/0.4016, allocations: 1.634 MB / 0.5092 GB, free: 13.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008664/0.4025, allocations: 299.8 kB / 0.5095 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008954/0.4034, allocations: 0.6907 MB / 0.5102 GB, free: 12.6 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4034, allocations: 0 / 0.5102 GB, free: 12.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2488/0.6523, allocations: 37.4 MB / 0.5467 GB, free: 128.9 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.13, allocations: 4.844 kB / 0.5467 GB, free: 128.9 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches