Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002053/0.002053, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 51.92 kB / 371.7 MB, free: 9.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2459, allocations: 52.17 MB / 423.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.0164/0.2623, allocations: 13 MB / 436.9 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008924/0.2712, allocations: 4.214 MB / 441.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00242/0.2737, allocations: 103.3 kB / 441.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002936/0.2766, allocations: 1.006 MB / 442.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003924/0.2805, allocations: 1.247 MB / 443.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.2818, allocations: 0.5109 MB / 444 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005791/0.2876, allocations: 4.649 MB / 448.6 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002877/0.2905, allocations: 2.078 MB / 450.7 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003805/0.2943, allocations: 2.172 MB / 452.9 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004163/0.2985, allocations: 2.627 MB / 455.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009851/0.2995, allocations: 0.5508 MB / 456.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.3008, allocations: 0.6404 MB / 456.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001537/0.3024, allocations: 1.539 MB / 458.3 MB, free: 12.19 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003523/0.3059, allocations: 2.481 MB / 460.7 MB, free: 9.695 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00928/0.3152, allocations: 7.443 MB / 468.2 MB, free: 2.227 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.3152, allocations: 0 / 468.2 MB, free: 2.227 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3152, allocations: 0 / 468.2 MB, free: 2.227 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001701/0.3154, allocations: 4 kB / 468.2 MB, free: 2.223 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01073/0.3261, allocations: 4.728 MB / 472.9 MB, free: 13.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.3261, allocations: 12.03 kB / 472.9 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/0.3276, allocations: 0.5137 MB / 473.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005815/0.3334, allocations: 2.524 MB / 476 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002408/0.3337, allocations: 278.9 kB / 476.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000692/0.3343, allocations: 344 kB / 476.6 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009118/0.3435, allocations: 5.032 MB / 481.6 MB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.638e-05/0.3435, allocations: 7.953 kB / 481.6 MB, free: 4.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003444/0.3439, allocations: 144 kB / 481.8 MB, free: 4.492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002032/0.3441, allocations: 183 kB / 481.9 MB, free: 4.312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008019/0.3521, allocations: 4.298 MB / 486.2 MB, free: 8 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02661/0.3787, allocations: 14.59 MB / 0.4891 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004401/0.3831, allocations: 2.706 MB / 0.4917 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003353/0.3865, allocations: 1.874 MB / 0.4936 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002703/0.3867, allocations: 53.95 kB / 0.4936 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.088e-05/0.3868, allocations: 56.56 kB / 0.4937 GB, free: 12.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 4.348e-06/0.3868, allocations: 0 / 0.4937 GB, free: 12.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02073/0.4075, allocations: 9.618 MB / 0.5031 GB, free: 2.785 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/0.4076, allocations: 77.41 kB / 0.5031 GB, free: 2.695 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004052/0.4117, allocations: 2.502 MB / 0.5056 GB, free: 176 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002982/0.4119, allocations: 61.7 kB / 0.5056 GB, free: 108 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001441/0.4134, allocations: 1.662 MB / 0.5073 GB, free: 14.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008211/0.4142, allocations: 0.7669 MB / 0.508 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007155/0.4149, allocations: 420.5 kB / 0.5084 GB, free: 13.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.4151, allocations: 301.1 kB / 0.5087 GB, free: 12.94 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00219/0.4172, allocations: 1.297 MB / 0.51 GB, free: 11.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002547/0.4198, allocations: 1.778 MB / 0.5117 GB, free: 9.668 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004867/0.4247, allocations: 3.208 MB / 0.5148 GB, free: 6.281 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/0.4247, allocations: 7.938 kB / 0.5148 GB, free: 6.273 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007541/0.4322, allocations: 4.065 MB / 0.5188 GB, free: 2.184 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/0.4322, allocations: 15.16 kB / 0.5188 GB, free: 2.172 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.102e-05/0.4323, allocations: 16 kB / 0.5188 GB, free: 2.156 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002936/0.4352, allocations: 0.8834 MB / 0.5197 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002259/0.4375, allocations: 0.5266 MB / 0.5202 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/0.4488, allocations: 9.182 MB / 0.5292 GB, free: 7.203 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/0.4509, allocations: 115.9 kB / 0.5293 GB, free: 7.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002054/0.4511, allocations: 87.98 kB / 0.5294 GB, free: 7.004 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.002225/0.4533, allocations: 1.212 MB / 0.5306 GB, free: 5.781 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006299/0.454, allocations: 290.2 kB / 0.5308 GB, free: 5.496 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00682/0.4608, allocations: 3.695 MB / 0.5344 GB, free: 1.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.078e-05/0.4608, allocations: 20 kB / 0.5345 GB, free: 1.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/0.4608, allocations: 8 kB / 0.5345 GB, free: 1.742 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.169e-05/0.4608, allocations: 15.89 kB / 0.5345 GB, free: 1.727 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2134/0.6742, allocations: 7.978 MB / 0.5423 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.497e-06/0.6743, allocations: 9.875 kB / 0.5423 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001519/0.6758, allocations: 385.2 kB / 0.5426 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002733/0.6785, allocations: 0.9308 MB / 0.5436 GB, free: 104.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001408/0.6786, allocations: 56 kB / 0.5436 GB, free: 104 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008572/0.6872, allocations: 10.68 MB / 0.554 GB, free: 96.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.6872, allocations: 3.656 kB / 0.554 GB, free: 96.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00684/0.6941, allocations: 5.507 MB / 0.5594 GB, free: 93.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00152/0.6956, allocations: 0.5806 MB / 0.56 GB, free: 92.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003821/0.696, allocations: 51.98 kB / 0.56 GB, free: 92.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/0.6972, allocations: 118.8 kB / 0.5601 GB, free: 92.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003479/0.6976, allocations: 189 kB / 0.5603 GB, free: 92.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/0.6977, allocations: 63.98 kB / 0.5604 GB, free: 92.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002049/0.6997, allocations: 1.727 MB / 0.5621 GB, free: 90.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6997, allocations: 3.125 kB / 0.5621 GB, free: 90.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001985/0.7017, allocations: 0.7968 MB / 0.5629 GB, free: 90 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.000475/0.7022, allocations: 232.3 kB / 0.5631 GB, free: 89.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004583/0.7068, allocations: 3.612 MB / 0.5666 GB, free: 86.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.7068, allocations: 4 kB / 0.5666 GB, free: 86.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002923/0.7097, allocations: 2.323 MB / 0.5689 GB, free: 83.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002965/0.7127, allocations: 0.7959 MB / 0.5697 GB, free: 83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009947/0.7226, allocations: 7.892 MB / 0.5774 GB, free: 75.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001691/0.7243, allocations: 2.723 MB / 0.58 GB, free: 72.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008409/0.7252, allocations: 191.4 kB / 0.5802 GB, free: 72.15 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.7252, allocations: 0 / 0.5802 GB, free: 72.15 MB / 446.1 MB Notification: Performance of Templates: time 0.1334/0.8586, allocations: 142.3 MB / 0.7191 GB, free: 9.887 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 17.434550708858296]