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.001896/0.001896, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.002151/0.002151, allocations: 217.5 kB / 23 MB, free: 5.609 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.449/1.449, allocations: 230.2 MB / 256.2 MB, free: 8.555 MB / 206.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 0.001881/0.001881, allocations: 63.89 kB / 376.5 MB, free: 3.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2822, allocations: 53.33 MB / 429.8 MB, free: 7.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.02228/0.3044, allocations: 13.06 MB / 442.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01192/0.3164, allocations: 4.295 MB / 447.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003638/0.32, allocations: 79.69 kB / 447.3 MB, free: 6.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004875/0.3249, allocations: 1.021 MB / 448.3 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006278/0.3311, allocations: 1.255 MB / 449.5 MB, free: 3.891 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002364/0.3335, allocations: 0.5343 MB / 450.1 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009079/0.3426, allocations: 4.687 MB / 454.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004701/0.3473, allocations: 2.073 MB / 456.8 MB, free: 12.51 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005892/0.3532, allocations: 2.159 MB / 459 MB, free: 10.36 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006439/0.3596, allocations: 2.639 MB / 461.6 MB, free: 7.711 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002147/0.3618, allocations: 0.5508 MB / 462.2 MB, free: 7.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002552/0.3643, allocations: 0.6561 MB / 462.8 MB, free: 6.504 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0028/0.3671, allocations: 1.55 MB / 464.4 MB, free: 4.949 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00602/0.3731, allocations: 2.493 MB / 466.9 MB, free: 2.445 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01425/0.3874, allocations: 7.486 MB / 474.4 MB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.221e-05/0.3874, allocations: 0 / 474.4 MB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.3874, allocations: 0 / 474.4 MB, free: 10.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003439/0.3878, allocations: 0 / 474.4 MB, free: 10.93 MB / 382.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.01937/0.4071, allocations: 4.839 MB / 479.2 MB, free: 6.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.4072, allocations: 8.031 kB / 479.2 MB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002956/0.4101, allocations: 0.5487 MB / 479.8 MB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008388/0.4185, allocations: 2.612 MB / 482.4 MB, free: 2.773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004186/0.4189, allocations: 267.4 kB / 482.6 MB, free: 2.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001401/0.4203, allocations: 351.9 kB / 483 MB, free: 2.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01594/0.4363, allocations: 5.064 MB / 488.1 MB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000122/0.4364, allocations: 15.95 kB / 488.1 MB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005587/0.437, allocations: 144 kB / 488.2 MB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003061/0.4373, allocations: 195.1 kB / 488.4 MB, free: 12.69 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01379/0.4511, allocations: 4.31 MB / 492.7 MB, free: 8.375 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03979/0.4908, allocations: 15.1 MB / 0.4959 GB, free: 8.875 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006927/0.4978, allocations: 4.062 MB / 0.4999 GB, free: 4.523 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00495/0.5027, allocations: 1.87 MB / 0.5017 GB, free: 2.652 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004243/0.5031, allocations: 151 kB / 0.5018 GB, free: 2.484 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.948e-05/0.5032, allocations: 52.56 kB / 0.5019 GB, free: 2.426 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 5.561e-06/0.5032, allocations: 0 / 0.5019 GB, free: 2.426 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.03171/0.5349, allocations: 9.993 MB / 0.5116 GB, free: 8.324 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.557e-05/0.535, allocations: 77.41 kB / 0.5117 GB, free: 8.234 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006225/0.5412, allocations: 2.518 MB / 0.5142 GB, free: 5.695 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004528/0.5417, allocations: 61.7 kB / 0.5142 GB, free: 5.629 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001994/0.5437, allocations: 1.67 MB / 0.5159 GB, free: 3.941 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001172/0.5449, allocations: 0.767 MB / 0.5166 GB, free: 3.168 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001141/0.546, allocations: 416.4 kB / 0.517 GB, free: 2.754 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002125/0.5462, allocations: 309.1 kB / 0.5173 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003308/0.5495, allocations: 1.305 MB / 0.5186 GB, free: 1.141 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003693/0.5532, allocations: 1.779 MB / 0.5203 GB, free: 15.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004782/0.558, allocations: 3.211 MB / 0.5235 GB, free: 11.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.558, allocations: 7.938 kB / 0.5235 GB, free: 11.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00741/0.5654, allocations: 4.069 MB / 0.5274 GB, free: 7.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.5655, allocations: 12 kB / 0.5275 GB, free: 7.668 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.5655, allocations: 12 kB / 0.5275 GB, free: 7.656 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002981/0.5685, allocations: 0.876 MB / 0.5283 GB, free: 6.766 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002207/0.5707, allocations: 0.5266 MB / 0.5288 GB, free: 6.238 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2826/0.8533, allocations: 9.476 MB / 0.5381 GB, free: 97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00263/0.8559, allocations: 126 kB / 0.5382 GB, free: 96.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003016/0.8562, allocations: 84.52 kB / 0.5383 GB, free: 96.95 MB / 446.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.002625/0.8588, allocations: 1.22 MB / 0.5395 GB, free: 96.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006964/0.8595, allocations: 285.6 kB / 0.5398 GB, free: 96.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006087/0.8656, allocations: 3.705 MB / 0.5434 GB, free: 94.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.203e-05/0.8657, allocations: 21.84 kB / 0.5434 GB, free: 94.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-05/0.8657, allocations: 6.875 kB / 0.5434 GB, free: 94.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-05/0.8657, allocations: 16.41 kB / 0.5434 GB, free: 94.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0121/0.8778, allocations: 8.02 MB / 0.5512 GB, free: 91.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.8778, allocations: 2.156 kB / 0.5512 GB, free: 91.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001512/0.8793, allocations: 384.9 kB / 0.5516 GB, free: 91.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002784/0.8821, allocations: 0.9343 MB / 0.5525 GB, free: 91.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001636/0.8823, allocations: 56.97 kB / 0.5526 GB, free: 91.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008662/0.8909, allocations: 11.09 MB / 0.5634 GB, free: 81.13 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.8909, allocations: 3.938 kB / 0.5634 GB, free: 81.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00708/0.898, allocations: 5.511 MB / 0.5688 GB, free: 75.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/0.8995, allocations: 0.6478 MB / 0.5694 GB, free: 75.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004064/0.8999, allocations: 51.98 kB / 0.5695 GB, free: 75.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/0.9011, allocations: 118.1 kB / 0.5696 GB, free: 74.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004191/0.9016, allocations: 177.7 kB / 0.5698 GB, free: 74.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/0.9017, allocations: 59.98 kB / 0.5698 GB, free: 74.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002042/0.9037, allocations: 1.735 MB / 0.5715 GB, free: 73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.9037, allocations: 3.938 kB / 0.5715 GB, free: 72.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002021/0.9058, allocations: 0.8003 MB / 0.5723 GB, free: 72.2 MB / 446.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.0005089/0.9063, allocations: 245.1 kB / 0.5725 GB, free: 71.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004539/0.9108, allocations: 3.774 MB / 0.5762 GB, free: 68.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.9108, allocations: 2 kB / 0.5762 GB, free: 68.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002796/0.9136, allocations: 2.386 MB / 0.5785 GB, free: 65.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00289/0.9165, allocations: 0.7941 MB / 0.5793 GB, free: 64.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009962/0.9265, allocations: 7.934 MB / 0.5871 GB, free: 56.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001725/0.9282, allocations: 2.789 MB / 0.5898 GB, free: 54.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001727/0.9299, allocations: 0.6907 MB / 0.5905 GB, free: 53.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005011/0.9304, allocations: 175.4 kB / 0.5906 GB, free: 53.24 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.9304, allocations: 0 / 0.5906 GB, free: 53.24 MB / 446.1 MB Notification: Performance of Templates: time 0.0637/0.9941, allocations: 45.9 MB / 0.6355 GB, free: 7.801 MB / 446.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.879355940036476]