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.00175/0.00175, allocations: 116.9 kB / 18.41 MB, free: 4.645 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.001941/0.001941, allocations: 190.9 kB / 21.35 MB, free: 1.711 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.451/1.451, allocations: 222.9 MB / 247 MB, free: 4.207 MB / 190.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.001579/0.001579, allocations: 55.91 kB / 358.7 MB, free: 8.297 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09102/0.09261, allocations: 49.43 MB / 408.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.015/0.1077, allocations: 12.86 MB / 421 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008115/0.1158, allocations: 4.183 MB / 425.2 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001896/0.1177, allocations: 83.62 kB / 425.2 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002498/0.1203, allocations: 0.9626 MB / 426.2 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003617/0.1239, allocations: 1.18 MB / 427.4 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.1251, allocations: 0.5071 MB / 427.9 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1913/0.3165, allocations: 4.626 MB / 432.5 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004342/0.3209, allocations: 3.694 MB / 436.2 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003948/0.3248, allocations: 2.12 MB / 438.3 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004373/0.3292, allocations: 2.562 MB / 440.9 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001379/0.3306, allocations: 0.5515 MB / 441.5 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00209/0.3327, allocations: 0.6365 MB / 442.1 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001768/0.3345, allocations: 1.521 MB / 443.6 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004217/0.3387, allocations: 2.48 MB / 446.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008909/0.3477, allocations: 7.442 MB / 453.5 MB, free: 2.984 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3477, allocations: 0 / 453.5 MB, free: 2.984 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3477, allocations: 0 / 453.5 MB, free: 2.984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002184/0.3479, allocations: 1 kB / 453.5 MB, free: 2.984 MB / 350.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.3598, allocations: 4.809 MB / 458.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3599, allocations: 9.312 kB / 458.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/0.3616, allocations: 0.5178 MB / 458.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005153/0.3668, allocations: 2.591 MB / 461.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000235/0.367, allocations: 262.1 kB / 461.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007815/0.3678, allocations: 362 kB / 462.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01026/0.3781, allocations: 5.028 MB / 467.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-05/0.3782, allocations: 10.08 kB / 467.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004319/0.3787, allocations: 142.4 kB / 467.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001577/0.3788, allocations: 177 kB / 467.4 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008942/0.3878, allocations: 4.305 MB / 471.7 MB, free: 6.875 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02842/0.4162, allocations: 14.75 MB / 486.5 MB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005084/0.4213, allocations: 4.191 MB / 490.7 MB, free: 3.645 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00347/0.4248, allocations: 2 MB / 492.7 MB, free: 1.652 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003215/0.4252, allocations: 127.1 kB / 492.8 MB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.313e-05/0.4253, allocations: 56.56 kB / 492.8 MB, free: 1.445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 3.586e-06/0.4253, allocations: 4 kB / 492.8 MB, free: 1.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.0215/0.4468, allocations: 10.01 MB / 0.4911 GB, free: 7.367 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.4469, allocations: 73.41 kB / 0.4911 GB, free: 7.281 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004091/0.451, allocations: 2.498 MB / 0.4936 GB, free: 4.762 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003897/0.4514, allocations: 69.7 kB / 0.4937 GB, free: 4.688 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001509/0.4529, allocations: 1.66 MB / 0.4953 GB, free: 3.016 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009253/0.4538, allocations: 0.7649 MB / 0.496 GB, free: 2.262 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007862/0.4546, allocations: 420.4 kB / 0.4964 GB, free: 1.844 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.4548, allocations: 301.1 kB / 0.4967 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002355/0.4571, allocations: 1.301 MB / 0.498 GB, free: 248 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002787/0.4599, allocations: 1.778 MB / 0.4997 GB, free: 14.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005242/0.4652, allocations: 3.215 MB / 0.5029 GB, free: 10.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-05/0.4652, allocations: 5.875 kB / 0.5029 GB, free: 10.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007916/0.4732, allocations: 4.09 MB / 0.5069 GB, free: 6.926 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/0.4732, allocations: 12 kB / 0.5069 GB, free: 6.914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.488e-05/0.4733, allocations: 12 kB / 0.5069 GB, free: 6.902 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002978/0.4762, allocations: 0.8854 MB / 0.5077 GB, free: 6.008 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002343/0.4786, allocations: 0.5276 MB / 0.5083 GB, free: 5.508 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01181/0.4904, allocations: 9.486 MB / 0.5175 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002314/0.4928, allocations: 115.9 kB / 0.5176 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002619/0.493, allocations: 84 kB / 0.5177 GB, free: 11.46 MB / 430.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.002465/0.4955, allocations: 1.217 MB / 0.5189 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007195/0.4962, allocations: 286.2 kB / 0.5192 GB, free: 9.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007098/0.5034, allocations: 3.711 MB / 0.5228 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/0.5034, allocations: 20.09 kB / 0.5228 GB, free: 6.242 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.096e-05/0.5034, allocations: 19.98 kB / 0.5228 GB, free: 6.223 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.547e-05/0.5035, allocations: 15.33 kB / 0.5228 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01521/0.5187, allocations: 8.007 MB / 0.5307 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.5187, allocations: 4 kB / 0.5307 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001695/0.5204, allocations: 384.8 kB / 0.531 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003248/0.5237, allocations: 0.9333 MB / 0.532 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002467/0.524, allocations: 51.98 kB / 0.532 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01329/0.5373, allocations: 11.11 MB / 0.5429 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5373, allocations: 0 / 0.5429 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01001/0.5473, allocations: 5.522 MB / 0.5482 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001723/0.5491, allocations: 0.6436 MB / 0.5489 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005186/0.5496, allocations: 55.98 kB / 0.5489 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001451/0.5511, allocations: 111.9 kB / 0.549 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004674/0.5515, allocations: 189 kB / 0.5492 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001552/0.5517, allocations: 56.17 kB / 0.5493 GB, free: 10.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002987/0.5547, allocations: 1.727 MB / 0.551 GB, free: 8.836 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.5547, allocations: 3.938 kB / 0.551 GB, free: 8.832 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003113/0.5578, allocations: 0.8007 MB / 0.5517 GB, free: 8.031 MB / 462.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.0006777/0.5585, allocations: 241.1 kB / 0.552 GB, free: 7.812 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006803/0.5653, allocations: 3.906 MB / 0.5558 GB, free: 3.883 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/0.5654, allocations: 3.938 kB / 0.5558 GB, free: 3.879 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004491/0.5699, allocations: 2.479 MB / 0.5582 GB, free: 1.363 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00413/0.574, allocations: 0.7832 MB / 0.559 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/0.5894, allocations: 7.844 MB / 0.5666 GB, free: 8.711 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003235/0.5927, allocations: 2.73 MB / 0.5693 GB, free: 5.953 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001167/0.5939, allocations: 191.4 kB / 0.5695 GB, free: 5.766 MB / 478.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5939, allocations: 0 / 0.5695 GB, free: 5.766 MB / 478.1 MB Notification: Performance of Templates: time 0.299/0.893, allocations: 142 MB / 0.7082 GB, free: 79.46 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_2/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_2/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: 17.048517626011744]