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.00165/0.00165, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.002122/0.002122, allocations: 187.5 kB / 24.45 MB, free: 3.867 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.424/1.424, allocations: 225.7 MB / 253.3 MB, free: 12.84 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.001608/0.001608, allocations: 51.91 kB / 371.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2306, allocations: 52.18 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01443/0.245, allocations: 11.29 MB / 435.1 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008103/0.2531, allocations: 3.972 MB / 439.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001862/0.255, allocations: 99.38 kB / 439.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002556/0.2576, allocations: 0.951 MB / 440.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003687/0.2613, allocations: 1.235 MB / 441.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.2625, allocations: 0.5188 MB / 441.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00571/0.2682, allocations: 4.63 MB / 446.5 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003035/0.2712, allocations: 2.007 MB / 448.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003995/0.2752, allocations: 2.189 MB / 450.7 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004446/0.2797, allocations: 2.533 MB / 453.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001153/0.2808, allocations: 0.5508 MB / 453.8 MB, free: 360 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001634/0.2825, allocations: 0.6405 MB / 454.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001658/0.2841, allocations: 1.539 MB / 456 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003317/0.2874, allocations: 2.003 MB / 458 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00863/0.2961, allocations: 7.49 MB / 465.5 MB, free: 4.641 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2961, allocations: 4 kB / 465.5 MB, free: 4.637 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.2961, allocations: 0 / 465.5 MB, free: 4.637 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001549/0.2962, allocations: 0 / 465.5 MB, free: 4.637 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.01039/0.3066, allocations: 4.732 MB / 470.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3067, allocations: 8.031 kB / 470.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00135/0.308, allocations: 0.5137 MB / 470.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005028/0.313, allocations: 2.528 MB / 473.3 MB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000288/0.3133, allocations: 267 kB / 473.5 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007322/0.3141, allocations: 351.9 kB / 473.9 MB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01065/0.3247, allocations: 5.276 MB / 479.2 MB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.256e-05/0.3248, allocations: 15.89 kB / 479.2 MB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003632/0.3252, allocations: 144 kB / 479.3 MB, free: 6.594 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002104/0.3254, allocations: 191 kB / 479.5 MB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008766/0.3341, allocations: 4.287 MB / 483.8 MB, free: 2.113 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02677/0.3609, allocations: 12.86 MB / 496.6 MB, free: 4.934 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004557/0.3655, allocations: 2.696 MB / 499.3 MB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003547/0.369, allocations: 1.87 MB / 0.4895 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00027/0.3693, allocations: 57.95 kB / 0.4895 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.824e-05/0.3693, allocations: 56.56 kB / 0.4896 GB, free: 292 kB / 398.1 MB Notification: Performance of pre-optimization done (n=198): time 4.529e-06/0.3694, allocations: 0 / 0.4896 GB, free: 292 kB / 398.1 MB Notification: Performance of matching and sorting (n=218): time 0.02153/0.3909, allocations: 9.594 MB / 0.4989 GB, free: 6.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.686e-05/0.391, allocations: 77.39 kB / 0.499 GB, free: 6.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004156/0.3951, allocations: 2.179 MB / 0.5011 GB, free: 4.375 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002391/0.3954, allocations: 65.7 kB / 0.5012 GB, free: 4.305 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001398/0.3968, allocations: 1.66 MB / 0.5028 GB, free: 2.629 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008038/0.3976, allocations: 0.7708 MB / 0.5036 GB, free: 1.852 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008514/0.3984, allocations: 420.4 kB / 0.504 GB, free: 1.434 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.3985, allocations: 301.1 kB / 0.5043 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002322/0.4009, allocations: 1.301 MB / 0.5055 GB, free: 15.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002714/0.4036, allocations: 1.774 MB / 0.5073 GB, free: 13.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005088/0.4087, allocations: 3.212 MB / 0.5104 GB, free: 10.47 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.501e-05/0.4087, allocations: 4 kB / 0.5104 GB, free: 10.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007636/0.4163, allocations: 4.038 MB / 0.5143 GB, free: 6.406 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.4163, allocations: 12 kB / 0.5144 GB, free: 6.395 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.071e-05/0.4164, allocations: 15.98 kB / 0.5144 GB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002911/0.4193, allocations: 0.8854 MB / 0.5152 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002211/0.4215, allocations: 0.5227 MB / 0.5157 GB, free: 4.957 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0119/0.4334, allocations: 9.001 MB / 0.5245 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/0.4355, allocations: 127.8 kB / 0.5247 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003497/0.4358, allocations: 84 kB / 0.5247 GB, free: 11.45 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.002436/0.4382, allocations: 1.212 MB / 0.5259 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007349/0.439, allocations: 258.4 kB / 0.5262 GB, free: 9.973 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007083/0.4461, allocations: 3.681 MB / 0.5298 GB, free: 6.262 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/0.4461, allocations: 20.09 kB / 0.5298 GB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.3e-05/0.4461, allocations: 11.98 kB / 0.5298 GB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.221e-05/0.4461, allocations: 7.969 kB / 0.5298 GB, free: 6.223 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.226/0.6722, allocations: 7.09 MB / 0.5367 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-05/0.6722, allocations: 3.234 kB / 0.5367 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00199/0.6742, allocations: 389 kB / 0.5371 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003101/0.6773, allocations: 0.9229 MB / 0.538 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003407/0.6776, allocations: 58.97 kB / 0.5381 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00952/0.6871, allocations: 10.49 MB / 0.5483 GB, free: 99.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.6871, allocations: 7.812 kB / 0.5483 GB, free: 99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007207/0.6943, allocations: 5.485 MB / 0.5537 GB, free: 96.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001615/0.696, allocations: 0.5381 MB / 0.5542 GB, free: 96.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004069/0.6964, allocations: 48.89 kB / 0.5542 GB, free: 96.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/0.6976, allocations: 114.1 kB / 0.5543 GB, free: 96.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003804/0.698, allocations: 197.7 kB / 0.5545 GB, free: 96.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/0.6981, allocations: 54.62 kB / 0.5546 GB, free: 96.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001849/0.7, allocations: 1.486 MB / 0.556 GB, free: 95.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7, allocations: 96 / 0.556 GB, free: 95.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002146/0.7021, allocations: 0.7917 MB / 0.5568 GB, free: 94.8 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.0005442/0.7027, allocations: 239.7 kB / 0.557 GB, free: 94.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004848/0.7075, allocations: 3.614 MB / 0.5606 GB, free: 91.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.7075, allocations: 8 kB / 0.5606 GB, free: 91.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002997/0.7105, allocations: 2.313 MB / 0.5628 GB, free: 89.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002993/0.7135, allocations: 0.6333 MB / 0.5635 GB, free: 88.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/0.7242, allocations: 7.831 MB / 0.5711 GB, free: 80.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001815/0.726, allocations: 2.187 MB / 0.5732 GB, free: 78.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008907/0.7269, allocations: 179.4 kB / 0.5734 GB, free: 78.15 MB / 446.1 MB Notification: Performance of SimCode: time 1.173e-06/0.7269, allocations: 0 / 0.5734 GB, free: 78.15 MB / 446.1 MB Notification: Performance of Templates: time 0.1302/0.8572, allocations: 140.8 MB / 0.711 GB, free: 1.293 MB / 0.4981 GB " [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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/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: 16.561788510065526]