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.0009029/0.0009029, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 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.00419/0.00419, allocations: 144.5 kB / 24.68 MB, free: 9.434 MB / 18.57 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 0.8261/0.8261, allocations: 173.4 MB / 201.2 MB, free: 9.418 MB / 186.7 MB " [Timeout remaining time 179] 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 1.272e-06/1.272e-06, allocations: 0 / 319.7 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.498e-05/1.625e-05, allocations: 2.281 kB / 319.7 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.008052/0.008068, allocations: 11.27 MB / 331 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005652/0.01372, allocations: 3.988 MB / 335 MB, free: 6.473 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.01473, allocations: 99.31 kB / 335.1 MB, free: 6.375 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001524/0.01626, allocations: 0.9624 MB / 336 MB, free: 5.406 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001859/0.01812, allocations: 1.281 MB / 337.3 MB, free: 4.117 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006985/0.01881, allocations: 0.5187 MB / 337.8 MB, free: 3.598 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00256/0.02137, allocations: 4.81 MB / 342.7 MB, free: 14.76 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001556/0.02293, allocations: 2.011 MB / 344.7 MB, free: 12.68 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002357/0.02529, allocations: 3.15 MB / 347.8 MB, free: 9.539 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001751/0.02704, allocations: 2.295 MB / 350.1 MB, free: 7.238 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003929/0.02743, allocations: 0.5508 MB / 350.7 MB, free: 6.688 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005817/0.02801, allocations: 0.6443 MB / 351.3 MB, free: 6.043 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008068/0.02882, allocations: 1.574 MB / 352.9 MB, free: 4.465 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001049/0.02987, allocations: 1.723 MB / 354.6 MB, free: 2.738 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004165/0.03403, allocations: 7.533 MB / 362.1 MB, free: 11.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.03404, allocations: 4 kB / 362.1 MB, free: 11.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.03404, allocations: 0 / 362.1 MB, free: 11.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.808e-05/0.03408, allocations: 7.875 kB / 362.1 MB, free: 11.17 MB / 330.7 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.004481/0.03856, allocations: 4.685 MB / 366.8 MB, free: 6.434 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.03859, allocations: 8.922 kB / 366.8 MB, free: 6.426 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006626/0.03925, allocations: 0.5175 MB / 367.4 MB, free: 5.906 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002522/0.04178, allocations: 2.516 MB / 369.9 MB, free: 3.348 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.04189, allocations: 267.4 kB / 370.1 MB, free: 3.086 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003237/0.04222, allocations: 360.3 kB / 370.5 MB, free: 2.734 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004713/0.04693, allocations: 5.283 MB / 375.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.825e-05/0.04699, allocations: 11.89 kB / 375.8 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002208/0.04721, allocations: 148 kB / 375.9 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001118/0.04732, allocations: 179.1 kB / 376.1 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004155/0.05148, allocations: 4.294 MB / 380.4 MB, free: 8.691 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01143/0.06291, allocations: 12.84 MB / 393.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002407/0.06532, allocations: 2.696 MB / 395.9 MB, free: 8.879 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001847/0.06716, allocations: 1.874 MB / 397.8 MB, free: 7.004 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.06732, allocations: 49.97 kB / 397.9 MB, free: 6.957 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.06736, allocations: 56.56 kB / 397.9 MB, free: 6.891 MB / 362.7 MB Notification: Performance of pre-optimization done (n=198): time 2.855e-06/0.06736, allocations: 0 / 397.9 MB, free: 6.891 MB / 362.7 MB Notification: Performance of matching and sorting (n=218): time 0.01061/0.07797, allocations: 9.593 MB / 407.5 MB, free: 13.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.07801, allocations: 73.41 kB / 407.6 MB, free: 13.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001837/0.07984, allocations: 2.182 MB / 409.8 MB, free: 10.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.421e-05/0.07994, allocations: 61.7 kB / 409.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007243/0.08066, allocations: 1.664 MB / 411.5 MB, free: 9.238 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003628/0.08103, allocations: 0.7552 MB / 412.2 MB, free: 8.477 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004143/0.08144, allocations: 416.4 kB / 412.6 MB, free: 8.062 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.959e-05/0.08151, allocations: 305.1 kB / 412.9 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/0.08277, allocations: 1.301 MB / 414.2 MB, free: 6.457 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.08425, allocations: 1.778 MB / 416 MB, free: 4.488 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002788/0.08704, allocations: 3.208 MB / 419.2 MB, free: 1.102 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.08705, allocations: 4 kB / 419.2 MB, free: 1.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003972/0.09102, allocations: 4.041 MB / 423.3 MB, free: 13.03 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.09104, allocations: 12 kB / 423.3 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.09105, allocations: 12 kB / 423.3 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.09244, allocations: 0.8866 MB / 424.2 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.09345, allocations: 0.5227 MB / 424.7 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006081/0.09954, allocations: 8.997 MB / 433.7 MB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007338/0.1003, allocations: 119.9 kB / 433.8 MB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.1004, allocations: 87.98 kB / 433.9 MB, free: 2.086 MB / 394.7 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.001297/0.1017, allocations: 1.215 MB / 435.1 MB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002584/0.1019, allocations: 262.3 kB / 435.4 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003643/0.1056, allocations: 3.673 MB / 439 MB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.609e-06/0.1056, allocations: 24 kB / 439.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.1056, allocations: 8 kB / 439.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.1056, allocations: 11.95 kB / 439.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007144/0.1128, allocations: 7.101 MB / 446.2 MB, free: 5.656 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.1128, allocations: 4 kB / 446.2 MB, free: 5.652 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008124/0.1136, allocations: 387.4 kB / 446.6 MB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001462/0.115, allocations: 0.9292 MB / 447.5 MB, free: 4.328 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.1151, allocations: 55.97 kB / 447.6 MB, free: 4.273 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1499/0.2651, allocations: 10.47 MB / 458 MB, free: 114.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2651, allocations: 3.812 kB / 458 MB, free: 114.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004843/0.2699, allocations: 5.469 MB / 463.5 MB, free: 112.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008026/0.2707, allocations: 0.5384 MB / 464 MB, free: 112.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/0.2709, allocations: 51.16 kB / 464.1 MB, free: 112.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006567/0.2715, allocations: 118.5 kB / 464.2 MB, free: 112.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002538/0.2718, allocations: 187.8 kB / 464.4 MB, free: 112.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.486e-05/0.2719, allocations: 61.39 kB / 464.4 MB, free: 112.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001308/0.2732, allocations: 1.485 MB / 465.9 MB, free: 111.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2732, allocations: 0 / 465.9 MB, free: 111.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001417/0.2746, allocations: 0.7922 MB / 466.7 MB, free: 110.8 MB / 410.7 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.0004013/0.275, allocations: 250 kB / 467 MB, free: 110.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002865/0.2779, allocations: 3.614 MB / 470.6 MB, free: 107.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.2779, allocations: 4 kB / 470.6 MB, free: 107.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001712/0.2796, allocations: 2.305 MB / 472.9 MB, free: 105.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.281, allocations: 0.6297 MB / 473.5 MB, free: 104.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006198/0.2872, allocations: 7.615 MB / 481.1 MB, free: 97.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/0.2883, allocations: 2.183 MB / 483.3 MB, free: 95.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004015/0.2887, allocations: 176.5 kB / 483.5 MB, free: 94.86 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/0.2887, allocations: 0 / 483.5 MB, free: 94.86 MB / 410.7 MB Notification: Performance of Templates: time 0.2015/0.4902, allocations: 140.9 MB / 0.6098 GB, free: 156.6 MB / 458.7 MB " [Timeout remaining time 660] 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: 11.822301857173443]