Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 211.9 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.406/1.406, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 43.94 kB / 378.5 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2613, allocations: 53.37 MB / 431.9 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.0105/0.2718, allocations: 7.872 MB / 439.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005819/0.2776, allocations: 2.73 MB / 442.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.279, allocations: 55.62 kB / 442.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001651/0.2806, allocations: 0.5822 MB / 443.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002148/0.2828, allocations: 0.7613 MB / 443.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007529/0.2835, allocations: 327.5 kB / 444.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00272/0.2863, allocations: 2.229 MB / 446.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0015/0.2878, allocations: 1.02 MB / 447.4 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001707/0.2895, allocations: 1.059 MB / 448.5 MB, free: 5.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002236/0.2917, allocations: 1.327 MB / 449.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004585/0.2922, allocations: 268 kB / 450.1 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007988/0.293, allocations: 355.8 kB / 450.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008651/0.2938, allocations: 0.7713 MB / 451.2 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001238/0.2951, allocations: 0.9841 MB / 452.2 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003933/0.299, allocations: 3.558 MB / 455.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.299, allocations: 0 / 455.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.299, allocations: 0 / 455.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.774e-05/0.2991, allocations: 0 / 455.8 MB, free: 14.66 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.005053/0.3041, allocations: 2.486 MB / 458.2 MB, free: 12.13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.3042, allocations: 11.97 kB / 458.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.597e-05/0.3042, allocations: 47.75 kB / 458.3 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003332/0.3046, allocations: 266 kB / 458.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006961/0.3053, allocations: 271.4 kB / 458.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002158/0.3074, allocations: 1.234 MB / 460.1 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.3075, allocations: 139.5 kB / 460.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002752/0.3078, allocations: 184 kB / 460.4 MB, free: 9.941 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004042/0.3119, allocations: 2.483 MB / 462.9 MB, free: 7.398 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.779e-05/0.3119, allocations: 3.953 kB / 462.9 MB, free: 7.395 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001696/0.3121, allocations: 72 kB / 462.9 MB, free: 7.324 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/0.3122, allocations: 91.5 kB / 463 MB, free: 7.234 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003388/0.3156, allocations: 1.97 MB / 465 MB, free: 5.262 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01044/0.326, allocations: 6.372 MB / 471.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.3277, allocations: 0.9933 MB / 472.4 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001483/0.3292, allocations: 0.8031 MB / 473.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00019/0.3294, allocations: 52.84 kB / 473.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.3294, allocations: 43.56 kB / 473.2 MB, free: 12.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 2.915e-06/0.3294, allocations: 0 / 473.2 MB, free: 12.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.01348/0.3429, allocations: 5.664 MB / 478.9 MB, free: 7.078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.3429, allocations: 68.34 kB / 479 MB, free: 7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002066/0.345, allocations: 1.215 MB / 480.2 MB, free: 5.773 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.3451, allocations: 45.7 kB / 480.2 MB, free: 5.723 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007433/0.3458, allocations: 0.8909 MB / 481.1 MB, free: 4.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003313/0.3462, allocations: 380.8 kB / 481.5 MB, free: 4.445 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003632/0.3465, allocations: 218.9 kB / 481.7 MB, free: 4.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.3467, allocations: 357.9 kB / 482.1 MB, free: 3.871 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/0.3477, allocations: 0.6116 MB / 482.7 MB, free: 3.258 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/0.349, allocations: 0.9266 MB / 483.6 MB, free: 2.207 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00247/0.3515, allocations: 1.639 MB / 485.2 MB, free: 452 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.3515, allocations: 4 kB / 485.2 MB, free: 448 kB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004057/0.3555, allocations: 2.156 MB / 487.4 MB, free: 14.26 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.3556, allocations: 8 kB / 487.4 MB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.3556, allocations: 12 kB / 487.4 MB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/0.3568, allocations: 468.2 kB / 487.9 MB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.3578, allocations: 279.6 kB / 488.2 MB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007235/0.3651, allocations: 6.663 MB / 494.8 MB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.3663, allocations: 87.91 kB / 494.9 MB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.3664, allocations: 48 kB / 494.9 MB, free: 6.359 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.00108/0.3674, allocations: 0.5967 MB / 495.5 MB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002737/0.3677, allocations: 147 kB / 495.7 MB, free: 5.609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003568/0.3713, allocations: 1.948 MB / 497.6 MB, free: 3.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.3713, allocations: 12 kB / 497.6 MB, free: 3.621 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.3713, allocations: 8 kB / 497.7 MB, free: 3.613 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.3713, allocations: 3.984 kB / 497.7 MB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00686/0.3782, allocations: 3.882 MB / 0.4898 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.3782, allocations: 8.062 kB / 0.4898 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007345/0.3789, allocations: 175.8 kB / 0.49 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001333/0.3802, allocations: 0.5213 MB / 0.4905 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.797e-05/0.3803, allocations: 39.91 kB / 0.4905 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008531/0.3889, allocations: 8.167 MB / 0.4985 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.658e-06/0.3889, allocations: 11.88 kB / 0.4985 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004857/0.3937, allocations: 2.848 MB / 0.5013 GB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007742/0.3945, allocations: 283 kB / 0.5015 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002053/0.3947, allocations: 31.92 kB / 0.5016 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007441/0.3955, allocations: 67.92 kB / 0.5016 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002549/0.3957, allocations: 100.7 kB / 0.5017 GB, free: 2.836 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-05/0.3958, allocations: 31.94 kB / 0.5018 GB, free: 2.805 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00133/0.3971, allocations: 0.8423 MB / 0.5026 GB, free: 1.957 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3971, allocations: 0 / 0.5026 GB, free: 1.957 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001575/0.3987, allocations: 408 kB / 0.503 GB, free: 1.559 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.005259/0.404, allocations: 3.51 MB / 0.5064 GB, free: 13.96 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003477/0.4074, allocations: 1.943 MB / 0.5083 GB, free: 11.97 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.4074, allocations: 2 kB / 0.5083 GB, free: 11.97 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00223/0.4097, allocations: 1.353 MB / 0.5096 GB, free: 10.56 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/0.4115, allocations: 388 kB / 0.51 GB, free: 10.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02337/0.4349, allocations: 15.02 MB / 0.5247 GB, free: 10.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001528/0.4364, allocations: 1.05 MB / 0.5257 GB, free: 9.523 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009176/0.4373, allocations: 299.8 kB / 0.526 GB, free: 9.227 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000987/0.4383, allocations: 0.6867 MB / 0.5266 GB, free: 8.539 MB / 446.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4383, allocations: 3.938 kB / 0.5267 GB, free: 8.535 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2668/0.7051, allocations: 40.25 MB / 0.566 GB, free: 82.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/14.59, allocations: 0 / 0.566 GB, free: 82.68 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 20.05887112102937]