Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 107.6 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002092/0.002092, allocations: 209.6 kB / 24.48 MB, free: 3.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 47.91 kB / 379 MB, free: 2.539 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2758, allocations: 53.38 MB / 432.4 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01451/0.2904, allocations: 11.3 MB / 443.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008469/0.2988, allocations: 4.039 MB / 447.7 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002107/0.3009, allocations: 107.3 kB / 447.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00273/0.3037, allocations: 0.9606 MB / 448.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003995/0.3077, allocations: 1.251 MB / 450 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.3091, allocations: 0.5305 MB / 450.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006266/0.3154, allocations: 4.653 MB / 455.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003269/0.3186, allocations: 2.074 MB / 457.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004244/0.3229, allocations: 2.191 MB / 459.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004583/0.3274, allocations: 2.627 MB / 462.1 MB, free: 8.812 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001238/0.3287, allocations: 0.5508 MB / 462.6 MB, free: 8.262 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/0.3304, allocations: 0.6561 MB / 463.3 MB, free: 7.605 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001742/0.3321, allocations: 1.535 MB / 464.8 MB, free: 6.066 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003539/0.3357, allocations: 2.011 MB / 466.8 MB, free: 4.047 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00893/0.3446, allocations: 7.513 MB / 474.4 MB, free: 12.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3446, allocations: 0 / 474.4 MB, free: 12.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3446, allocations: 0 / 474.4 MB, free: 12.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002045/0.3448, allocations: 4 kB / 474.4 MB, free: 12.5 MB / 382.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.01176/0.3566, allocations: 4.736 MB / 479.1 MB, free: 7.707 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.3566, allocations: 12.03 kB / 479.1 MB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001934/0.3586, allocations: 0.5526 MB / 479.7 MB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006143/0.3647, allocations: 2.552 MB / 482.2 MB, free: 4.523 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002715/0.365, allocations: 263.1 kB / 482.5 MB, free: 4.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009853/0.366, allocations: 347.9 kB / 482.8 MB, free: 3.926 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01052/0.3765, allocations: 5.283 MB / 488.1 MB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.795e-05/0.3766, allocations: 11.95 kB / 488.1 MB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003984/0.377, allocations: 140 kB / 488.2 MB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002039/0.3772, allocations: 183.1 kB / 488.4 MB, free: 14.19 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0117/0.3889, allocations: 4.294 MB / 492.7 MB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03883/0.4277, allocations: 12.86 MB / 0.4937 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006521/0.4342, allocations: 2.688 MB / 0.4964 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005184/0.4394, allocations: 1.874 MB / 0.4982 GB, free: 8.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003382/0.4397, allocations: 61.91 kB / 0.4982 GB, free: 8.117 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.427e-05/0.4398, allocations: 60.56 kB / 0.4983 GB, free: 8.051 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 6.332e-06/0.4398, allocations: 0 / 0.4983 GB, free: 8.051 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.03188/0.4717, allocations: 9.588 MB / 0.5077 GB, free: 14.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.372e-05/0.4718, allocations: 73.41 kB / 0.5077 GB, free: 14.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005212/0.477, allocations: 2.199 MB / 0.5099 GB, free: 12.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005072/0.4775, allocations: 65.69 kB / 0.5099 GB, free: 12.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001865/0.4794, allocations: 1.672 MB / 0.5116 GB, free: 10.37 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001149/0.4805, allocations: 0.7591 MB / 0.5123 GB, free: 9.605 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001138/0.4817, allocations: 420.4 kB / 0.5127 GB, free: 9.188 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.4818, allocations: 301.1 kB / 0.513 GB, free: 8.891 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003353/0.4852, allocations: 1.305 MB / 0.5143 GB, free: 7.582 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003963/0.4891, allocations: 1.774 MB / 0.516 GB, free: 5.621 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007509/0.4967, allocations: 3.212 MB / 0.5191 GB, free: 2.227 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.857e-05/0.4967, allocations: 4 kB / 0.5192 GB, free: 2.223 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.01101/0.5077, allocations: 4.045 MB / 0.5231 GB, free: 14.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.862e-05/0.5077, allocations: 12 kB / 0.5231 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.116e-05/0.5078, allocations: 12.47 kB / 0.5231 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00391/0.5117, allocations: 0.8795 MB / 0.524 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/0.5139, allocations: 0.5227 MB / 0.5245 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01093/0.5249, allocations: 9.01 MB / 0.5333 GB, free: 3.398 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/0.527, allocations: 131.8 kB / 0.5334 GB, free: 3.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000267/0.5273, allocations: 84 kB / 0.5335 GB, free: 3.188 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.002313/0.5296, allocations: 1.212 MB / 0.5347 GB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006879/0.5303, allocations: 266.3 kB / 0.5349 GB, free: 1.703 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2245/0.7548, allocations: 3.669 MB / 0.5385 GB, free: 99.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-05/0.7548, allocations: 25.44 kB / 0.5385 GB, free: 99.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.836e-05/0.7549, allocations: 10.61 kB / 0.5386 GB, free: 99.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.224e-05/0.7549, allocations: 11.33 kB / 0.5386 GB, free: 99.99 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01308/0.768, allocations: 7.098 MB / 0.5455 GB, free: 97.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.768, allocations: 3.625 kB / 0.5455 GB, free: 97.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/0.7695, allocations: 393.2 kB / 0.5459 GB, free: 97.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002853/0.7724, allocations: 0.9174 MB / 0.5468 GB, free: 97.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001811/0.7726, allocations: 58.12 kB / 0.5468 GB, free: 97.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01018/0.7827, allocations: 10.49 MB / 0.5571 GB, free: 88.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.7827, allocations: 3.562 kB / 0.5571 GB, free: 88.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009848/0.7926, allocations: 5.482 MB / 0.5624 GB, free: 83.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002154/0.7947, allocations: 0.5433 MB / 0.563 GB, free: 83.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000849/0.7956, allocations: 44 kB / 0.563 GB, free: 83.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002113/0.7977, allocations: 115.4 kB / 0.5631 GB, free: 83.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005287/0.7982, allocations: 196.7 kB / 0.5633 GB, free: 83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002052/0.7984, allocations: 63.98 kB / 0.5634 GB, free: 82.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002946/0.8014, allocations: 1.489 MB / 0.5648 GB, free: 81.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8014, allocations: 0 / 0.5648 GB, free: 81.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003534/0.8049, allocations: 0.7957 MB / 0.5656 GB, free: 80.64 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.0007298/0.8056, allocations: 248.8 kB / 0.5658 GB, free: 80.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006635/0.8123, allocations: 3.612 MB / 0.5694 GB, free: 76.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/0.8123, allocations: 4 kB / 0.5694 GB, free: 76.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004339/0.8166, allocations: 2.311 MB / 0.5716 GB, free: 74.42 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004834/0.8215, allocations: 0.6306 MB / 0.5722 GB, free: 73.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01653/0.838, allocations: 7.855 MB / 0.5799 GB, free: 65.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003149/0.8411, allocations: 2.184 MB / 0.582 GB, free: 63.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/0.8424, allocations: 179.4 kB / 0.5822 GB, free: 63.54 MB / 446.1 MB Notification: Performance of SimCode: time 1.603e-06/0.8424, allocations: 0 / 0.5822 GB, free: 63.54 MB / 446.1 MB Notification: Performance of Templates: time 0.1514/0.9937, allocations: 141.3 MB / 0.7202 GB, free: 2.191 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.512909146986203]