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.0009402/0.0009402, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001081/0.001081, allocations: 173.3 kB / 24.91 MB, free: 9.211 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.9639/0.9639, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.693e-06/1.693e-06, allocations: 0 / 273.5 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.267e-05/1.437e-05, allocations: 2.312 kB / 273.5 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.009338/0.009352, allocations: 12.48 MB / 286 MB, free: 4.691 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006102/0.01545, allocations: 4.345 MB / 290.3 MB, free: 340 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007797/0.01623, allocations: 103.3 kB / 290.4 MB, free: 236 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1195/0.1357, allocations: 0.9924 MB / 291.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003215/0.1389, allocations: 1.286 MB / 292.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000957/0.1399, allocations: 0.532 MB / 293.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004212/0.1441, allocations: 4.821 MB / 298.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002403/0.1465, allocations: 2.063 MB / 300.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004137/0.1506, allocations: 3.372 MB / 303.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002921/0.1536, allocations: 2.435 MB / 305.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009866/0.1546, allocations: 0.5426 MB / 306.5 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008736/0.1554, allocations: 0.6521 MB / 307.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006948/0.1561, allocations: 1.561 MB / 308.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001088/0.1572, allocations: 1.728 MB / 310.4 MB, free: 9.266 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002519/0.1597, allocations: 4.037 MB / 314.5 MB, free: 5.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1597, allocations: 0 / 314.5 MB, free: 5.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1597, allocations: 0.75 kB / 314.5 MB, free: 5.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.508e-05/0.1598, allocations: 0 / 314.5 MB, free: 5.75 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.00334/0.1631, allocations: 4.407 MB / 318.9 MB, free: 1.531 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.1631, allocations: 12.03 kB / 318.9 MB, free: 1.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000926/0.1641, allocations: 0.6802 MB / 319.6 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.1658, allocations: 1.641 MB / 321.2 MB, free: 15.26 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.1659, allocations: 266.4 kB / 321.5 MB, free: 15 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003344/0.1662, allocations: 366.2 kB / 321.8 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002711/0.1689, allocations: 2.845 MB / 324.7 MB, free: 11.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.642e-05/0.169, allocations: 12.84 kB / 324.7 MB, free: 11.83 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002066/0.1692, allocations: 149.4 kB / 324.8 MB, free: 11.69 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001707/0.1694, allocations: 187 kB / 325 MB, free: 11.51 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/0.1709, allocations: 1.063 MB / 326.1 MB, free: 10.45 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008583/0.1794, allocations: 9.128 MB / 335.2 MB, free: 1.766 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.1807, allocations: 1.354 MB / 336.5 MB, free: 464 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008839/0.1816, allocations: 0.7791 MB / 337.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001412/0.1817, allocations: 53.98 kB / 337.4 MB, free: 15.65 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.1818, allocations: 65.75 kB / 337.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 3.446e-06/0.1818, allocations: 0 / 337.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.006035/0.1878, allocations: 3.985 MB / 341.4 MB, free: 11.67 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.1878, allocations: 73.41 kB / 341.5 MB, free: 11.58 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.1889, allocations: 1.514 MB / 343 MB, free: 10.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.31e-05/0.189, allocations: 61.7 kB / 343.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005565/0.1895, allocations: 1.354 MB / 344.4 MB, free: 8.977 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003489/0.1899, allocations: 0.7621 MB / 345.2 MB, free: 8.262 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003884/0.1903, allocations: 389 kB / 345.6 MB, free: 7.922 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.709e-05/0.1903, allocations: 304 kB / 345.9 MB, free: 7.625 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006575/0.191, allocations: 295.8 kB / 346.2 MB, free: 7.332 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000601/0.1916, allocations: 0.7183 MB / 346.9 MB, free: 6.484 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.1928, allocations: 1.287 MB / 348.2 MB, free: 5.117 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.1928, allocations: 4 kB / 348.2 MB, free: 5.113 MB / 298.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.001917/0.1947, allocations: 1.53 MB / 349.7 MB, free: 3.664 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.1947, allocations: 12 kB / 349.7 MB, free: 3.652 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.1947, allocations: 12 kB / 349.7 MB, free: 3.641 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00121/0.196, allocations: 0.5745 MB / 350.3 MB, free: 3.062 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.1972, allocations: 0.5944 MB / 350.9 MB, free: 2.496 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003959/0.2012, allocations: 5.709 MB / 356.6 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006676/0.2019, allocations: 79.94 kB / 356.7 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.202, allocations: 67.98 kB / 356.7 MB, free: 12.47 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.0005985/0.2026, allocations: 246.5 kB / 357 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002943/0.2029, allocations: 235.7 kB / 357.2 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/0.2046, allocations: 1.418 MB / 358.6 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.2046, allocations: 20 kB / 358.6 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.2046, allocations: 12 kB / 358.7 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.2046, allocations: 11.95 kB / 358.7 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004296/0.2089, allocations: 3.445 MB / 362.1 MB, free: 7.359 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.2089, allocations: 4 kB / 362.1 MB, free: 7.355 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/0.21, allocations: 0.5221 MB / 362.6 MB, free: 6.848 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001258/0.2113, allocations: 0.6059 MB / 363.2 MB, free: 6.234 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.286e-05/0.2114, allocations: 55.97 kB / 363.3 MB, free: 6.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00417/0.2156, allocations: 6.939 MB / 370.2 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.2156, allocations: 11.5 kB / 370.2 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002157/0.2177, allocations: 1.96 MB / 372.2 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004847/0.2182, allocations: 330 kB / 372.5 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/0.2184, allocations: 44 kB / 372.6 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005206/0.2189, allocations: 83.95 kB / 372.7 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002307/0.2191, allocations: 172.8 kB / 372.8 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.693e-05/0.2192, allocations: 43.98 kB / 372.9 MB, free: 12.35 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005845/0.2198, allocations: 0.7686 MB / 373.6 MB, free: 11.64 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2198, allocations: 0 / 373.6 MB, free: 11.64 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001318/0.2211, allocations: 0.789 MB / 374.4 MB, free: 10.86 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.000377/0.2215, allocations: 229.4 kB / 374.6 MB, free: 10.65 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001785/0.2233, allocations: 1.719 MB / 376.4 MB, free: 8.926 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.813e-05/0.2233, allocations: 25.81 kB / 376.4 MB, free: 8.902 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.2245, allocations: 1.333 MB / 377.7 MB, free: 7.543 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.2258, allocations: 0.66 MB / 378.4 MB, free: 6.902 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006086/0.2319, allocations: 6.156 MB / 384.5 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006685/0.2326, allocations: 0.8658 MB / 385.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006874/0.2333, allocations: 313.1 kB / 385.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/0.2344, allocations: 0.6201 MB / 386.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of SimCode: time 8.92e-07/0.2344, allocations: 0 / 386.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of Templates: time 0.04677/0.2811, allocations: 42.49 MB / 428.8 MB, free: 5.062 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 -s gbode -gbm=radauIIA3 -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: 4.717134074773639]