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.001008/0.001008, allocations: 81.95 kB / 21.42 MB, free: 3.078 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.00104/0.00104, allocations: 169.3 kB / 24.82 MB, free: 8.391 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.9893/0.9893, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.122e-06/1.122e-06, allocations: 0 / 273.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076e-05/1.188e-05, allocations: 2.312 kB / 273.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01007/0.01008, allocations: 12.41 MB / 285.8 MB, free: 4.789 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00655/0.01663, allocations: 4.183 MB / 290 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.01768, allocations: 103.3 kB / 290.1 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1217/0.1393, allocations: 0.9644 MB / 291.1 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003077/0.1424, allocations: 1.296 MB / 292.4 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009002/0.1433, allocations: 0.5328 MB / 292.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003805/0.1471, allocations: 4.81 MB / 297.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002281/0.1494, allocations: 2.024 MB / 299.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004041/0.1535, allocations: 3.376 MB / 303.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002312/0.1558, allocations: 2.454 MB / 305.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006761/0.1564, allocations: 0.5435 MB / 306.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008883/0.1573, allocations: 0.6397 MB / 306.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000794/0.1581, allocations: 1.57 MB / 308.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001429/0.1596, allocations: 1.728 MB / 310 MB, free: 9.699 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002394/0.1619, allocations: 4.029 MB / 314.1 MB, free: 6.266 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.162, allocations: 4 kB / 314.1 MB, free: 6.262 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.162, allocations: 0 / 314.1 MB, free: 6.262 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.425e-05/0.162, allocations: 7.922 kB / 314.1 MB, free: 6.254 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.003729/0.1657, allocations: 4.798 MB / 318.9 MB, free: 1.633 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.1657, allocations: 8.031 kB / 318.9 MB, free: 1.625 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009077/0.1667, allocations: 0.8347 MB / 319.7 MB, free: 0.793 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/0.1686, allocations: 2.227 MB / 322 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.1687, allocations: 266.2 kB / 322.2 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003191/0.169, allocations: 354.8 kB / 322.6 MB, free: 14.02 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002799/0.1718, allocations: 2.815 MB / 325.4 MB, free: 11.23 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.712e-05/0.1719, allocations: 6.844 kB / 325.4 MB, free: 11.22 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002087/0.1721, allocations: 146.3 kB / 325.5 MB, free: 11.08 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000115/0.1722, allocations: 183.1 kB / 325.7 MB, free: 10.9 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/0.1738, allocations: 1.037 MB / 326.7 MB, free: 9.871 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01499/0.1888, allocations: 11.6 MB / 338.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/0.1908, allocations: 1.396 MB / 339.7 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/0.1922, allocations: 0.8567 MB / 340.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/0.1924, allocations: 55.41 kB / 340.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.746e-05/0.1925, allocations: 59.39 kB / 340.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 4.648e-06/0.1925, allocations: 4 kB / 340.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.007974/0.2004, allocations: 4.075 MB / 344.8 MB, free: 8.508 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.2005, allocations: 81.28 kB / 344.9 MB, free: 8.414 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/0.2019, allocations: 1.83 MB / 346.7 MB, free: 6.828 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.863e-05/0.202, allocations: 61.7 kB / 346.8 MB, free: 6.762 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008443/0.2029, allocations: 1.797 MB / 348.6 MB, free: 5.039 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004142/0.2033, allocations: 0.7919 MB / 349.4 MB, free: 4.293 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004428/0.2037, allocations: 455.4 kB / 349.8 MB, free: 3.891 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.2038, allocations: 476.8 kB / 350.3 MB, free: 3.422 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/0.2042, allocations: 288.4 kB / 350.5 MB, free: 3.137 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000704/0.2049, allocations: 0.9665 MB / 351.5 MB, free: 1.973 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.2062, allocations: 1.451 MB / 353 MB, free: 376 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.2062, allocations: 8 kB / 353 MB, free: 368 kB / 298.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002311/0.2085, allocations: 1.897 MB / 354.9 MB, free: 14.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.2085, allocations: 16.41 kB / 354.9 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.2085, allocations: 16 kB / 354.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001239/0.2098, allocations: 0.5925 MB / 355.5 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009711/0.2107, allocations: 499 kB / 356 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004824/0.2156, allocations: 7.555 MB / 363.5 MB, free: 5.676 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007474/0.2163, allocations: 79.97 kB / 363.6 MB, free: 5.598 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.781e-05/0.2164, allocations: 68 kB / 363.7 MB, free: 5.531 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.0006144/0.217, allocations: 295.3 kB / 364 MB, free: 5.262 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003315/0.2174, allocations: 342.3 kB / 364.3 MB, free: 4.926 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00198/0.2193, allocations: 1.662 MB / 366 MB, free: 3.266 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.2193, allocations: 20 kB / 366 MB, free: 3.246 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.2194, allocations: 8 kB / 366 MB, free: 3.238 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.2194, allocations: 11.95 kB / 366 MB, free: 3.227 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005266/0.2246, allocations: 4.107 MB / 370.1 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.2246, allocations: 0 / 370.1 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000766/0.2254, allocations: 364.2 kB / 370.5 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001343/0.2267, allocations: 0.6301 MB / 371.1 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001108/0.2269, allocations: 51.97 kB / 371.1 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005193/0.2321, allocations: 9.259 MB / 380.4 MB, free: 4.742 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2321, allocations: 4 kB / 380.4 MB, free: 4.738 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002794/0.2348, allocations: 2.285 MB / 382.7 MB, free: 2.438 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000572/0.2354, allocations: 458 kB / 383.1 MB, free: 1.988 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001708/0.2356, allocations: 47.98 kB / 383.2 MB, free: 1.941 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005391/0.2361, allocations: 87.95 kB / 383.3 MB, free: 1.855 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002375/0.2364, allocations: 173.1 kB / 383.4 MB, free: 1.688 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-05/0.2364, allocations: 47.98 kB / 383.5 MB, free: 1.641 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007546/0.2372, allocations: 0.9681 MB / 384.5 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2372, allocations: 0 / 384.5 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001483/0.2387, allocations: 0.7891 MB / 385.2 MB, free: 15.95 MB / 346.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.0003871/0.2391, allocations: 246.3 kB / 385.5 MB, free: 15.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001985/0.2411, allocations: 2.021 MB / 387.5 MB, free: 13.71 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.2411, allocations: 0 / 387.5 MB, free: 13.71 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001322/0.2424, allocations: 1.638 MB / 389.1 MB, free: 12.03 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/0.2441, allocations: 0.6542 MB / 389.8 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006891/0.251, allocations: 6.399 MB / 396.2 MB, free: 4.93 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.2521, allocations: 1.026 MB / 397.2 MB, free: 3.883 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007314/0.2528, allocations: 313.1 kB / 397.5 MB, free: 3.57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/0.2539, allocations: 0.697 MB / 398.2 MB, free: 2.871 MB / 346.7 MB Notification: Performance of SimCode: time 1.113e-06/0.2539, allocations: 0 / 398.2 MB, free: 2.871 MB / 346.7 MB Notification: Performance of Templates: time 0.1578/0.4117, allocations: 42.61 MB / 440.8 MB, free: 113.9 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: 4.6055281376466155]