Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.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.001032/0.001032, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.001155/0.001155, allocations: 170 kB / 24.91 MB, free: 9.191 MB / 18.57 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 0.9234/0.9234, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.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_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 3.938 kB / 273.5 MB, free: 1.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.243e-05, allocations: 2.312 kB / 273.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01354/0.01356, allocations: 12.44 MB / 285.9 MB, free: 4.789 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009237/0.0228, allocations: 4.338 MB / 290.2 MB, free: 448 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002388/0.02519, allocations: 103.3 kB / 290.3 MB, free: 344 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1062/0.1314, allocations: 0.9777 MB / 291.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002811/0.1342, allocations: 1.296 MB / 292.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008333/0.1351, allocations: 0.5303 MB / 293.1 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003554/0.1386, allocations: 4.825 MB / 298 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001999/0.1406, allocations: 2.068 MB / 300 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003391/0.144, allocations: 3.365 MB / 303.4 MB, free: 12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001966/0.146, allocations: 2.44 MB / 305.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004874/0.1465, allocations: 0.5477 MB / 306.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006309/0.1471, allocations: 0.6412 MB / 307 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006616/0.1478, allocations: 1.561 MB / 308.6 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.1488, allocations: 1.722 MB / 310.3 MB, free: 9.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002098/0.1509, allocations: 4.04 MB / 314.4 MB, free: 5.816 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1509, allocations: 0 / 314.4 MB, free: 5.816 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.151, allocations: 8 kB / 314.4 MB, free: 5.809 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.824e-05/0.151, allocations: 0 / 314.4 MB, free: 5.809 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.003382/0.1544, allocations: 4.403 MB / 318.8 MB, free: 1.598 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.738e-05/0.1544, allocations: 8.031 kB / 318.8 MB, free: 1.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008751/0.1553, allocations: 0.6839 MB / 319.5 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001731/0.157, allocations: 1.647 MB / 321.1 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.1571, allocations: 264.4 kB / 321.4 MB, free: 15.06 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00033/0.1575, allocations: 359.4 kB / 321.7 MB, free: 14.72 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00261/0.1601, allocations: 2.848 MB / 324.6 MB, free: 11.9 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.73e-05/0.1601, allocations: 17.91 kB / 324.6 MB, free: 11.89 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002077/0.1603, allocations: 139.3 kB / 324.7 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001208/0.1604, allocations: 183.1 kB / 324.9 MB, free: 11.57 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.162, allocations: 1.067 MB / 326 MB, free: 10.51 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008675/0.1706, allocations: 9.124 MB / 335.1 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.1719, allocations: 1.353 MB / 336.4 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008908/0.1728, allocations: 0.7838 MB / 337.2 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/0.1729, allocations: 61.97 kB / 337.3 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.173, allocations: 56.56 kB / 337.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 2.976e-06/0.173, allocations: 4 kB / 337.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.005863/0.1788, allocations: 3.983 MB / 341.3 MB, free: 11.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.1789, allocations: 73.41 kB / 341.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.1799, allocations: 1.51 MB / 342.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.755e-05/0.18, allocations: 61.7 kB / 343 MB, free: 10.31 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000506/0.1805, allocations: 1.355 MB / 344.3 MB, free: 9.035 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003494/0.1808, allocations: 0.7646 MB / 345.1 MB, free: 8.316 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003861/0.1812, allocations: 398.3 kB / 345.5 MB, free: 7.969 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.756e-05/0.1813, allocations: 301.1 kB / 345.8 MB, free: 7.672 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000405/0.1817, allocations: 283.8 kB / 346.1 MB, free: 7.391 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005511/0.1822, allocations: 0.7249 MB / 346.8 MB, free: 6.539 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.1833, allocations: 1.283 MB / 348.1 MB, free: 5.176 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.782e-06/0.1833, allocations: 8 kB / 348.1 MB, free: 5.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.001838/0.1852, allocations: 1.535 MB / 349.6 MB, free: 3.719 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.1852, allocations: 12.47 kB / 349.6 MB, free: 3.707 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.1852, allocations: 16 kB / 349.6 MB, free: 3.691 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/0.1864, allocations: 0.5659 MB / 350.2 MB, free: 3.117 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009626/0.1874, allocations: 494 kB / 350.7 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003885/0.1912, allocations: 5.675 MB / 356.4 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006054/0.1919, allocations: 79.92 kB / 356.4 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.192, allocations: 64 kB / 356.5 MB, free: 12.67 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * 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 {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004674/0.1924, allocations: 257.2 kB / 356.7 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002804/0.1927, allocations: 235.7 kB / 357 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001671/0.1944, allocations: 1.412 MB / 358.4 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.1944, allocations: 20 kB / 358.4 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1944, allocations: 8 kB / 358.4 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.1944, allocations: 11.44 kB / 358.4 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004233/0.1986, allocations: 3.439 MB / 361.9 MB, free: 7.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.1986, allocations: 4 kB / 361.9 MB, free: 7.566 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007676/0.1994, allocations: 360.1 kB / 362.2 MB, free: 7.234 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001315/0.2007, allocations: 0.6831 MB / 362.9 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.71e-05/0.2008, allocations: 51.97 kB / 363 MB, free: 6.488 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004135/0.2049, allocations: 6.903 MB / 369.9 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.2049, allocations: 7.922 kB / 369.9 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002174/0.2071, allocations: 1.956 MB / 371.8 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004947/0.2076, allocations: 330.2 kB / 372.1 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/0.2078, allocations: 51.98 kB / 372.2 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005267/0.2083, allocations: 87.95 kB / 372.3 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/0.2085, allocations: 165.3 kB / 372.4 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-05/0.2086, allocations: 43.98 kB / 372.5 MB, free: 12.69 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005784/0.2092, allocations: 0.7682 MB / 373.3 MB, free: 11.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2092, allocations: 0 / 373.3 MB, free: 11.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001209/0.2104, allocations: 0.789 MB / 374 MB, free: 11.2 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * 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 {(3,25,88.9%), (2,12,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.0003744/0.2108, allocations: 229 kB / 374.3 MB, free: 11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001937/0.2127, allocations: 1.723 MB / 376 MB, free: 9.297 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.6e-05/0.2127, allocations: 25.81 kB / 376 MB, free: 9.273 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.2139, allocations: 1.331 MB / 377.3 MB, free: 7.914 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.2152, allocations: 0.6517 MB / 378 MB, free: 7.277 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006206/0.2214, allocations: 6.154 MB / 384.1 MB, free: 1.078 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006633/0.2221, allocations: 0.8697 MB / 385 MB, free: 192 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000655/0.2228, allocations: 317.1 kB / 385.3 MB, free: 15.87 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/0.2238, allocations: 0.6162 MB / 385.9 MB, free: 15.25 MB / 346.7 MB Notification: Performance of SimCode: time 6.81e-07/0.2238, allocations: 0 / 385.9 MB, free: 15.25 MB / 346.7 MB Notification: Performance of Templates: time 0.05406/0.2779, allocations: 42.38 MB / 428.3 MB, free: 5.559 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.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: 5.0268584210425615]