Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.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.00137/0.00137, allocations: 89.5 kB / 20.68 MB, free: 1.027 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.001435/0.001435, allocations: 162.2 kB / 23.95 MB, free: 4.152 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.463/1.463, allocations: 177 MB / 204.1 MB, free: 9.141 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.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 325.1 MB, free: 468 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.14e-05/4.403e-05, allocations: 6.219 kB / 325.1 MB, free: 460 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01704/0.01709, allocations: 11.37 MB / 336.4 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01104/0.02813, allocations: 4.06 MB / 340.5 MB, free: 5.227 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004195/0.03232, allocations: 101.9 kB / 340.6 MB, free: 5.184 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003644/0.03597, allocations: 0.9752 MB / 341.6 MB, free: 4.445 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006221/0.04219, allocations: 1.309 MB / 342.9 MB, free: 3.129 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.04423, allocations: 0.5304 MB / 343.4 MB, free: 2.598 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008215/0.05244, allocations: 4.857 MB / 348.3 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003433/0.05588, allocations: 2.007 MB / 350.3 MB, free: 11.65 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007352/0.06323, allocations: 3.199 MB / 353.5 MB, free: 8.457 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005238/0.06847, allocations: 2.303 MB / 355.8 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001489/0.06996, allocations: 0.5508 MB / 356.3 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002065/0.07202, allocations: 0.6522 MB / 357 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001953/0.07397, allocations: 1.593 MB / 358.6 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003879/0.07785, allocations: 1.727 MB / 360.3 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0143/0.09215, allocations: 7.584 MB / 367.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.09216, allocations: 0 / 367.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.09216, allocations: 0 / 367.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002353/0.09239, allocations: 0 / 367.9 MB, free: 10.01 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.01297/0.1054, allocations: 4.713 MB / 372.6 MB, free: 5.242 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.1054, allocations: 15.98 kB / 372.6 MB, free: 5.227 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001833/0.1072, allocations: 0.5487 MB / 373.2 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005433/0.1127, allocations: 2.547 MB / 375.7 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002791/0.113, allocations: 267.4 kB / 376 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006264/0.1136, allocations: 352.3 kB / 376.3 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01004/0.1236, allocations: 5.316 MB / 381.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.242e-05/0.1237, allocations: 15.98 kB / 381.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003901/0.1241, allocations: 140 kB / 381.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002436/0.1243, allocations: 195.1 kB / 382 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008689/0.133, allocations: 4.306 MB / 386.3 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02508/0.1581, allocations: 12.89 MB / 399.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004445/0.1626, allocations: 2.688 MB / 401.9 MB, free: 7.496 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003512/0.1661, allocations: 1.881 MB / 403.7 MB, free: 5.617 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000272/0.1663, allocations: 53.95 kB / 403.8 MB, free: 5.566 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.477e-05/0.1664, allocations: 61.03 kB / 403.9 MB, free: 5.496 MB / 366.1 MB Notification: Performance of pre-optimization done (n=198): time 4.528e-06/0.1664, allocations: 0 / 403.9 MB, free: 5.496 MB / 366.1 MB Notification: Performance of matching and sorting (n=218): time 0.02272/0.1891, allocations: 9.589 MB / 413.4 MB, free: 11.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.859e-05/0.1892, allocations: 73.41 kB / 413.5 MB, free: 11.81 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003913/0.1931, allocations: 2.191 MB / 415.7 MB, free: 9.586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000226/0.1933, allocations: 73.7 kB / 415.8 MB, free: 9.508 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001642/0.195, allocations: 1.68 MB / 417.5 MB, free: 7.812 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007814/0.1958, allocations: 0.7475 MB / 418.2 MB, free: 7.059 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007308/0.1965, allocations: 420.4 kB / 418.6 MB, free: 6.641 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1966, allocations: 301.1 kB / 418.9 MB, free: 6.344 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002188/0.1988, allocations: 1.304 MB / 420.2 MB, free: 5.035 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002714/0.2016, allocations: 1.774 MB / 422 MB, free: 3.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004977/0.2065, allocations: 3.215 MB / 425.2 MB, free: 15.67 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/0.2065, allocations: 8 kB / 425.2 MB, free: 15.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00778/0.2143, allocations: 4.049 MB / 429.3 MB, free: 11.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.2144, allocations: 10.66 kB / 429.3 MB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.858e-05/0.2144, allocations: 12 kB / 429.3 MB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003042/0.2174, allocations: 0.8837 MB / 430.2 MB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002435/0.2199, allocations: 0.5265 MB / 430.7 MB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01183/0.2317, allocations: 8.987 MB / 439.7 MB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002215/0.2339, allocations: 123.7 kB / 439.8 MB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002524/0.2342, allocations: 87.98 kB / 439.9 MB, free: 0.6484 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.00238/0.2365, allocations: 1.219 MB / 441.1 MB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006041/0.2371, allocations: 258.4 kB / 441.4 MB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006944/0.2441, allocations: 3.673 MB / 445 MB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.03e-05/0.2441, allocations: 20 kB / 445 MB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.521e-05/0.2441, allocations: 11.98 kB / 445.1 MB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.1e-05/0.2441, allocations: 11.91 kB / 445.1 MB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01429/0.2584, allocations: 7.105 MB / 452.2 MB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.2584, allocations: 4 kB / 452.2 MB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001856/0.2603, allocations: 383.8 kB / 452.6 MB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003371/0.2637, allocations: 0.9252 MB / 453.5 MB, free: 2.895 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001995/0.2639, allocations: 59.97 kB / 453.5 MB, free: 2.836 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01454/0.2784, allocations: 10.5 MB / 464 MB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.2784, allocations: 8 kB / 464.1 MB, free: 7.918 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01036/0.2888, allocations: 5.473 MB / 469.5 MB, free: 2.375 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001824/0.2906, allocations: 0.5373 MB / 470.1 MB, free: 1.836 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004239/0.291, allocations: 51.98 kB / 470.1 MB, free: 1.785 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/0.2924, allocations: 115.9 kB / 470.2 MB, free: 1.672 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005313/0.2929, allocations: 193.6 kB / 470.4 MB, free: 1.484 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000158/0.2931, allocations: 55.98 kB / 470.5 MB, free: 1.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.1663/0.4594, allocations: 1.492 MB / 472 MB, free: 124.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4594, allocations: 0 / 472 MB, free: 124.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003428/0.4628, allocations: 0.7955 MB / 472.8 MB, free: 124.7 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.0006098/0.4635, allocations: 230 kB / 473 MB, free: 124.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005707/0.4692, allocations: 3.606 MB / 476.6 MB, free: 124.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.4692, allocations: 0.9688 kB / 476.6 MB, free: 124.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003578/0.4727, allocations: 2.308 MB / 478.9 MB, free: 123.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003082/0.4758, allocations: 0.6418 MB / 479.5 MB, free: 123 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/0.4869, allocations: 7.636 MB / 487.2 MB, free: 119.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001989/0.4889, allocations: 2.25 MB / 489.4 MB, free: 118.9 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001839/0.4907, allocations: 0.6421 MB / 490.1 MB, free: 118.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005735/0.4913, allocations: 172.2 kB / 490.2 MB, free: 118.8 MB / 430.1 MB Notification: Performance of SimCode: time 1.343e-06/0.4913, allocations: 0 / 490.2 MB, free: 118.8 MB / 430.1 MB Notification: Performance of Templates: time 0.05739/0.5487, allocations: 40.24 MB / 0.518 GB, free: 82.53 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.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.664641808718443]