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.0008817/0.0008817, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0009317/0.0009317, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9169/0.9169, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 2.013e-06/2.013e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.289e-05, allocations: 2.281 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.006902/0.006925, allocations: 7.888 MB / 332.4 MB, free: 7.957 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004099/0.01102, allocations: 2.742 MB / 335.2 MB, free: 5.203 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006496/0.01167, allocations: 59.62 kB / 335.2 MB, free: 5.145 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.01277, allocations: 0.586 MB / 335.8 MB, free: 4.555 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001478/0.01425, allocations: 0.7722 MB / 336.6 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005038/0.01475, allocations: 343.3 kB / 336.9 MB, free: 3.441 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001824/0.01657, allocations: 2.325 MB / 339.2 MB, free: 1.102 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.01763, allocations: 0.9813 MB / 340.2 MB, free: 84 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001859/0.01949, allocations: 1.524 MB / 341.7 MB, free: 14.55 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001471/0.02096, allocations: 1.118 MB / 342.9 MB, free: 13.43 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004503/0.02141, allocations: 268 kB / 343.1 MB, free: 13.17 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005096/0.02192, allocations: 359.8 kB / 343.5 MB, free: 12.82 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004867/0.02241, allocations: 0.7907 MB / 344.3 MB, free: 12.03 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008814/0.02329, allocations: 0.8419 MB / 345.1 MB, free: 11.18 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002628/0.02592, allocations: 3.583 MB / 348.7 MB, free: 7.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.02592, allocations: 0 / 348.7 MB, free: 7.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.02592, allocations: 0 / 348.7 MB, free: 7.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.569e-05/0.02601, allocations: 0 / 348.7 MB, free: 7.59 MB / 314.7 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.003611/0.02962, allocations: 2.458 MB / 351.2 MB, free: 5.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.02966, allocations: 15.98 kB / 351.2 MB, free: 5.074 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002462/0.02991, allocations: 262 kB / 351.4 MB, free: 4.809 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004139/0.03032, allocations: 263.4 kB / 351.7 MB, free: 4.551 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.03175, allocations: 1.241 MB / 352.9 MB, free: 3.262 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.909e-05/0.03183, allocations: 139.9 kB / 353.1 MB, free: 3.125 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/0.03201, allocations: 176.3 kB / 353.2 MB, free: 2.953 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002761/0.03477, allocations: 2.475 MB / 355.7 MB, free: 428 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.373e-05/0.03482, allocations: 11.94 kB / 355.7 MB, free: 416 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.03493, allocations: 75.98 kB / 355.8 MB, free: 340 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.758e-05/0.035, allocations: 95.5 kB / 355.9 MB, free: 244 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002124/0.03712, allocations: 1.962 MB / 357.8 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006373/0.0435, allocations: 6.383 MB / 364.2 MB, free: 7.703 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.0446, allocations: 0.9738 MB / 365.2 MB, free: 6.723 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009429/0.04555, allocations: 0.8148 MB / 366 MB, free: 5.906 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001387/0.04569, allocations: 36.97 kB / 366.1 MB, free: 5.871 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.04571, allocations: 51.5 kB / 366.1 MB, free: 5.812 MB / 330.7 MB Notification: Performance of pre-optimization done (n=87): time 1.913e-06/0.04571, allocations: 0 / 366.1 MB, free: 5.812 MB / 330.7 MB Notification: Performance of matching and sorting (n=104): time 0.007954/0.05367, allocations: 5.657 MB / 371.8 MB, free: 116 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.05371, allocations: 60.41 kB / 371.8 MB, free: 44 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.05482, allocations: 1.238 MB / 373.1 MB, free: 14.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.609e-05/0.05488, allocations: 41.7 kB / 373.1 MB, free: 14.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005037/0.05538, allocations: 0.8869 MB / 374 MB, free: 13.85 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000236/0.05562, allocations: 384.7 kB / 374.4 MB, free: 13.47 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002644/0.05588, allocations: 214.9 kB / 374.6 MB, free: 13.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.05602, allocations: 365.9 kB / 374.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007145/0.05674, allocations: 0.6155 MB / 375.5 MB, free: 12.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008122/0.05755, allocations: 0.9188 MB / 376.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001737/0.05928, allocations: 1.647 MB / 378.1 MB, free: 9.457 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.05929, allocations: 4 kB / 378.1 MB, free: 9.453 MB / 346.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002335/0.06162, allocations: 2.141 MB / 380.3 MB, free: 7.285 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.06165, allocations: 8 kB / 380.3 MB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.06167, allocations: 12 kB / 380.3 MB, free: 7.266 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006549/0.06232, allocations: 480 kB / 380.7 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005341/0.06286, allocations: 271.6 kB / 381 MB, free: 6.516 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004589/0.06745, allocations: 6.652 MB / 387.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005442/0.06799, allocations: 91.86 kB / 387.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.917e-05/0.06805, allocations: 44 kB / 387.8 MB, free: 15.39 MB / 362.7 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.0007282/0.06878, allocations: 0.6027 MB / 388.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.06892, allocations: 143.1 kB / 388.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002054/0.07098, allocations: 1.937 MB / 390.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.07098, allocations: 12 kB / 390.5 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.07099, allocations: 8 kB / 390.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.071, allocations: 3.984 kB / 390.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004228/0.07522, allocations: 3.905 MB / 394.4 MB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.07523, allocations: 4 kB / 394.4 MB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003902/0.07562, allocations: 179.8 kB / 394.6 MB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007265/0.07635, allocations: 0.5118 MB / 395.1 MB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.294e-05/0.0764, allocations: 31.98 kB / 395.1 MB, free: 7.895 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005022/0.08142, allocations: 8.148 MB / 403.3 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.08142, allocations: 4 kB / 403.3 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002996/0.08442, allocations: 2.867 MB / 406.1 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003917/0.08481, allocations: 278.9 kB / 406.4 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.854e-05/0.08491, allocations: 28 kB / 406.4 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003958/0.08531, allocations: 75.91 kB / 406.5 MB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.08545, allocations: 92.72 kB / 406.6 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.229e-05/0.08549, allocations: 39.98 kB / 406.6 MB, free: 11.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007926/0.08628, allocations: 0.8383 MB / 407.5 MB, free: 11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.08628, allocations: 0 / 407.5 MB, free: 11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00103/0.08731, allocations: 408 kB / 407.9 MB, free: 10.6 MB / 378.7 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.003156/0.09047, allocations: 3.486 MB / 411.4 MB, free: 7.023 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002347/0.09282, allocations: 1.949 MB / 413.3 MB, free: 5.031 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.09282, allocations: 0 / 413.3 MB, free: 5.031 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.09403, allocations: 1.357 MB / 414.7 MB, free: 3.621 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009861/0.09501, allocations: 384.8 kB / 415.1 MB, free: 3.254 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01612/0.1111, allocations: 14.92 MB / 430 MB, free: 3.766 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007941/0.1119, allocations: 1.062 MB / 431 MB, free: 2.664 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005562/0.1125, allocations: 295.8 kB / 431.3 MB, free: 2.371 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005835/0.1131, allocations: 0.6956 MB / 432 MB, free: 1.676 MB / 394.7 MB Notification: Performance of SimCode: time 1.333e-06/0.1131, allocations: 0 / 432 MB, free: 1.676 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1887/0.3018, allocations: 40.29 MB / 472.3 MB, free: 100.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.159/8.461, allocations: 10.5 kB / 472.3 MB, free: 100.1 MB / 410.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/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: 11.492549138143659]