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.001427/0.001427, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.001722/0.001722, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 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.9984/0.9984, allocations: 177 MB / 204.8 MB, free: 5.582 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.433e-06/1.433e-06, allocations: 0 / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.71e-05/1.854e-05, allocations: 2.312 kB / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01904/0.01905, allocations: 12.84 MB / 285.8 MB, free: 4.539 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005395/0.02445, allocations: 4.222 MB / 290 MB, free: 312 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008391/0.02529, allocations: 103.3 kB / 290.1 MB, free: 208 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1275/0.1528, allocations: 0.9643 MB / 291.1 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003622/0.1564, allocations: 1.303 MB / 292.4 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.1575, allocations: 0.5388 MB / 292.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004819/0.1623, allocations: 4.855 MB / 297.8 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002742/0.1651, allocations: 2.017 MB / 299.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005473/0.1705, allocations: 3.247 MB / 303 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0042/0.1747, allocations: 2.502 MB / 305.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001467/0.1762, allocations: 0.5526 MB / 306.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002154/0.1784, allocations: 0.6582 MB / 306.7 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001176/0.1795, allocations: 1.616 MB / 308.4 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002719/0.1823, allocations: 1.749 MB / 310.1 MB, free: 9.098 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004053/0.1863, allocations: 4.092 MB / 314.2 MB, free: 5.832 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1863, allocations: 0 / 314.2 MB, free: 5.832 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1863, allocations: 3.375 kB / 314.2 MB, free: 5.832 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.857e-05/0.1864, allocations: 0 / 314.2 MB, free: 5.832 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.004775/0.1912, allocations: 5.006 MB / 319.2 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.1912, allocations: 11.98 kB / 319.2 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.1923, allocations: 0.8369 MB / 320.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002793/0.1951, allocations: 2.397 MB / 322.4 MB, free: 13.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/0.1952, allocations: 268.7 kB / 322.7 MB, free: 13.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003534/0.1956, allocations: 363.7 kB / 323.1 MB, free: 12.98 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004017/0.1996, allocations: 3.053 MB / 326.1 MB, free: 9.809 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.451e-05/0.1997, allocations: 3.953 kB / 326.1 MB, free: 9.805 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002135/0.1999, allocations: 155.5 kB / 326.3 MB, free: 9.656 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001337/0.2, allocations: 195.1 kB / 326.5 MB, free: 9.465 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002582/0.2026, allocations: 1.333 MB / 327.8 MB, free: 8.141 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01326/0.2159, allocations: 11.93 MB / 339.7 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/0.2177, allocations: 1.516 MB / 341.2 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001325/0.219, allocations: 0.9517 MB / 342.2 MB, free: 9.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001997/0.2192, allocations: 65.91 kB / 342.3 MB, free: 9.754 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.2192, allocations: 63.39 kB / 342.3 MB, free: 9.684 MB / 298.7 MB Notification: Performance of pre-optimization done (n=198): time 3.957e-06/0.2192, allocations: 0 / 342.3 MB, free: 9.684 MB / 298.7 MB Notification: Performance of matching and sorting (n=218): time 0.008729/0.228, allocations: 5.087 MB / 347.4 MB, free: 4.621 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.228, allocations: 73.41 kB / 347.5 MB, free: 4.535 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002117/0.2301, allocations: 1.896 MB / 349.4 MB, free: 2.598 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.2302, allocations: 69.7 kB / 349.4 MB, free: 2.523 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009108/0.2311, allocations: 1.783 MB / 351.2 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004806/0.2316, allocations: 0.7837 MB / 352 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004888/0.2321, allocations: 442.5 kB / 352.4 MB, free: 15.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.818e-05/0.2322, allocations: 476.8 kB / 352.9 MB, free: 15.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006667/0.2329, allocations: 380.4 kB / 353.3 MB, free: 14.67 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009954/0.2339, allocations: 1.051 MB / 354.3 MB, free: 13.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/0.2356, allocations: 1.628 MB / 356 MB, free: 11.56 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.227e-05/0.2357, allocations: 4 kB / 356 MB, free: 11.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003232/0.2389, allocations: 2.107 MB / 358.1 MB, free: 9.523 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.2389, allocations: 12 kB / 358.1 MB, free: 9.512 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.2389, allocations: 12 kB / 358.1 MB, free: 9.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001499/0.2404, allocations: 0.6075 MB / 358.7 MB, free: 8.875 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.2416, allocations: 0.5173 MB / 359.2 MB, free: 8.387 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005451/0.247, allocations: 7.804 MB / 367 MB, free: 264 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.2484, allocations: 115.9 kB / 367.1 MB, free: 148 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001632/0.2486, allocations: 88 kB / 367.2 MB, free: 60 kB / 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.0009066/0.2495, allocations: 294.1 kB / 367.5 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004521/0.2499, allocations: 346.3 kB / 367.8 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002756/0.2527, allocations: 1.843 MB / 369.7 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.2527, allocations: 20 kB / 369.7 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.2527, allocations: 8 kB / 369.7 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.2527, allocations: 19.98 kB / 369.7 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007312/0.26, allocations: 5.041 MB / 374.8 MB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.26, allocations: 0 / 374.8 MB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008809/0.2609, allocations: 387.8 kB / 375.2 MB, free: 8.105 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001568/0.2625, allocations: 0.6762 MB / 375.8 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.2626, allocations: 55.97 kB / 375.9 MB, free: 7.359 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006329/0.2689, allocations: 9.579 MB / 385.5 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.2689, allocations: 7.938 kB / 385.5 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004042/0.273, allocations: 2.543 MB / 388 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.274, allocations: 0.502 MB / 388.5 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/0.2742, allocations: 51.98 kB / 388.6 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006502/0.2748, allocations: 111.9 kB / 388.7 MB, free: 9.996 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002834/0.2751, allocations: 193.4 kB / 388.9 MB, free: 9.805 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-05/0.2752, allocations: 63.98 kB / 388.9 MB, free: 9.742 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001261/0.2765, allocations: 1.083 MB / 390 MB, free: 8.641 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2765, allocations: 0 / 390 MB, free: 8.641 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001846/0.2783, allocations: 0.793 MB / 390.8 MB, free: 7.848 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%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004631/0.2788, allocations: 256.3 kB / 391.1 MB, free: 7.609 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002939/0.2817, allocations: 2.218 MB / 393.3 MB, free: 5.328 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.2817, allocations: 4 kB / 393.3 MB, free: 5.324 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001944/0.2837, allocations: 1.772 MB / 395.1 MB, free: 3.473 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/0.2856, allocations: 0.6632 MB / 395.7 MB, free: 2.836 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00843/0.294, allocations: 6.49 MB / 402.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008707/0.2949, allocations: 1.03 MB / 403.2 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001235/0.2961, allocations: 0.5124 MB / 403.7 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004133/0.2966, allocations: 168.5 kB / 403.9 MB, free: 10.53 MB / 362.7 MB Notification: Performance of SimCode: time 1.553e-06/0.2966, allocations: 0 / 403.9 MB, free: 10.53 MB / 362.7 MB Notification: Performance of Templates: time 0.1605/0.457, allocations: 40.48 MB / 444.4 MB, free: 114.1 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.056041368748993]