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.001498/0.001498, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001724/0.001724, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.398/1.398, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.001448/0.001448, allocations: 47.92 kB / 378.6 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2648, allocations: 53.37 MB / 431.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01145/0.2762, allocations: 8.958 MB / 440.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00591/0.2821, allocations: 2.913 MB / 443.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009225/0.2831, allocations: 55.62 kB / 443.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.2846, allocations: 0.6407 MB / 444.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001987/0.2866, allocations: 0.7574 MB / 445.3 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006768/0.2873, allocations: 327.5 kB / 445.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002583/0.2899, allocations: 2.249 MB / 447.8 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.2912, allocations: 1.017 MB / 448.8 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001336/0.2926, allocations: 1.051 MB / 449.9 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001722/0.2943, allocations: 1.327 MB / 451.2 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003398/0.2946, allocations: 268 kB / 451.5 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006081/0.2952, allocations: 367.8 kB / 451.8 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007588/0.296, allocations: 0.7597 MB / 452.6 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001209/0.2972, allocations: 1.217 MB / 453.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00359/0.3008, allocations: 3.546 MB / 457.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3008, allocations: 0 / 457.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3008, allocations: 0 / 457.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.023e-05/0.3008, allocations: 4 kB / 457.4 MB, free: 13.29 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.004784/0.3056, allocations: 2.473 MB / 459.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.3057, allocations: 8.031 kB / 459.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.305e-05/0.3057, allocations: 47.75 kB / 459.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003225/0.306, allocations: 266 kB / 460.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006736/0.3067, allocations: 267.4 kB / 460.4 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002195/0.3089, allocations: 1.246 MB / 461.7 MB, free: 8.902 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.309, allocations: 135.5 kB / 461.8 MB, free: 8.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002702/0.3093, allocations: 187.9 kB / 462 MB, free: 8.586 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003858/0.3132, allocations: 2.371 MB / 464.4 MB, free: 6.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.349e-05/0.3132, allocations: 11.89 kB / 464.4 MB, free: 6.168 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001667/0.3134, allocations: 72 kB / 464.4 MB, free: 6.098 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001056/0.3135, allocations: 91.5 kB / 464.5 MB, free: 6.008 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003355/0.3168, allocations: 1.97 MB / 466.5 MB, free: 4.035 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01183/0.3287, allocations: 6.941 MB / 473.4 MB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.3304, allocations: 1 MB / 474.4 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/0.332, allocations: 0.807 MB / 475.2 MB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002029/0.3322, allocations: 48.91 kB / 475.3 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.51e-05/0.3322, allocations: 39.56 kB / 475.3 MB, free: 10.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 2.905e-06/0.3322, allocations: 4 kB / 475.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.01374/0.346, allocations: 5.679 MB / 481 MB, free: 5.262 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/0.3461, allocations: 68.34 kB / 481.1 MB, free: 5.184 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00186/0.3479, allocations: 1.207 MB / 482.3 MB, free: 3.965 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.942e-05/0.348, allocations: 45.7 kB / 482.3 MB, free: 3.914 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000684/0.3487, allocations: 0.8909 MB / 483.2 MB, free: 3.012 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000332/0.349, allocations: 380.8 kB / 483.6 MB, free: 2.637 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003563/0.3494, allocations: 226.9 kB / 483.8 MB, free: 2.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.3496, allocations: 353.9 kB / 484.2 MB, free: 2.059 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.3506, allocations: 0.6154 MB / 484.8 MB, free: 1.441 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001259/0.3518, allocations: 0.9227 MB / 485.7 MB, free: 404 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002401/0.3542, allocations: 1.639 MB / 487.3 MB, free: 14.63 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-06/0.3542, allocations: 4 kB / 487.3 MB, free: 14.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003946/0.3582, allocations: 2.145 MB / 489.5 MB, free: 12.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/0.3582, allocations: 8 kB / 489.5 MB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/0.3582, allocations: 8 kB / 489.5 MB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.3593, allocations: 480.1 kB / 490 MB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009953/0.3603, allocations: 267.6 kB / 490.2 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007162/0.3675, allocations: 6.716 MB / 496.9 MB, free: 4.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.3687, allocations: 91.86 kB / 497 MB, free: 4.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.125e-05/0.3688, allocations: 48 kB / 497.1 MB, free: 4.508 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.001056/0.3698, allocations: 0.5872 MB / 497.7 MB, free: 3.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002731/0.3701, allocations: 151 kB / 497.8 MB, free: 3.762 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003513/0.3736, allocations: 1.941 MB / 499.8 MB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.3736, allocations: 11.98 kB / 499.8 MB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/0.3736, allocations: 11.94 kB / 499.8 MB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.3736, allocations: 11.98 kB / 499.8 MB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006874/0.3805, allocations: 4.092 MB / 0.4921 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.854e-06/0.3805, allocations: 4 kB / 0.4921 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007365/0.3812, allocations: 183.7 kB / 0.4923 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001312/0.3826, allocations: 0.5157 MB / 0.4928 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.047e-05/0.3826, allocations: 35.92 kB / 0.4928 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008418/0.3911, allocations: 8.215 MB / 0.5008 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.3911, allocations: 7.938 kB / 0.5008 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004968/0.396, allocations: 2.863 MB / 0.5036 GB, free: 1.191 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008191/0.3969, allocations: 275 kB / 0.5039 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000362/0.3972, allocations: 35.92 kB / 0.5039 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000928/0.3981, allocations: 67.92 kB / 0.504 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002409/0.3984, allocations: 100.7 kB / 0.5041 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-05/0.3985, allocations: 31.98 kB / 0.5041 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001566/0.4, allocations: 0.8422 MB / 0.5049 GB, free: 15.84 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4, allocations: 0 / 0.5049 GB, free: 15.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00171/0.4017, allocations: 411.9 kB / 0.5053 GB, free: 15.44 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.005252/0.407, allocations: 3.5 MB / 0.5087 GB, free: 11.86 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003816/0.4108, allocations: 1.952 MB / 0.5106 GB, free: 9.855 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.4108, allocations: 0 / 0.5106 GB, free: 9.855 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002369/0.4132, allocations: 1.35 MB / 0.512 GB, free: 8.453 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/0.4155, allocations: 400.7 kB / 0.5123 GB, free: 8.07 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02373/0.4392, allocations: 15.01 MB / 0.527 GB, free: 8.504 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001385/0.4406, allocations: 1.634 MB / 0.5286 GB, free: 6.836 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008486/0.4415, allocations: 303.8 kB / 0.5289 GB, free: 6.535 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008851/0.4423, allocations: 0.6828 MB / 0.5296 GB, free: 5.852 MB / 446.1 MB Notification: Performance of SimCode: time 1.103e-06/0.4423, allocations: 4 kB / 0.5296 GB, free: 5.848 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2962/0.7385, allocations: 38.71 MB / 0.5674 GB, free: 81.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/14.41, allocations: 6.688 kB / 0.5674 GB, free: 81.11 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: 19.884264827996958]