Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.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_Inverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 110.2 kB / 17.06 MB, free: 5.969 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.001953/0.001953, allocations: 197.3 kB / 18.01 MB, free: 5.051 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.457/1.457, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 47.92 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2329, allocations: 49.45 MB / 400.3 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01064/0.2436, allocations: 8.83 MB / 409.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005213/0.2488, allocations: 2.827 MB / 411.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007991/0.2496, allocations: 43.81 kB / 412 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.2511, allocations: 0.6046 MB / 412.6 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001696/0.2528, allocations: 0.7027 MB / 413.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006455/0.2535, allocations: 315.6 kB / 413.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002547/0.256, allocations: 2.229 MB / 415.8 MB, free: 9.219 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002159/0.2582, allocations: 1.742 MB / 417.5 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/0.2597, allocations: 1.016 MB / 418.6 MB, free: 6.406 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00173/0.2614, allocations: 1.284 MB / 419.8 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000421/0.2618, allocations: 268 kB / 420.1 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007305/0.2626, allocations: 355.8 kB / 420.5 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008012/0.2634, allocations: 0.7636 MB / 421.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00128/0.2647, allocations: 1.206 MB / 422.4 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003643/0.2683, allocations: 3.53 MB / 426 MB, free: 14.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.2684, allocations: 4 kB / 426 MB, free: 14.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.769e-06/0.2684, allocations: 0 / 426 MB, free: 14.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.355e-05/0.2684, allocations: 3.938 kB / 426 MB, free: 14.98 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.007646/0.2761, allocations: 2.538 MB / 428.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.2762, allocations: 8.031 kB / 428.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003771/0.2765, allocations: 266 kB / 428.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009601/0.2775, allocations: 267.4 kB / 429 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003445/0.281, allocations: 1.31 MB / 430.3 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002071/0.2812, allocations: 139.9 kB / 430.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004562/0.2817, allocations: 183.9 kB / 430.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006419/0.2881, allocations: 2.371 MB / 433 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.926e-05/0.2882, allocations: 11.94 kB / 433 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002673/0.2885, allocations: 76 kB / 433.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000158/0.2887, allocations: 87.52 kB / 433.2 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005767/0.2945, allocations: 1.966 MB / 435.2 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01741/0.3119, allocations: 7.084 MB / 442.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003054/0.315, allocations: 1.278 MB / 443.5 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00204/0.3171, allocations: 0.858 MB / 444.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002598/0.3174, allocations: 122.1 kB / 444.5 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.264e-05/0.3174, allocations: 43.55 kB / 444.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 3.156e-06/0.3175, allocations: 0 / 444.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.01475/0.3322, allocations: 6.124 MB / 450.7 MB, free: 5.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.3323, allocations: 64.41 kB / 450.7 MB, free: 5.602 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002024/0.3343, allocations: 1.215 MB / 451.9 MB, free: 4.375 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.257e-05/0.3344, allocations: 45.7 kB / 452 MB, free: 4.324 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008055/0.3352, allocations: 0.887 MB / 452.9 MB, free: 3.426 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003668/0.3356, allocations: 384.7 kB / 453.3 MB, free: 3.047 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003942/0.336, allocations: 222.9 kB / 453.5 MB, free: 2.824 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.3362, allocations: 353.9 kB / 453.8 MB, free: 2.473 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.3373, allocations: 0.6155 MB / 454.4 MB, free: 1.855 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/0.3388, allocations: 0.9149 MB / 455.3 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0026/0.3414, allocations: 1.646 MB / 457 MB, free: 15.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.3414, allocations: 4 kB / 457 MB, free: 15.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004385/0.3458, allocations: 2.228 MB / 459.2 MB, free: 12.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.3458, allocations: 12 kB / 459.2 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/0.3459, allocations: 11.98 kB / 459.2 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.347, allocations: 476.1 kB / 459.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.3481, allocations: 279.6 kB / 460 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007768/0.3558, allocations: 7.019 MB / 467 MB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.357, allocations: 83.86 kB / 467.1 MB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/0.3571, allocations: 44 kB / 467.1 MB, free: 4.438 MB / 382.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.001064/0.3582, allocations: 0.599 MB / 467.7 MB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003843/0.3586, allocations: 143 kB / 467.9 MB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003884/0.3625, allocations: 2.028 MB / 469.9 MB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.3625, allocations: 8 kB / 469.9 MB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/0.3625, allocations: 4 kB / 469.9 MB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.3625, allocations: 7.984 kB / 469.9 MB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007563/0.3701, allocations: 4.215 MB / 474.1 MB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.3701, allocations: 3.984 kB / 474.1 MB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007415/0.3709, allocations: 175.8 kB / 474.3 MB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001401/0.3723, allocations: 0.5313 MB / 474.8 MB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.571e-05/0.3724, allocations: 31.98 kB / 474.9 MB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008946/0.3814, allocations: 8.628 MB / 483.5 MB, free: 3.305 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.313e-06/0.3814, allocations: 7.938 kB / 483.5 MB, free: 3.297 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005024/0.3864, allocations: 2.958 MB / 486.5 MB, free: 248 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007203/0.3872, allocations: 348.1 kB / 486.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002876/0.3875, allocations: 35.92 kB / 486.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008491/0.3883, allocations: 67.92 kB / 486.9 MB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002182/0.3886, allocations: 88.83 kB / 487 MB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.063e-05/0.3887, allocations: 39.92 kB / 487 MB, free: 15.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001369/0.39, allocations: 0.8381 MB / 487.9 MB, free: 14.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.39, allocations: 0 / 487.9 MB, free: 14.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001445/0.3915, allocations: 408 kB / 488.3 MB, free: 14.41 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.005445/0.3969, allocations: 3.581 MB / 491.8 MB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003669/0.4006, allocations: 2.171 MB / 494 MB, free: 8.469 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.4007, allocations: 2 kB / 494 MB, free: 8.469 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002403/0.4031, allocations: 1.479 MB / 495.5 MB, free: 6.918 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/0.4051, allocations: 389 kB / 495.9 MB, free: 6.543 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02523/0.4303, allocations: 15.13 MB / 0.499 GB, free: 6.812 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001746/0.4321, allocations: 1.634 MB / 0.5006 GB, free: 5.145 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009295/0.433, allocations: 299.8 kB / 0.5009 GB, free: 4.848 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/0.4341, allocations: 0.6868 MB / 0.5016 GB, free: 4.16 MB / 430.1 MB Notification: Performance of SimCode: time 5.72e-07/0.4341, allocations: 0 / 0.5016 GB, free: 4.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2632/0.6972, allocations: 37.3 MB / 0.538 GB, free: 130.3 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.85, allocations: 5.625 kB / 0.538 GB, free: 130.3 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches