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.001266/0.001266, allocations: 122.8 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001281/0.001281, allocations: 197.2 kB / 18.73 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.406/1.406, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 67.89 kB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2462, allocations: 50.54 MB / 408.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01114/0.2574, allocations: 8.878 MB / 417.7 MB, free: 8.535 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006152/0.2636, allocations: 2.886 MB / 420.6 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001394/0.265, allocations: 43.81 kB / 420.6 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001694/0.2668, allocations: 0.6046 MB / 421.2 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002711/0.2695, allocations: 0.7105 MB / 422 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009647/0.2705, allocations: 323.5 kB / 422.3 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003259/0.2737, allocations: 2.233 MB / 424.5 MB, free: 1.723 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002313/0.2761, allocations: 1.746 MB / 426.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001748/0.2778, allocations: 1.024 MB / 427.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001867/0.2797, allocations: 1.281 MB / 428.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004519/0.2802, allocations: 268 kB / 428.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007793/0.281, allocations: 367.8 kB / 429.2 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007696/0.2818, allocations: 0.7597 MB / 429.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001443/0.2832, allocations: 1.217 MB / 431.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00396/0.2872, allocations: 3.542 MB / 434.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2872, allocations: 0 / 434.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2872, allocations: 0 / 434.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.869e-05/0.2873, allocations: 4 kB / 434.7 MB, free: 7.449 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.004837/0.2921, allocations: 2.541 MB / 437.2 MB, free: 4.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2922, allocations: 16.03 kB / 437.3 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003363/0.2925, allocations: 270 kB / 437.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006978/0.2932, allocations: 267.3 kB / 437.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002129/0.2954, allocations: 1.31 MB / 439.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.2955, allocations: 135.7 kB / 439.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002853/0.2958, allocations: 187.9 kB / 439.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004121/0.2999, allocations: 2.374 MB / 441.8 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.361e-05/0.3, allocations: 7.953 kB / 441.8 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001762/0.3002, allocations: 75.98 kB / 441.9 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001044/0.3003, allocations: 91.5 kB / 442 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003577/0.3039, allocations: 1.966 MB / 443.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01121/0.3151, allocations: 7.084 MB / 451 MB, free: 6.781 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00198/0.3171, allocations: 1.273 MB / 452.3 MB, free: 5.445 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001647/0.3188, allocations: 0.8581 MB / 453.1 MB, free: 4.586 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002419/0.319, allocations: 122.1 kB / 453.3 MB, free: 4.445 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.3191, allocations: 39.56 kB / 453.3 MB, free: 4.398 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.815e-06/0.3191, allocations: 3.938 kB / 453.3 MB, free: 4.395 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.01424/0.3333, allocations: 6.132 MB / 459.4 MB, free: 14.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.3334, allocations: 60.41 kB / 459.5 MB, free: 14.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001881/0.3353, allocations: 1.227 MB / 460.7 MB, free: 12.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.878e-05/0.3354, allocations: 41.7 kB / 460.8 MB, free: 12.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006922/0.3361, allocations: 0.8947 MB / 461.7 MB, free: 11.85 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003268/0.3365, allocations: 380.8 kB / 462 MB, free: 11.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000366/0.3368, allocations: 218.9 kB / 462.2 MB, free: 11.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.337, allocations: 353.9 kB / 462.6 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001056/0.3381, allocations: 0.6194 MB / 463.2 MB, free: 10.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.3394, allocations: 0.9188 MB / 464.1 MB, free: 9.238 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002439/0.3418, allocations: 1.643 MB / 465.8 MB, free: 7.469 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3418, allocations: 0 / 465.8 MB, free: 7.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004042/0.3459, allocations: 2.232 MB / 468 MB, free: 5.195 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.3459, allocations: 8.25 kB / 468 MB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/0.346, allocations: 15.98 kB / 468 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/0.3471, allocations: 487.4 kB / 468.5 MB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009799/0.3481, allocations: 271.6 kB / 468.8 MB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007229/0.3553, allocations: 7.006 MB / 475.8 MB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.3565, allocations: 83.91 kB / 475.8 MB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.926e-05/0.3566, allocations: 44 kB / 475.9 MB, free: 12.87 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.001006/0.3576, allocations: 0.6067 MB / 476.5 MB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002616/0.3578, allocations: 143 kB / 476.6 MB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003689/0.3615, allocations: 2.028 MB / 478.7 MB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.3616, allocations: 11.94 kB / 478.7 MB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.3616, allocations: 4 kB / 478.7 MB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/0.3616, allocations: 7.969 kB / 478.7 MB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007182/0.3688, allocations: 4.227 MB / 482.9 MB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.3688, allocations: 4 kB / 482.9 MB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000765/0.3696, allocations: 176.2 kB / 483.1 MB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001426/0.371, allocations: 0.5267 MB / 483.6 MB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.314e-05/0.3711, allocations: 31.92 kB / 483.7 MB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008654/0.3798, allocations: 8.629 MB / 492.3 MB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.3798, allocations: 7.938 kB / 492.3 MB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004951/0.3848, allocations: 2.942 MB / 495.2 MB, free: 8.668 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000668/0.3855, allocations: 356 kB / 495.6 MB, free: 8.301 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/0.3857, allocations: 35.92 kB / 495.6 MB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007729/0.3865, allocations: 71.92 kB / 495.7 MB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000221/0.3867, allocations: 84.77 kB / 495.8 MB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.546e-05/0.3868, allocations: 35.98 kB / 495.8 MB, free: 8.078 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001249/0.388, allocations: 0.8423 MB / 496.6 MB, free: 7.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.388, allocations: 7.938 kB / 496.6 MB, free: 7.223 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001353/0.3894, allocations: 411.9 kB / 497.1 MB, free: 6.82 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.005274/0.3947, allocations: 3.573 MB / 0.4889 GB, free: 3.145 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003571/0.3983, allocations: 2.165 MB / 0.491 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.3983, allocations: 4 kB / 0.491 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002386/0.4007, allocations: 1.487 MB / 0.4925 GB, free: 15.34 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/0.4026, allocations: 386.5 kB / 0.4928 GB, free: 14.97 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02434/0.4269, allocations: 15.14 MB / 0.5076 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001415/0.4284, allocations: 1.63 MB / 0.5092 GB, free: 13.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008825/0.4292, allocations: 307.7 kB / 0.5095 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009235/0.4302, allocations: 0.6906 MB / 0.5102 GB, free: 12.57 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4302, allocations: 0 / 0.5102 GB, free: 12.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2735/0.7037, allocations: 37.4 MB / 0.5467 GB, free: 128.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.99, allocations: 8.172 kB / 0.5467 GB, free: 128.6 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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