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.001117/0.001117, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001777/0.002894, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.00111/0.00111, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001399/0.00251, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.001/1.001, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08976/1.091, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.1.0_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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.23e-05, allocations: 2.312 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.007451/0.007473, allocations: 8.725 MB / 253.3 MB, free: 5.539 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004644/0.01212, allocations: 2.94 MB / 256.2 MB, free: 2.59 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001062/0.01318, allocations: 55.62 kB / 256.3 MB, free: 2.535 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.01434, allocations: 0.6132 MB / 256.9 MB, free: 1.918 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001887/0.01623, allocations: 0.7721 MB / 257.6 MB, free: 1.141 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005758/0.01681, allocations: 335.4 kB / 258 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0021/0.01891, allocations: 2.326 MB / 260.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001139/0.02004, allocations: 1.013 MB / 261.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002241/0.02229, allocations: 1.833 MB / 263.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001128/0.02341, allocations: 1.15 MB / 264.3 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002442/0.02366, allocations: 256 kB / 264.5 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005894/0.02425, allocations: 355.8 kB / 264.9 MB, free: 9.805 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004693/0.02472, allocations: 0.6312 MB / 265.5 MB, free: 9.172 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00067/0.02539, allocations: 0.6824 MB / 266.2 MB, free: 8.488 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001989/0.02738, allocations: 1.795 MB / 268 MB, free: 6.688 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-05/0.02739, allocations: 0 / 268 MB, free: 6.688 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.02739, allocations: 0 / 268 MB, free: 6.688 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.766e-05/0.02744, allocations: 4 kB / 268 MB, free: 6.684 MB / 266.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.002838/0.03028, allocations: 2.714 MB / 270.7 MB, free: 3.934 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.03032, allocations: 8.031 kB / 270.7 MB, free: 3.926 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005856/0.0309, allocations: 409.8 kB / 271.1 MB, free: 3.508 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.03206, allocations: 0.9028 MB / 272 MB, free: 2.559 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.088e-05/0.03214, allocations: 131.9 kB / 272.2 MB, free: 2.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001966/0.03234, allocations: 184.3 kB / 272.3 MB, free: 2.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.03386, allocations: 1.398 MB / 273.7 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.556e-05/0.0339, allocations: 4 kB / 273.7 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.796e-05/0.03399, allocations: 75.98 kB / 273.8 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.198e-05/0.03407, allocations: 95.5 kB / 273.9 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007327/0.0348, allocations: 0.5268 MB / 274.4 MB, free: 84 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.116/0.1508, allocations: 4.593 MB / 279 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007156/0.1516, allocations: 0.5408 MB / 279.6 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005583/0.1521, allocations: 405.1 kB / 280 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/0.1522, allocations: 40.69 kB / 280 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1523, allocations: 44.98 kB / 280 MB, free: 12.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 3.677e-06/0.1523, allocations: 1.5 kB / 280 MB, free: 12.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.004946/0.1572, allocations: 2.527 MB / 282.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.1572, allocations: 63.41 kB / 282.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007266/0.158, allocations: 0.8107 MB / 283.4 MB, free: 12.17 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/0.158, allocations: 45.11 kB / 283.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003216/0.1583, allocations: 0.7505 MB / 284.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/0.1585, allocations: 381.9 kB / 284.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/0.1587, allocations: 207.6 kB / 284.8 MB, free: 11.42 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.914e-05/0.1588, allocations: 358.4 kB / 285.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.159, allocations: 146.3 kB / 285.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003381/0.1594, allocations: 442.1 kB / 285.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006303/0.16, allocations: 0.7259 MB / 286.5 MB, free: 10.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.16, allocations: 4.609 kB / 286.5 MB, free: 10.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001271/0.1613, allocations: 0.8969 MB / 287.4 MB, free: 10.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.1613, allocations: 8.656 kB / 287.4 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.1613, allocations: 12.38 kB / 287.4 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005618/0.1619, allocations: 265.5 kB / 287.7 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005885/0.1625, allocations: 271.8 kB / 287.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/0.1647, allocations: 4.677 MB / 292.6 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005319/0.1653, allocations: 43.7 kB / 292.6 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.353e-05/0.1653, allocations: 38.66 kB / 292.7 MB, free: 6.309 MB / 266.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.0003866/0.1657, allocations: 188.5 kB / 292.9 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.1659, allocations: 111.8 kB / 293 MB, free: 6.18 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009981/0.1669, allocations: 0.8038 MB / 293.8 MB, free: 6.023 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.1669, allocations: 9.969 kB / 293.8 MB, free: 6.023 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.1669, allocations: 5.938 kB / 293.8 MB, free: 6.023 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.1669, allocations: 5.391 kB / 293.8 MB, free: 6.023 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002697/0.1696, allocations: 2.23 MB / 296 MB, free: 5.496 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.1696, allocations: 4.656 kB / 296 MB, free: 5.496 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004086/0.17, allocations: 175.6 kB / 296.2 MB, free: 5.496 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002883/0.1703, allocations: 175.1 kB / 296.4 MB, free: 5.422 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006279/0.1709, allocations: 337.3 kB / 296.7 MB, free: 5.305 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.786e-05/0.171, allocations: 29.56 kB / 296.7 MB, free: 5.289 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002466/0.1734, allocations: 5.878 MB / 302.6 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.044e-06/0.1735, allocations: 7.188 kB / 302.6 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/0.1751, allocations: 1.207 MB / 303.8 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/0.1753, allocations: 30.45 kB / 303.8 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/0.1756, allocations: 39.91 kB / 303.9 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.1758, allocations: 99.33 kB / 304 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-05/0.1758, allocations: 28.7 kB / 304 MB, free: 15.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003983/0.1762, allocations: 404.6 kB / 304.4 MB, free: 14.89 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1762, allocations: 4 kB / 304.4 MB, free: 14.88 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001157/0.1774, allocations: 403.9 kB / 304.8 MB, free: 14.49 MB / 282.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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002688/0.1776, allocations: 163.5 kB / 305 MB, free: 14.33 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.1789, allocations: 1.07 MB / 306 MB, free: 13.27 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.789e-05/0.1789, allocations: 27.73 kB / 306.1 MB, free: 13.25 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007873/0.1797, allocations: 0.8976 MB / 307 MB, free: 12.33 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009036/0.1806, allocations: 443.2 kB / 307.4 MB, free: 11.91 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/0.1933, allocations: 3.245 MB / 310.6 MB, free: 8.609 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/0.1937, allocations: 443.5 kB / 311.1 MB, free: 8.152 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005637/0.1943, allocations: 166.8 kB / 311.2 MB, free: 7.984 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008579/0.1952, allocations: 333.1 kB / 311.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of SimCode: time 1.332e-06/0.1952, allocations: 0 / 311.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of Templates: time 0.02995/0.2251, allocations: 22.83 MB / 334.4 MB, free: 1.258 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.266799750737846]