Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001653/0.001653, allocations: 122.5 kB / 18.5 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001967/0.001967, allocations: 215.2 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.622/1.622, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 59.91 kB / 373.8 MB, free: 9.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1285, allocations: 53.32 MB / 427.2 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.2309/0.3594, allocations: 12.98 MB / 440.1 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009028/0.3684, allocations: 4.285 MB / 444.4 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003328/0.3718, allocations: 79.84 kB / 444.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003125/0.3749, allocations: 1.029 MB / 445.5 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004731/0.3796, allocations: 1.248 MB / 446.8 MB, free: 408 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.3814, allocations: 0.5251 MB / 447.3 MB, free: 64 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007955/0.3893, allocations: 4.685 MB / 452 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004717/0.3941, allocations: 2.693 MB / 454.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006387/0.4004, allocations: 2.165 MB / 456.9 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007481/0.4079, allocations: 2.641 MB / 459.5 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002452/0.4104, allocations: 0.552 MB / 460 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00314/0.4135, allocations: 0.6557 MB / 460.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002433/0.4159, allocations: 1.546 MB / 462.3 MB, free: 9.391 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006409/0.4224, allocations: 2.493 MB / 464.7 MB, free: 7.625 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01277/0.4351, allocations: 7.485 MB / 472.2 MB, free: 2.082 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.4351, allocations: 1.094 kB / 472.2 MB, free: 2.082 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.4351, allocations: 0 / 472.2 MB, free: 2.082 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003026/0.4354, allocations: 0 / 472.2 MB, free: 2.082 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: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.01639/0.4518, allocations: 4.84 MB / 477.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.4519, allocations: 10.34 kB / 477.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0021/0.454, allocations: 0.5451 MB / 477.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006494/0.4605, allocations: 2.612 MB / 480.2 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002494/0.4607, allocations: 263.6 kB / 480.5 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007743/0.4615, allocations: 364.4 kB / 480.9 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01038/0.4719, allocations: 5.057 MB / 485.9 MB, free: 5.898 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.319e-05/0.4719, allocations: 7.875 kB / 485.9 MB, free: 5.891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004099/0.4724, allocations: 152 kB / 486.1 MB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002171/0.4726, allocations: 191.1 kB / 486.3 MB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009218/0.4818, allocations: 4.31 MB / 490.6 MB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03139/0.5132, allocations: 15.11 MB / 0.4938 GB, free: 1.762 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005201/0.5184, allocations: 4.054 MB / 0.4978 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003529/0.5219, allocations: 1.877 MB / 0.4996 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003036/0.5222, allocations: 135.1 kB / 0.4997 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.392e-05/0.5223, allocations: 56.56 kB / 0.4998 GB, free: 11.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.767e-06/0.5223, allocations: 0 / 0.4998 GB, free: 11.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02202/0.5443, allocations: 10 MB / 0.5096 GB, free: 1.227 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.5444, allocations: 77.41 kB / 0.5096 GB, free: 1.137 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004243/0.5486, allocations: 2.518 MB / 0.5121 GB, free: 14.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003218/0.5489, allocations: 65.7 kB / 0.5122 GB, free: 14.53 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001416/0.5503, allocations: 1.67 MB / 0.5138 GB, free: 12.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008569/0.5512, allocations: 0.7669 MB / 0.5145 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007614/0.552, allocations: 412.5 kB / 0.5149 GB, free: 11.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.5521, allocations: 305.1 kB / 0.5152 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002267/0.5544, allocations: 1.305 MB / 0.5165 GB, free: 10.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003144/0.5575, allocations: 1.778 MB / 0.5182 GB, free: 8.082 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005235/0.5627, allocations: 3.211 MB / 0.5214 GB, free: 4.688 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/0.5627, allocations: 4 kB / 0.5214 GB, free: 4.684 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007703/0.5704, allocations: 4.072 MB / 0.5253 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.5705, allocations: 12 kB / 0.5254 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.632e-05/0.5705, allocations: 16 kB / 0.5254 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002922/0.5734, allocations: 0.8769 MB / 0.5262 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002241/0.5757, allocations: 0.5343 MB / 0.5268 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0119/0.5876, allocations: 9.474 MB / 0.536 GB, free: 5.238 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002736/0.5903, allocations: 119.8 kB / 0.5361 GB, free: 5.121 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002606/0.5906, allocations: 87.98 kB / 0.5362 GB, free: 5.035 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.002658/0.5932, allocations: 1.217 MB / 0.5374 GB, free: 3.809 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006838/0.5939, allocations: 298 kB / 0.5377 GB, free: 3.516 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006787/0.6007, allocations: 3.703 MB / 0.5413 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/0.6007, allocations: 20 kB / 0.5413 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/0.6007, allocations: 12 kB / 0.5413 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.067e-05/0.6007, allocations: 11.91 kB / 0.5413 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01482/0.6156, allocations: 8.006 MB / 0.5492 GB, free: 7.613 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.6156, allocations: 4 kB / 0.5492 GB, free: 7.609 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001731/0.6173, allocations: 387.8 kB / 0.5495 GB, free: 7.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0033/0.6206, allocations: 0.9363 MB / 0.5504 GB, free: 6.281 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002284/0.6208, allocations: 55.97 kB / 0.5505 GB, free: 6.227 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01293/0.6338, allocations: 11.1 MB / 0.5613 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/0.6338, allocations: 4 kB / 0.5613 GB, free: 10.56 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009497/0.6433, allocations: 5.51 MB / 0.5667 GB, free: 4.984 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001772/0.645, allocations: 0.6436 MB / 0.5673 GB, free: 4.32 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004838/0.6455, allocations: 51.98 kB / 0.5674 GB, free: 4.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/0.647, allocations: 115.9 kB / 0.5675 GB, free: 4.156 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004437/0.6474, allocations: 177.7 kB / 0.5677 GB, free: 3.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001539/0.6476, allocations: 59.98 kB / 0.5677 GB, free: 3.922 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002773/0.6504, allocations: 1.735 MB / 0.5694 GB, free: 2.176 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6504, allocations: 0 / 0.5694 GB, free: 2.176 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002647/0.653, allocations: 0.8085 MB / 0.5702 GB, free: 1.367 MB / 478.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.0006053/0.6536, allocations: 236.9 kB / 0.5704 GB, free: 1.133 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007006/0.6606, allocations: 3.775 MB / 0.5741 GB, free: 13.28 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.6606, allocations: 8.125 kB / 0.5741 GB, free: 13.27 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004666/0.6653, allocations: 2.378 MB / 0.5765 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004869/0.6702, allocations: 0.7961 MB / 0.5772 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01728/0.6874, allocations: 7.875 MB / 0.5849 GB, free: 2.098 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003502/0.6909, allocations: 2.786 MB / 0.5876 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002423/0.6934, allocations: 0.6868 MB / 0.5883 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007854/0.6942, allocations: 179.4 kB / 0.5885 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of SimCode: time 1.192e-06/0.6942, allocations: 0 / 0.5885 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of Templates: time 0.3105/1.005, allocations: 45.25 MB / 0.6327 GB, free: 163.8 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.11118933930993]