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.001314/0.001314, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.001425/0.001425, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.459/1.459, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.002122/0.002122, allocations: 71.88 kB / 373.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1186, allocations: 53.32 MB / 426.7 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.2306/0.3492, allocations: 8.92 MB / 435.6 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005384/0.3546, allocations: 2.895 MB / 438.5 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001504/0.3561, allocations: 45.56 kB / 438.5 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001902/0.358, allocations: 0.6428 MB / 439.2 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002585/0.3606, allocations: 0.732 MB / 439.9 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.3616, allocations: 335.3 kB / 440.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003236/0.3648, allocations: 2.233 MB / 442.5 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00182/0.3667, allocations: 1.275 MB / 443.7 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00212/0.3688, allocations: 1.037 MB / 444.8 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002502/0.3713, allocations: 1.312 MB / 446.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007031/0.372, allocations: 272.6 kB / 446.4 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001216/0.3732, allocations: 366.9 kB / 446.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008906/0.3741, allocations: 0.7715 MB / 447.5 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001806/0.3759, allocations: 1.205 MB / 448.7 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005364/0.3813, allocations: 3.553 MB / 452.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3813, allocations: 0 / 452.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3813, allocations: 0 / 452.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001362/0.3814, allocations: 5.719 kB / 452.3 MB, free: 15.5 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.008137/0.3896, allocations: 2.55 MB / 454.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/0.3896, allocations: 10.12 kB / 454.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006818/0.3903, allocations: 270.2 kB / 455.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.3913, allocations: 264.7 kB / 455.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003104/0.3944, allocations: 1.311 MB / 456.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/0.3946, allocations: 134.2 kB / 456.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00037/0.395, allocations: 185.2 kB / 457 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005205/0.4002, allocations: 2.372 MB / 459.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.267e-05/0.4002, allocations: 14.62 kB / 459.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001874/0.4004, allocations: 74.44 kB / 459.4 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001283/0.4005, allocations: 88.7 kB / 459.5 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004359/0.4049, allocations: 1.973 MB / 461.5 MB, free: 9.988 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01384/0.4187, allocations: 7.072 MB / 468.5 MB, free: 4.836 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/0.4208, allocations: 1.239 MB / 469.8 MB, free: 4.027 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/0.4223, allocations: 0.8081 MB / 470.6 MB, free: 3.641 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002605/0.4225, allocations: 120.1 kB / 470.7 MB, free: 3.531 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/0.4226, allocations: 43 kB / 470.8 MB, free: 3.484 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 3.506e-06/0.4226, allocations: 0 / 470.8 MB, free: 3.484 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.01468/0.4372, allocations: 6.114 MB / 476.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.4373, allocations: 64.41 kB / 476.9 MB, free: 14.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002411/0.4397, allocations: 1.215 MB / 478.1 MB, free: 13.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001739/0.4399, allocations: 41.7 kB / 478.2 MB, free: 13.17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008235/0.4407, allocations: 0.8916 MB / 479.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004475/0.4412, allocations: 384.7 kB / 479.5 MB, free: 11.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004758/0.4416, allocations: 218.9 kB / 479.7 MB, free: 11.67 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.4418, allocations: 357.9 kB / 480 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001145/0.443, allocations: 0.6194 MB / 480.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.4444, allocations: 0.9188 MB / 481.6 MB, free: 9.652 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002688/0.4471, allocations: 1.643 MB / 483.2 MB, free: 7.887 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.4471, allocations: 0 / 483.2 MB, free: 7.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004462/0.4516, allocations: 2.232 MB / 485.4 MB, free: 5.609 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.4516, allocations: 8 kB / 485.4 MB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-05/0.4516, allocations: 8 kB / 485.4 MB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/0.4528, allocations: 488 kB / 485.9 MB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.4539, allocations: 267.6 kB / 486.2 MB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008254/0.4622, allocations: 7.021 MB / 493.2 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.4636, allocations: 79.92 kB / 493.3 MB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002311/0.4638, allocations: 47.98 kB / 493.3 MB, free: 13.29 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.001569/0.4654, allocations: 0.5951 MB / 493.9 MB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005182/0.4659, allocations: 147 kB / 494.1 MB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004241/0.4702, allocations: 2.024 MB / 496.1 MB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.4702, allocations: 8 kB / 496.1 MB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.629e-05/0.4702, allocations: 4 kB / 496.1 MB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/0.4702, allocations: 9.422 kB / 496.1 MB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009729/0.4799, allocations: 4.192 MB / 0.4886 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/0.48, allocations: 8.094 kB / 0.4886 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008023/0.4808, allocations: 183.7 kB / 0.4888 GB, free: 5.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001464/0.4822, allocations: 0.5231 MB / 0.4893 GB, free: 5.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001267/0.4824, allocations: 31.98 kB / 0.4893 GB, free: 5.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009844/0.4922, allocations: 8.629 MB / 0.4977 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/0.4922, allocations: 12 kB / 0.4977 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005673/0.4979, allocations: 2.934 MB / 0.5006 GB, free: 9.145 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/0.4991, allocations: 352 kB / 0.5009 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005177/0.4996, allocations: 34.55 kB / 0.501 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/0.5008, allocations: 75.92 kB / 0.501 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003006/0.5011, allocations: 84.81 kB / 0.5011 GB, free: 8.594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/0.5012, allocations: 44.67 kB / 0.5012 GB, free: 8.551 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001753/0.503, allocations: 0.8422 MB / 0.502 GB, free: 7.703 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.503, allocations: 0 / 0.502 GB, free: 7.703 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002243/0.5052, allocations: 407.9 kB / 0.5024 GB, free: 7.305 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.006235/0.5114, allocations: 3.566 MB / 0.5059 GB, free: 3.633 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004075/0.5155, allocations: 2.095 MB / 0.5079 GB, free: 1.453 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.5155, allocations: 4.312 kB / 0.5079 GB, free: 1.449 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002539/0.5181, allocations: 1.436 MB / 0.5093 GB, free: 15.94 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002635/0.5207, allocations: 389.9 kB / 0.5097 GB, free: 15.58 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02976/0.5505, allocations: 15.13 MB / 0.5245 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002069/0.5525, allocations: 1.642 MB / 0.5261 GB, free: 14.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001191/0.5537, allocations: 299.8 kB / 0.5264 GB, free: 13.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00118/0.5549, allocations: 0.6906 MB / 0.527 GB, free: 13.19 MB / 446.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5549, allocations: 0 / 0.527 GB, free: 13.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09986/0.6548, allocations: 37.7 MB / 0.5638 GB, free: 7.836 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/13.07, allocations: 11.11 kB / 0.5639 GB, free: 7.828 MB / 478.1 MB " [Timeout remaining time 647] (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_2/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_2/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: 17.66126880608499]