Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.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.002252/0.002252, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.002152/0.002152, allocations: 193.1 kB / 23.71 MB, free: 4.406 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.477/1.477, allocations: 225.7 MB / 252.5 MB, free: 12.8 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.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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 47.94 kB / 370.9 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2914, allocations: 52.19 MB / 423.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01515/0.3065, allocations: 11.28 MB / 434.4 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008399/0.3149, allocations: 3.977 MB / 438.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001995/0.3169, allocations: 99.38 kB / 438.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002875/0.3198, allocations: 0.9496 MB / 439.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004468/0.3243, allocations: 1.239 MB / 440.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.326, allocations: 0.5188 MB / 441.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006494/0.3325, allocations: 4.633 MB / 445.8 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003549/0.336, allocations: 2.015 MB / 447.8 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003997/0.34, allocations: 2.185 MB / 450 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00446/0.3445, allocations: 2.53 MB / 452.5 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001406/0.3459, allocations: 0.5508 MB / 453.1 MB, free: 368 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002138/0.348, allocations: 0.6405 MB / 453.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002213/0.3502, allocations: 1.535 MB / 455.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003323/0.3535, allocations: 2.011 MB / 457.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01029/0.3638, allocations: 7.482 MB / 464.7 MB, free: 4.652 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.347e-06/0.3638, allocations: 4 kB / 464.7 MB, free: 4.648 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.327e-06/0.3639, allocations: 3.984 kB / 464.7 MB, free: 4.645 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002605/0.3641, allocations: 0 / 464.7 MB, free: 4.645 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.01191/0.376, allocations: 4.724 MB / 469.5 MB, free: 15.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.3761, allocations: 8.031 kB / 469.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.3775, allocations: 0.5137 MB / 470 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005448/0.3829, allocations: 2.528 MB / 472.5 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002533/0.3832, allocations: 271 kB / 472.8 MB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005917/0.3838, allocations: 355.9 kB / 473.1 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009079/0.3928, allocations: 5.278 MB / 478.4 MB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-05/0.3929, allocations: 15.88 kB / 478.4 MB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003398/0.3933, allocations: 148 kB / 478.6 MB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002071/0.3935, allocations: 179.1 kB / 478.7 MB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007424/0.4009, allocations: 4.291 MB / 483 MB, free: 2.125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02277/0.4237, allocations: 12.85 MB / 495.9 MB, free: 4.949 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004106/0.4278, allocations: 2.7 MB / 498.6 MB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003276/0.4311, allocations: 1.866 MB / 0.4887 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002713/0.4313, allocations: 57.97 kB / 0.4888 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.142e-05/0.4314, allocations: 56.5 kB / 0.4888 GB, free: 308 kB / 398.1 MB Notification: Performance of pre-optimization done (n=198): time 4.629e-06/0.4314, allocations: 4 kB / 0.4888 GB, free: 304 kB / 398.1 MB Notification: Performance of matching and sorting (n=218): time 0.02027/0.4517, allocations: 9.598 MB / 0.4982 GB, free: 6.688 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.4517, allocations: 73.41 kB / 0.4983 GB, free: 6.602 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003396/0.4551, allocations: 2.182 MB / 0.5004 GB, free: 4.383 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001777/0.4553, allocations: 61.7 kB / 0.5005 GB, free: 4.316 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00132/0.4566, allocations: 1.66 MB / 0.5021 GB, free: 2.641 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006887/0.4573, allocations: 0.7669 MB / 0.5028 GB, free: 1.867 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007013/0.458, allocations: 420.4 kB / 0.5032 GB, free: 1.449 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.4582, allocations: 305.1 kB / 0.5035 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00222/0.4604, allocations: 1.301 MB / 0.5048 GB, free: 15.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002642/0.463, allocations: 1.77 MB / 0.5065 GB, free: 13.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004859/0.4679, allocations: 3.215 MB / 0.5097 GB, free: 10.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.4679, allocations: 7.938 kB / 0.5097 GB, free: 10.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007427/0.4753, allocations: 4.037 MB / 0.5136 GB, free: 6.414 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/0.4754, allocations: 12 kB / 0.5136 GB, free: 6.402 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.889e-05/0.4754, allocations: 12.47 kB / 0.5136 GB, free: 6.391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002861/0.4782, allocations: 0.8872 MB / 0.5145 GB, free: 5.488 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002279/0.4805, allocations: 0.5227 MB / 0.515 GB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/0.4917, allocations: 8.994 MB / 0.5238 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002114/0.4939, allocations: 127.8 kB / 0.5239 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002374/0.4941, allocations: 91.98 kB / 0.524 GB, free: 11.46 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.002177/0.4963, allocations: 1.208 MB / 0.5252 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005681/0.4968, allocations: 258.4 kB / 0.5254 GB, free: 9.984 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006768/0.5036, allocations: 3.673 MB / 0.529 GB, free: 6.281 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.201e-05/0.5036, allocations: 20 kB / 0.529 GB, free: 6.262 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/0.5036, allocations: 12 kB / 0.5291 GB, free: 6.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-05/0.5037, allocations: 11.95 kB / 0.5291 GB, free: 6.238 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2588/0.7625, allocations: 7.095 MB / 0.536 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.662e-05/0.7625, allocations: 5.688 kB / 0.536 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002019/0.7645, allocations: 383.7 kB / 0.5364 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002988/0.7675, allocations: 0.9301 MB / 0.5373 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002015/0.7677, allocations: 55.69 kB / 0.5373 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009374/0.7771, allocations: 10.49 MB / 0.5476 GB, free: 99.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.7771, allocations: 3.875 kB / 0.5476 GB, free: 99.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007766/0.7849, allocations: 5.485 MB / 0.5529 GB, free: 96.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001837/0.7867, allocations: 0.5429 MB / 0.5535 GB, free: 96.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004775/0.7872, allocations: 50.19 kB / 0.5535 GB, free: 96.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/0.7887, allocations: 116.1 kB / 0.5536 GB, free: 96.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005136/0.7892, allocations: 190 kB / 0.5538 GB, free: 96.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/0.7893, allocations: 65.75 kB / 0.5539 GB, free: 96.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002038/0.7913, allocations: 1.478 MB / 0.5553 GB, free: 95.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.7913, allocations: 0 / 0.5553 GB, free: 95.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002382/0.7937, allocations: 0.7993 MB / 0.5561 GB, free: 94.82 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.0005452/0.7943, allocations: 248.4 kB / 0.5563 GB, free: 94.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005062/0.7993, allocations: 3.611 MB / 0.5598 GB, free: 91.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.7993, allocations: 1.375 kB / 0.5598 GB, free: 91.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003211/0.8026, allocations: 2.318 MB / 0.5621 GB, free: 89.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002705/0.8053, allocations: 0.6215 MB / 0.5627 GB, free: 88.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/0.8154, allocations: 7.83 MB / 0.5704 GB, free: 80.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001854/0.8173, allocations: 2.23 MB / 0.5725 GB, free: 78.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001877/0.8191, allocations: 0.6451 MB / 0.5732 GB, free: 77.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005194/0.8196, allocations: 159.4 kB / 0.5733 GB, free: 77.49 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.8196, allocations: 4 kB / 0.5733 GB, free: 77.48 MB / 446.1 MB Notification: Performance of Templates: time 0.06573/0.8854, allocations: 44.86 MB / 0.6171 GB, free: 33.25 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 8.082974519580603]