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.001285/0.001285, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001398/0.001398, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.402/1.402, allocations: 230.5 MB / 258.2 MB, free: 8.012 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 67.89 kB / 378.6 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2277, allocations: 53.4 MB / 432 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01166/0.2393, allocations: 8.955 MB / 440.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005679/0.245, allocations: 2.906 MB / 443.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.2461, allocations: 59.62 kB / 443.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001649/0.2477, allocations: 0.6362 MB / 444.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00219/0.2499, allocations: 0.7535 MB / 445.3 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000814/0.2507, allocations: 335.5 kB / 445.6 MB, free: 8.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002807/0.2535, allocations: 2.241 MB / 447.9 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001544/0.2551, allocations: 1.024 MB / 448.9 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001635/0.2567, allocations: 1.051 MB / 449.9 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002162/0.2589, allocations: 1.32 MB / 451.3 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005239/0.2594, allocations: 275.9 kB / 451.5 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008518/0.2603, allocations: 359.9 kB / 451.9 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008905/0.2611, allocations: 0.7713 MB / 452.7 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001521/0.2627, allocations: 1.217 MB / 453.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004398/0.2671, allocations: 3.546 MB / 457.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2671, allocations: 0 / 457.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2671, allocations: 0 / 457.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.008e-05/0.2671, allocations: 0 / 457.4 MB, free: 13.1 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.00549/0.2726, allocations: 2.474 MB / 459.9 MB, free: 10.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.2727, allocations: 8.031 kB / 459.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.35e-05/0.2727, allocations: 47.75 kB / 459.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003868/0.2731, allocations: 266 kB / 460.2 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007372/0.2739, allocations: 263.4 kB / 460.5 MB, free: 10 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002472/0.2763, allocations: 1.246 MB / 461.7 MB, free: 8.715 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.2765, allocations: 139.4 kB / 461.8 MB, free: 8.578 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000338/0.2768, allocations: 187.9 kB / 462 MB, free: 8.395 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004877/0.2817, allocations: 2.371 MB / 464.4 MB, free: 5.988 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.743e-05/0.2818, allocations: 11.89 kB / 464.4 MB, free: 5.977 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002882/0.282, allocations: 68 kB / 464.5 MB, free: 5.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001846/0.2822, allocations: 95.5 kB / 464.6 MB, free: 5.816 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006011/0.2882, allocations: 1.962 MB / 466.5 MB, free: 3.852 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01876/0.307, allocations: 6.953 MB / 473.5 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002807/0.3098, allocations: 1.009 MB / 474.5 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002465/0.3123, allocations: 0.8038 MB / 475.3 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002701/0.3125, allocations: 40.97 kB / 475.3 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.154e-05/0.3126, allocations: 43.56 kB / 475.4 MB, free: 10.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 4.519e-06/0.3126, allocations: 4 kB / 475.4 MB, free: 10.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.02126/0.3339, allocations: 5.671 MB / 481.1 MB, free: 5.078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.369e-05/0.3339, allocations: 68.33 kB / 481.1 MB, free: 5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00199/0.3359, allocations: 1.215 MB / 482.3 MB, free: 3.773 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001433/0.3361, allocations: 41.7 kB / 482.4 MB, free: 3.727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000754/0.3368, allocations: 0.8909 MB / 483.3 MB, free: 2.824 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003958/0.3372, allocations: 384.8 kB / 483.6 MB, free: 2.445 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003952/0.3376, allocations: 218.9 kB / 483.9 MB, free: 2.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.3378, allocations: 353.9 kB / 484.2 MB, free: 1.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.3389, allocations: 0.6233 MB / 484.8 MB, free: 1.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/0.3403, allocations: 0.9188 MB / 485.7 MB, free: 212 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002549/0.3428, allocations: 1.643 MB / 487.4 MB, free: 14.44 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.371e-06/0.3428, allocations: 0 / 487.4 MB, free: 14.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004181/0.347, allocations: 2.149 MB / 489.5 MB, free: 12.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.347, allocations: 8 kB / 489.5 MB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.347, allocations: 8 kB / 489.6 MB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/0.3483, allocations: 480.1 kB / 490 MB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.3494, allocations: 267.6 kB / 490.3 MB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007452/0.3568, allocations: 6.707 MB / 497 MB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.358, allocations: 87.88 kB / 497.1 MB, free: 4.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/0.3581, allocations: 55.98 kB / 497.1 MB, free: 4.316 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.001094/0.3592, allocations: 0.5872 MB / 497.7 MB, free: 3.719 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003306/0.3595, allocations: 143 kB / 497.9 MB, free: 3.578 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00377/0.3633, allocations: 1.945 MB / 499.8 MB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.3633, allocations: 12 kB / 499.8 MB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.3633, allocations: 4 kB / 499.8 MB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.882e-05/0.3634, allocations: 11.97 kB / 499.8 MB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007805/0.3712, allocations: 4.1 MB / 0.4921 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/0.3712, allocations: 4 kB / 0.4921 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008338/0.372, allocations: 175.7 kB / 0.4923 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001478/0.3735, allocations: 0.5269 MB / 0.4928 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/0.3736, allocations: 35.92 kB / 0.4928 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009256/0.3829, allocations: 8.215 MB / 0.5009 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.3829, allocations: 7.938 kB / 0.5009 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005143/0.388, allocations: 2.867 MB / 0.5037 GB, free: 1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009091/0.3889, allocations: 271 kB / 0.5039 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002731/0.3892, allocations: 31.92 kB / 0.504 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008657/0.3901, allocations: 67.92 kB / 0.504 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000267/0.3903, allocations: 104.6 kB / 0.5041 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-05/0.3904, allocations: 32 kB / 0.5042 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0014/0.3918, allocations: 0.8383 MB / 0.505 GB, free: 15.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3918, allocations: 0 / 0.505 GB, free: 15.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001637/0.3934, allocations: 408 kB / 0.5054 GB, free: 15.26 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.005582/0.399, allocations: 3.509 MB / 0.5088 GB, free: 11.67 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003667/0.4027, allocations: 1.948 MB / 0.5107 GB, free: 9.672 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/0.4027, allocations: 7.938 kB / 0.5107 GB, free: 9.664 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002478/0.4052, allocations: 1.346 MB / 0.512 GB, free: 8.266 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00202/0.4072, allocations: 394.5 kB / 0.5124 GB, free: 7.895 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02579/0.433, allocations: 15.01 MB / 0.527 GB, free: 8.328 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001516/0.4345, allocations: 1.634 MB / 0.5286 GB, free: 6.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009644/0.4355, allocations: 299.8 kB / 0.5289 GB, free: 6.363 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/0.4365, allocations: 0.6906 MB / 0.5296 GB, free: 5.672 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4365, allocations: 0 / 0.5296 GB, free: 5.672 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2555/0.692, allocations: 38.71 MB / 0.5674 GB, free: 80.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.13/14.83, allocations: 4.062 kB / 0.5674 GB, free: 80.48 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: 20.384658955968916]