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.001873/0.001873, allocations: 85.23 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002363/0.002363, allocations: 162.1 kB / 23.95 MB, free: 4.16 MB / 14.72 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 1.519/1.519, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.746e-06/2.746e-06, allocations: 1.469 kB / 325 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.918e-05, allocations: 6.219 kB / 325 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01605/0.01608, allocations: 11.35 MB / 336.4 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009689/0.02577, allocations: 4.065 MB / 340.5 MB, free: 5.305 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001946/0.02771, allocations: 106.8 kB / 340.6 MB, free: 5.258 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002658/0.03037, allocations: 0.9668 MB / 341.5 MB, free: 4.527 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004234/0.0346, allocations: 1.3 MB / 342.8 MB, free: 3.234 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.03594, allocations: 0.5381 MB / 343.4 MB, free: 2.695 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006377/0.04231, allocations: 4.861 MB / 348.2 MB, free: 13.81 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002934/0.04525, allocations: 2.007 MB / 350.2 MB, free: 11.74 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0054/0.05065, allocations: 3.196 MB / 353.4 MB, free: 8.551 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00357/0.05422, allocations: 2.303 MB / 355.7 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001013/0.05523, allocations: 0.5547 MB / 356.3 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.05656, allocations: 0.6443 MB / 356.9 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001806/0.05837, allocations: 1.589 MB / 358.5 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002669/0.06104, allocations: 1.735 MB / 360.3 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009016/0.07006, allocations: 7.576 MB / 367.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.07006, allocations: 0 / 367.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.07006, allocations: 0 / 367.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001485/0.07021, allocations: 0 / 367.8 MB, free: 10.11 MB / 334.1 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.01021/0.08042, allocations: 4.72 MB / 372.6 MB, free: 5.336 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.08046, allocations: 11.98 kB / 372.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001691/0.08215, allocations: 0.5487 MB / 373.1 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004917/0.08707, allocations: 2.543 MB / 375.7 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002528/0.08732, allocations: 267.4 kB / 375.9 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005798/0.0879, allocations: 360.3 kB / 376.3 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00898/0.09688, allocations: 5.312 MB / 381.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.236e-05/0.09695, allocations: 4 kB / 381.6 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000372/0.09732, allocations: 148 kB / 381.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002106/0.09753, allocations: 191.1 kB / 381.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007792/0.1053, allocations: 4.31 MB / 386.2 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0248/0.1301, allocations: 12.89 MB / 399.1 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004616/0.1347, allocations: 2.688 MB / 401.8 MB, free: 7.594 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003577/0.1383, allocations: 1.874 MB / 403.7 MB, free: 5.723 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002541/0.1386, allocations: 61.95 kB / 403.7 MB, free: 5.664 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.193e-05/0.1386, allocations: 57.03 kB / 403.8 MB, free: 5.598 MB / 366.1 MB Notification: Performance of pre-optimization done (n=198): time 4.228e-06/0.1386, allocations: 3.938 kB / 403.8 MB, free: 5.594 MB / 366.1 MB Notification: Performance of matching and sorting (n=218): time 0.02195/0.1606, allocations: 9.589 MB / 413.4 MB, free: 11.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/0.1607, allocations: 73.41 kB / 413.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003934/0.1646, allocations: 2.199 MB / 415.7 MB, free: 9.676 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001695/0.1648, allocations: 61.7 kB / 415.7 MB, free: 9.609 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001404/0.1662, allocations: 1.68 MB / 417.4 MB, free: 7.914 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007226/0.1669, allocations: 0.7553 MB / 418.2 MB, free: 7.152 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007639/0.1677, allocations: 420.4 kB / 418.6 MB, free: 6.734 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1678, allocations: 305.1 kB / 418.9 MB, free: 6.434 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00226/0.1701, allocations: 1.297 MB / 420.2 MB, free: 5.133 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002891/0.1729, allocations: 1.782 MB / 421.9 MB, free: 3.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00537/0.1783, allocations: 3.208 MB / 425.1 MB, free: 15.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.341e-05/0.1783, allocations: 4 kB / 425.1 MB, free: 15.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007976/0.1863, allocations: 4.049 MB / 429.2 MB, free: 11.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.1863, allocations: 8.469 kB / 429.2 MB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.556e-05/0.1864, allocations: 16 kB / 429.2 MB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003098/0.1895, allocations: 0.8834 MB / 430.1 MB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002453/0.1919, allocations: 0.5304 MB / 430.6 MB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01274/0.2047, allocations: 8.978 MB / 439.6 MB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002136/0.2068, allocations: 123.7 kB / 439.7 MB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003692/0.2072, allocations: 91.98 kB / 439.8 MB, free: 0.75 MB / 398.1 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.002594/0.2098, allocations: 1.218 MB / 441 MB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007846/0.2105, allocations: 262.4 kB / 441.3 MB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007814/0.2184, allocations: 3.669 MB / 445 MB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.274e-05/0.2184, allocations: 27.98 kB / 445 MB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.925e-05/0.2184, allocations: 8 kB / 445 MB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.208e-05/0.2184, allocations: 7.969 kB / 445 MB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01631/0.2347, allocations: 7.113 MB / 452.1 MB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.399e-05/0.2348, allocations: 4 kB / 452.1 MB, free: 4.309 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001812/0.2366, allocations: 387.8 kB / 452.5 MB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003435/0.24, allocations: 0.9282 MB / 453.4 MB, free: 2.988 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002186/0.2402, allocations: 55.97 kB / 453.5 MB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01386/0.2541, allocations: 10.48 MB / 464 MB, free: 8.043 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.2541, allocations: 11.94 kB / 464 MB, free: 8.031 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01078/0.2649, allocations: 5.485 MB / 469.5 MB, free: 2.477 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002519/0.2674, allocations: 0.5413 MB / 470 MB, free: 1.934 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008868/0.2683, allocations: 48 kB / 470.1 MB, free: 1.887 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00175/0.27, allocations: 119.8 kB / 470.2 MB, free: 1.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005098/0.2705, allocations: 185.7 kB / 470.4 MB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001988/0.2707, allocations: 63.92 kB / 470.4 MB, free: 1.527 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003214/0.274, allocations: 1.493 MB / 471.9 MB, free: 16 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.274, allocations: 0 / 471.9 MB, free: 16 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.1817/0.4556, allocations: 0.7993 MB / 472.7 MB, free: 125.4 MB / 430.1 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.0006253/0.4563, allocations: 226.6 kB / 472.9 MB, free: 125.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00627/0.4625, allocations: 3.613 MB / 476.5 MB, free: 124.9 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.4625, allocations: 1 kB / 476.5 MB, free: 124.9 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003735/0.4663, allocations: 2.305 MB / 478.8 MB, free: 123.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003351/0.4696, allocations: 0.6288 MB / 479.5 MB, free: 123.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/0.4815, allocations: 7.652 MB / 487.1 MB, free: 120.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002069/0.4836, allocations: 2.244 MB / 489.4 MB, free: 119.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001927/0.4855, allocations: 0.6497 MB / 490 MB, free: 119.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006612/0.4862, allocations: 161.3 kB / 490.2 MB, free: 119.6 MB / 430.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4862, allocations: 0 / 490.2 MB, free: 119.6 MB / 430.1 MB Notification: Performance of Templates: time 0.05769/0.5439, allocations: 40.24 MB / 0.518 GB, free: 82.8 MB / 430.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.872492518275976]