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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001429/0.001429, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001724/0.001724, allocations: 214.9 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 230.5 MB / 257.4 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 59.89 kB / 377.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2565, allocations: 53.41 MB / 431.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01309/0.2696, allocations: 8.962 MB / 440.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00657/0.2761, allocations: 2.914 MB / 443.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001597/0.2777, allocations: 59.62 kB / 443.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002173/0.2799, allocations: 0.6401 MB / 443.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002837/0.2827, allocations: 0.7534 MB / 444.5 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.2838, allocations: 339.3 kB / 444.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003405/0.2872, allocations: 2.237 MB / 447.1 MB, free: 6.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00202/0.2892, allocations: 1.024 MB / 448.1 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002034/0.2913, allocations: 1.047 MB / 449.2 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00267/0.2939, allocations: 1.331 MB / 450.5 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007438/0.2947, allocations: 268 kB / 450.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.2958, allocations: 363.9 kB / 451.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00128/0.2971, allocations: 0.7713 MB / 451.9 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002394/0.2995, allocations: 1.209 MB / 453.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00472/0.3042, allocations: 3.55 MB / 456.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3042, allocations: 0 / 456.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3042, allocations: 0 / 456.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.733e-05/0.3043, allocations: 0 / 456.6 MB, free: 13.11 MB / 366.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.005521/0.3098, allocations: 2.47 MB / 459.1 MB, free: 10.6 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.3099, allocations: 12.03 kB / 459.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003734/0.3102, allocations: 266 kB / 459.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007204/0.3109, allocations: 267.4 kB / 459.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002482/0.3134, allocations: 1.238 MB / 460.9 MB, free: 8.773 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.3135, allocations: 139.7 kB / 461 MB, free: 8.637 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002814/0.3138, allocations: 187.9 kB / 461.2 MB, free: 8.453 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004275/0.3181, allocations: 2.367 MB / 463.6 MB, free: 6.051 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-05/0.3182, allocations: 11.89 kB / 463.6 MB, free: 6.039 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/0.3183, allocations: 75.98 kB / 463.7 MB, free: 5.965 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/0.3184, allocations: 91.5 kB / 463.7 MB, free: 5.875 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003847/0.3223, allocations: 1.966 MB / 465.7 MB, free: 3.906 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01232/0.3346, allocations: 6.953 MB / 472.7 MB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/0.3365, allocations: 0.9971 MB / 473.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001531/0.338, allocations: 0.8038 MB / 474.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002146/0.3382, allocations: 40.97 kB / 474.5 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.513e-05/0.3383, allocations: 47.56 kB / 474.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 3.035e-06/0.3383, allocations: 0 / 474.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.01411/0.3524, allocations: 5.671 MB / 480.2 MB, free: 5.141 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.3524, allocations: 60.41 kB / 480.3 MB, free: 5.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002015/0.3544, allocations: 1.219 MB / 481.5 MB, free: 3.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001428/0.3546, allocations: 41.7 kB / 481.5 MB, free: 3.793 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007455/0.3553, allocations: 0.8947 MB / 482.4 MB, free: 2.887 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003648/0.3557, allocations: 388.8 kB / 482.8 MB, free: 2.504 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003604/0.3561, allocations: 218.9 kB / 483 MB, free: 2.285 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.3563, allocations: 349.9 kB / 483.4 MB, free: 1.938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.3573, allocations: 0.6194 MB / 484 MB, free: 1.316 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00126/0.3586, allocations: 0.9188 MB / 484.9 MB, free: 280 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002466/0.361, allocations: 1.643 MB / 486.5 MB, free: 14.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.944e-06/0.3611, allocations: 4 kB / 486.6 MB, free: 14.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00403/0.3651, allocations: 2.149 MB / 488.7 MB, free: 12.33 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.3651, allocations: 12 kB / 488.7 MB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.3651, allocations: 8 kB / 488.7 MB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/0.3662, allocations: 487.5 kB / 489.2 MB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009902/0.3672, allocations: 267.6 kB / 489.5 MB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007438/0.3747, allocations: 6.704 MB / 496.2 MB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.3759, allocations: 87.86 kB / 496.2 MB, free: 4.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/0.376, allocations: 48 kB / 496.3 MB, free: 4.379 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.00122/0.3773, allocations: 0.5911 MB / 496.9 MB, free: 3.777 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003809/0.3776, allocations: 147 kB / 497 MB, free: 3.633 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003768/0.3814, allocations: 1.945 MB / 499 MB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-05/0.3814, allocations: 15.98 kB / 499 MB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.788e-05/0.3814, allocations: 12 kB / 499 MB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/0.3815, allocations: 3.984 kB / 499 MB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008329/0.3898, allocations: 4.1 MB / 0.4913 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/0.3898, allocations: 4 kB / 0.4913 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007661/0.3906, allocations: 175.7 kB / 0.4915 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001413/0.392, allocations: 0.527 MB / 0.492 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-05/0.3921, allocations: 31.98 kB / 0.492 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009151/0.4012, allocations: 8.215 MB / 0.5001 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/0.4012, allocations: 7.938 kB / 0.5001 GB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005187/0.4064, allocations: 2.863 MB / 0.5029 GB, free: 1.059 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009308/0.4073, allocations: 275 kB / 0.5031 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000375/0.4077, allocations: 35.92 kB / 0.5032 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009186/0.4086, allocations: 63.92 kB / 0.5032 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000242/0.4089, allocations: 100.7 kB / 0.5033 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.104e-05/0.409, allocations: 35.98 kB / 0.5033 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00148/0.4104, allocations: 0.8345 MB / 0.5042 GB, free: 15.71 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4104, allocations: 0 / 0.5042 GB, free: 15.71 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001745/0.4122, allocations: 408 kB / 0.5045 GB, free: 15.32 MB / 430.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.005558/0.4177, allocations: 3.498 MB / 0.508 GB, free: 11.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003751/0.4215, allocations: 1.955 MB / 0.5099 GB, free: 9.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/0.4215, allocations: 4 kB / 0.5099 GB, free: 9.727 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002429/0.4239, allocations: 1.35 MB / 0.5112 GB, free: 8.324 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002391/0.4263, allocations: 393.8 kB / 0.5116 GB, free: 7.957 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02795/0.4543, allocations: 15.01 MB / 0.5262 GB, free: 8.387 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002054/0.4563, allocations: 1.63 MB / 0.5278 GB, free: 6.723 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001103/0.4574, allocations: 307.7 kB / 0.5281 GB, free: 6.418 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/0.4586, allocations: 0.6907 MB / 0.5288 GB, free: 5.727 MB / 446.1 MB Notification: Performance of SimCode: time 9.61e-07/0.4586, allocations: 0 / 0.5288 GB, free: 5.727 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3072/0.7658, allocations: 38.67 MB / 0.5666 GB, free: 80.56 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.29/15.05, allocations: 0 / 0.5666 GB, free: 80.56 MB / 446.1 MB " [Timeout remaining time 645] (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 --stepSize=0.0001 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 19.441579536069185]