Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.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.001158/0.001158, allocations: 84.73 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001297/0.001297, allocations: 161.1 kB / 24.91 MB, free: 9.211 MB / 18.57 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 0.9454/0.9454, allocations: 177 MB / 205.2 MB, free: 5.441 MB / 186.7 MB " [Timeout remaining time 179] 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_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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 3.938 kB / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.301e-05/1.451e-05, allocations: 2.312 kB / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.00926/0.009275, allocations: 12.49 MB / 285.9 MB, free: 4.652 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00609/0.01536, allocations: 4.357 MB / 290.2 MB, free: 288 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001186/0.01655, allocations: 107.2 kB / 290.3 MB, free: 180 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1139/0.1304, allocations: 0.9734 MB / 291.3 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003799/0.1342, allocations: 1.311 MB / 292.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.1353, allocations: 0.5344 MB / 293.2 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004435/0.1397, allocations: 4.862 MB / 298 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002568/0.1423, allocations: 2.071 MB / 300.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004911/0.1472, allocations: 3.391 MB / 303.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003028/0.1502, allocations: 2.444 MB / 305.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001075/0.1513, allocations: 0.546 MB / 306.5 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.1523, allocations: 0.6458 MB / 307.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007608/0.1531, allocations: 1.579 MB / 308.7 MB, free: 9.996 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001243/0.1543, allocations: 1.727 MB / 310.4 MB, free: 9.082 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002457/0.1567, allocations: 4.052 MB / 314.5 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1568, allocations: 0 / 314.5 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1568, allocations: 0.75 kB / 314.5 MB, free: 5.484 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.325e-05/0.1568, allocations: 0 / 314.5 MB, free: 5.484 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: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.003465/0.1603, allocations: 4.423 MB / 318.9 MB, free: 1.258 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.849e-05/0.1603, allocations: 11.98 kB / 318.9 MB, free: 1.246 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008988/0.1612, allocations: 0.6845 MB / 319.6 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001818/0.163, allocations: 1.662 MB / 321.3 MB, free: 14.96 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.1631, allocations: 266.1 kB / 321.5 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003283/0.1635, allocations: 357 kB / 321.9 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002669/0.1661, allocations: 2.862 MB / 324.7 MB, free: 11.54 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.688e-05/0.1662, allocations: 6.766 kB / 324.7 MB, free: 11.53 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002203/0.1664, allocations: 146.8 kB / 324.9 MB, free: 11.39 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001442/0.1665, allocations: 195.1 kB / 325.1 MB, free: 11.2 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001623/0.1682, allocations: 1.075 MB / 326.1 MB, free: 10.13 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009326/0.1775, allocations: 9.15 MB / 335.3 MB, free: 1.43 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.1788, allocations: 1.364 MB / 336.7 MB, free: 116 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009476/0.1797, allocations: 0.7761 MB / 337.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/0.1799, allocations: 64.88 kB / 337.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.1799, allocations: 56.56 kB / 337.6 MB, free: 15.24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 3.787e-06/0.1799, allocations: 0 / 337.6 MB, free: 15.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.006799/0.1867, allocations: 3.985 MB / 341.5 MB, free: 11.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.1868, allocations: 73.41 kB / 341.6 MB, free: 11.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.1879, allocations: 1.51 MB / 343.1 MB, free: 9.977 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.654e-05/0.188, allocations: 65.7 kB / 343.2 MB, free: 9.906 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005273/0.1885, allocations: 1.366 MB / 344.6 MB, free: 8.617 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003574/0.1888, allocations: 0.7582 MB / 345.3 MB, free: 7.906 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000396/0.1892, allocations: 394 kB / 345.7 MB, free: 7.562 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.679e-05/0.1893, allocations: 301.1 kB / 346 MB, free: 7.266 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004033/0.1897, allocations: 291.3 kB / 346.3 MB, free: 6.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000567/0.1903, allocations: 0.7246 MB / 347 MB, free: 6.125 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.1914, allocations: 1.291 MB / 348.3 MB, free: 4.758 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.1914, allocations: 4 kB / 348.3 MB, free: 4.754 MB / 298.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.001979/0.1934, allocations: 1.537 MB / 349.8 MB, free: 3.301 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.1934, allocations: 12 kB / 349.8 MB, free: 3.289 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.1934, allocations: 12 kB / 349.9 MB, free: 3.277 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/0.1946, allocations: 0.574 MB / 350.4 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009995/0.1956, allocations: 0.4893 MB / 350.9 MB, free: 2.234 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00387/0.1995, allocations: 5.661 MB / 356.6 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000787/0.2003, allocations: 75.94 kB / 356.7 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.2004, allocations: 75.98 kB / 356.7 MB, free: 12.25 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.0006435/0.201, allocations: 250.1 kB / 357 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003025/0.2013, allocations: 235.7 kB / 357.2 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001782/0.2031, allocations: 1.409 MB / 358.6 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.2031, allocations: 24 kB / 358.6 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.2031, allocations: 4 kB / 358.6 MB, free: 10.35 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.2032, allocations: 11.95 kB / 358.7 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004503/0.2077, allocations: 3.436 MB / 362.1 MB, free: 7.156 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.2077, allocations: 4.344 kB / 362.1 MB, free: 7.152 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000812/0.2085, allocations: 356.2 kB / 362.4 MB, free: 6.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001412/0.2099, allocations: 0.6949 MB / 363.1 MB, free: 6.117 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.405e-05/0.21, allocations: 47.98 kB / 363.2 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004392/0.2144, allocations: 6.9 MB / 370.1 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2144, allocations: 0 / 370.1 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002482/0.2169, allocations: 1.954 MB / 372 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006083/0.2175, allocations: 325.4 kB / 372.4 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/0.2177, allocations: 55.92 kB / 372.4 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005526/0.2182, allocations: 83.97 kB / 372.5 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002372/0.2185, allocations: 164.9 kB / 372.6 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.99e-05/0.2185, allocations: 51.92 kB / 372.7 MB, free: 12.28 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006609/0.2192, allocations: 0.7705 MB / 373.5 MB, free: 11.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.2192, allocations: 0 / 373.5 MB, free: 11.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001613/0.2208, allocations: 0.7929 MB / 374.3 MB, free: 10.78 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.0004216/0.2212, allocations: 235.8 kB / 374.5 MB, free: 10.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001897/0.2231, allocations: 1.714 MB / 376.2 MB, free: 8.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-05/0.2232, allocations: 25.81 kB / 376.2 MB, free: 8.816 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001226/0.2244, allocations: 1.34 MB / 377.6 MB, free: 7.445 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.2257, allocations: 0.652 MB / 378.2 MB, free: 6.816 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006851/0.2326, allocations: 6.186 MB / 384.4 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007219/0.2333, allocations: 0.874 MB / 385.3 MB, free: 15.7 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008335/0.2342, allocations: 313.1 kB / 385.6 MB, free: 15.39 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/0.2352, allocations: 0.6162 MB / 386.2 MB, free: 14.77 MB / 346.7 MB Notification: Performance of SimCode: time 9.42e-07/0.2352, allocations: 0 / 386.2 MB, free: 14.77 MB / 346.7 MB Notification: Performance of Templates: time 0.04929/0.2845, allocations: 42.4 MB / 428.6 MB, free: 4.918 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.156192287337035]