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.001682/0.001682, allocations: 116.8 kB / 19.17 MB, free: 3.895 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.002114/0.002114, allocations: 214.6 kB / 22.13 MB, free: 0.9414 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.486/1.486, allocations: 230.2 MB / 255.1 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: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 67.89 kB / 374.5 MB, free: 9.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1035, allocations: 53.32 MB / 427.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.202/0.3055, allocations: 8.907 MB / 436.8 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005174/0.3107, allocations: 2.9 MB / 439.7 MB, free: 5.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001678/0.3124, allocations: 49.97 kB / 439.7 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002127/0.3145, allocations: 0.6381 MB / 440.3 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002924/0.3174, allocations: 0.7361 MB / 441.1 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009459/0.3184, allocations: 331.1 kB / 441.4 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003118/0.3215, allocations: 2.229 MB / 443.6 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001712/0.3232, allocations: 1.274 MB / 444.9 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001988/0.3252, allocations: 1.033 MB / 445.9 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002167/0.3274, allocations: 1.32 MB / 447.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000687/0.328, allocations: 272.3 kB / 447.5 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.3291, allocations: 367.3 kB / 447.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000821/0.3299, allocations: 0.7717 MB / 448.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001663/0.3316, allocations: 1.207 MB / 449.9 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005497/0.3371, allocations: 3.545 MB / 453.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3371, allocations: 0.75 kB / 453.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3371, allocations: 2.938 kB / 453.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001267/0.3372, allocations: 0 / 453.4 MB, free: 15.41 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.007651/0.3449, allocations: 2.558 MB / 456 MB, free: 13.74 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.3449, allocations: 12.64 kB / 456 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.346, allocations: 267.4 kB / 456.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003052/0.3491, allocations: 1.315 MB / 457.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.3492, allocations: 133.8 kB / 457.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004386/0.3496, allocations: 192.4 kB / 457.9 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005092/0.3547, allocations: 2.37 MB / 460.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.858e-05/0.3548, allocations: 9.484 kB / 460.3 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002005/0.355, allocations: 76.06 kB / 460.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001374/0.3551, allocations: 92.03 kB / 460.4 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003872/0.359, allocations: 1.965 MB / 462.4 MB, free: 10.03 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01333/0.3723, allocations: 7.088 MB / 469.5 MB, free: 4.867 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002041/0.3744, allocations: 1.216 MB / 470.7 MB, free: 4.074 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001583/0.376, allocations: 0.8148 MB / 471.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002462/0.3762, allocations: 121.3 kB / 471.6 MB, free: 3.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.3762, allocations: 41.25 kB / 471.7 MB, free: 3.527 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.405e-06/0.3762, allocations: 0 / 471.7 MB, free: 3.527 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.01486/0.3911, allocations: 6.115 MB / 477.8 MB, free: 14.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.3912, allocations: 60.41 kB / 477.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001983/0.3932, allocations: 1.219 MB / 479.1 MB, free: 13.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001328/0.3933, allocations: 41.7 kB / 479.1 MB, free: 13.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006955/0.394, allocations: 0.8908 MB / 480 MB, free: 12.19 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003674/0.3943, allocations: 388.7 kB / 480.4 MB, free: 11.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003928/0.3947, allocations: 218.9 kB / 480.6 MB, free: 11.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3949, allocations: 357.9 kB / 480.9 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/0.396, allocations: 0.6155 MB / 481.5 MB, free: 10.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/0.3974, allocations: 0.9195 MB / 482.5 MB, free: 9.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002556/0.3999, allocations: 1.643 MB / 484.1 MB, free: 7.805 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.4, allocations: 4 kB / 484.1 MB, free: 7.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004162/0.4041, allocations: 2.22 MB / 486.3 MB, free: 5.535 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.4041, allocations: 11.98 kB / 486.3 MB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.4042, allocations: 12 kB / 486.4 MB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.4054, allocations: 481 kB / 486.8 MB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.4064, allocations: 275.6 kB / 487.1 MB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007515/0.4139, allocations: 7.014 MB / 494.1 MB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.4153, allocations: 79.91 kB / 494.2 MB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.4154, allocations: 48 kB / 494.2 MB, free: 13.21 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.001181/0.4166, allocations: 0.6028 MB / 494.8 MB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003107/0.4169, allocations: 143 kB / 495 MB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003831/0.4208, allocations: 2.02 MB / 497 MB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.4208, allocations: 13.06 kB / 497 MB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.4208, allocations: 7.938 kB / 497 MB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/0.4208, allocations: 7.969 kB / 497 MB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007882/0.4287, allocations: 4.203 MB / 0.4895 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-06/0.4287, allocations: 4 kB / 0.4895 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007861/0.4295, allocations: 179.4 kB / 0.4897 GB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001492/0.431, allocations: 0.5275 MB / 0.4902 GB, free: 5.309 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.012e-05/0.4311, allocations: 27.98 kB / 0.4902 GB, free: 5.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008916/0.44, allocations: 8.621 MB / 0.4986 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.44, allocations: 4 kB / 0.4986 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005194/0.4452, allocations: 2.943 MB / 0.5015 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008962/0.4461, allocations: 360 kB / 0.5018 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000211/0.4463, allocations: 31.98 kB / 0.5019 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008371/0.4471, allocations: 68.7 kB / 0.5019 GB, free: 8.598 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000251/0.4474, allocations: 92.81 kB / 0.502 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-05/0.4474, allocations: 32 kB / 0.5021 GB, free: 8.477 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001336/0.4488, allocations: 0.8422 MB / 0.5029 GB, free: 7.629 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4488, allocations: 0 / 0.5029 GB, free: 7.629 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001602/0.4504, allocations: 415.9 kB / 0.5033 GB, free: 7.223 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.0003971/0.4508, allocations: 185.6 kB / 0.5035 GB, free: 7.035 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003577/0.4544, allocations: 2.099 MB / 0.5055 GB, free: 4.855 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4544, allocations: 0.5625 kB / 0.5055 GB, free: 4.855 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002433/0.4568, allocations: 1.432 MB / 0.5069 GB, free: 3.352 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/0.4589, allocations: 401.3 kB / 0.5073 GB, free: 2.984 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006974/0.4659, allocations: 3.994 MB / 0.5112 GB, free: 14.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001428/0.4673, allocations: 1.618 MB / 0.5128 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004639/0.4678, allocations: 103.4 kB / 0.5129 GB, free: 13.15 MB / 430.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4678, allocations: 0 / 0.5129 GB, free: 13.15 MB / 430.1 MB Notification: Performance of Templates: time 0.08043/0.5482, allocations: 68.47 MB / 0.5797 GB, free: 8.652 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] 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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.247158561134711]