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.001582/0.001582, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.00179/0.00179, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.554/1.554, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.001633/0.001633, allocations: 47.92 kB / 373.5 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1145, allocations: 53.33 MB / 426.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.262/0.3765, allocations: 12.96 MB / 439.8 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009571/0.3861, allocations: 4.268 MB / 444 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003517/0.3896, allocations: 103.2 kB / 444.1 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003874/0.3935, allocations: 1.029 MB / 445.2 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005058/0.3986, allocations: 1.233 MB / 446.4 MB, free: 136 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002168/0.4007, allocations: 0.5209 MB / 446.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008169/0.4089, allocations: 4.65 MB / 451.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005266/0.4142, allocations: 2.697 MB / 454.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006041/0.4202, allocations: 2.181 MB / 456.4 MB, free: 11.28 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007226/0.4274, allocations: 2.626 MB / 459.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002451/0.4299, allocations: 0.5513 MB / 459.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004253/0.4341, allocations: 0.6602 MB / 460.3 MB, free: 10.03 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003379/0.4375, allocations: 1.536 MB / 461.8 MB, free: 9.145 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007892/0.4454, allocations: 2.487 MB / 464.3 MB, free: 7.383 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0134/0.4588, allocations: 7.466 MB / 471.8 MB, free: 1.852 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.4588, allocations: 0 / 471.8 MB, free: 1.852 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4588, allocations: 0 / 471.8 MB, free: 1.852 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002667/0.4591, allocations: 2.312 kB / 471.8 MB, free: 1.852 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.01456/0.4736, allocations: 4.824 MB / 476.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.4737, allocations: 13.62 kB / 476.6 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002307/0.476, allocations: 0.5506 MB / 477.2 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00637/0.4824, allocations: 2.601 MB / 479.8 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002736/0.4826, allocations: 271.8 kB / 480 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001009/0.4836, allocations: 352 kB / 480.4 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01172/0.4954, allocations: 5.029 MB / 485.4 MB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-05/0.4955, allocations: 11.94 kB / 485.4 MB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003993/0.4959, allocations: 144 kB / 485.6 MB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002163/0.4961, allocations: 183.1 kB / 485.7 MB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009804/0.5059, allocations: 4.288 MB / 490 MB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03315/0.539, allocations: 14.77 MB / 0.493 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00592/0.545, allocations: 4.06 MB / 0.4969 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003844/0.5488, allocations: 1.866 MB / 0.4987 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003276/0.5491, allocations: 135.1 kB / 0.4989 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.796e-05/0.5492, allocations: 60.55 kB / 0.4989 GB, free: 11.58 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.967e-06/0.5492, allocations: 3.938 kB / 0.4989 GB, free: 11.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02417/0.5734, allocations: 9.993 MB / 0.5087 GB, free: 1.477 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.644e-05/0.5734, allocations: 73.41 kB / 0.5088 GB, free: 1.391 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004688/0.5781, allocations: 2.522 MB / 0.5112 GB, free: 14.85 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003622/0.5785, allocations: 65.7 kB / 0.5113 GB, free: 14.78 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001827/0.5803, allocations: 1.654 MB / 0.5129 GB, free: 13.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001213/0.5815, allocations: 0.7746 MB / 0.5137 GB, free: 12.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008412/0.5824, allocations: 412.5 kB / 0.5141 GB, free: 11.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.5825, allocations: 305.1 kB / 0.5144 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002463/0.585, allocations: 1.297 MB / 0.5156 GB, free: 10.31 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002945/0.5879, allocations: 1.786 MB / 0.5174 GB, free: 8.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005405/0.5933, allocations: 3.204 MB / 0.5205 GB, free: 4.953 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/0.5933, allocations: 4 kB / 0.5205 GB, free: 4.949 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008174/0.6015, allocations: 4.076 MB / 0.5245 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/0.6015, allocations: 12 kB / 0.5245 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.658e-05/0.6016, allocations: 12 kB / 0.5245 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003206/0.6048, allocations: 0.876 MB / 0.5254 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002631/0.6074, allocations: 0.5304 MB / 0.5259 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01265/0.62, allocations: 9.477 MB / 0.5351 GB, free: 5.508 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002725/0.6228, allocations: 115.9 kB / 0.5352 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002317/0.623, allocations: 91.98 kB / 0.5353 GB, free: 5.305 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.002752/0.6258, allocations: 1.218 MB / 0.5365 GB, free: 4.078 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000857/0.6266, allocations: 290.2 kB / 0.5368 GB, free: 3.793 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007218/0.6338, allocations: 3.699 MB / 0.5404 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.077e-05/0.6339, allocations: 27.92 kB / 0.5404 GB, free: 40 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.6339, allocations: 8 kB / 0.5404 GB, free: 32 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.957e-05/0.6339, allocations: 7.969 kB / 0.5404 GB, free: 24 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01625/0.6501, allocations: 8.014 MB / 0.5483 GB, free: 7.887 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.6501, allocations: 0 / 0.5483 GB, free: 7.887 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001852/0.652, allocations: 383.8 kB / 0.5486 GB, free: 7.512 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00343/0.6554, allocations: 0.9368 MB / 0.5496 GB, free: 6.559 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002001/0.6556, allocations: 51.98 kB / 0.5496 GB, free: 6.508 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01354/0.6692, allocations: 11.1 MB / 0.5604 GB, free: 10.85 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.6692, allocations: 7.938 kB / 0.5604 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/0.6794, allocations: 5.513 MB / 0.5658 GB, free: 5.258 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002518/0.6819, allocations: 0.6397 MB / 0.5665 GB, free: 4.598 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005461/0.6824, allocations: 51.98 kB / 0.5665 GB, free: 4.547 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001498/0.6839, allocations: 111.9 kB / 0.5666 GB, free: 4.438 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005074/0.6844, allocations: 181.8 kB / 0.5668 GB, free: 4.258 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001548/0.6846, allocations: 67.92 kB / 0.5669 GB, free: 4.191 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003/0.6876, allocations: 1.735 MB / 0.5685 GB, free: 2.445 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6876, allocations: 0 / 0.5685 GB, free: 2.445 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003043/0.6906, allocations: 0.8007 MB / 0.5693 GB, free: 1.645 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.0006855/0.6913, allocations: 241.7 kB / 0.5696 GB, free: 1.41 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00703/0.6983, allocations: 3.759 MB / 0.5732 GB, free: 13.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/0.6983, allocations: 0 / 0.5732 GB, free: 13.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004432/0.7028, allocations: 2.397 MB / 0.5756 GB, free: 11.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004176/0.707, allocations: 0.7948 MB / 0.5763 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01474/0.7217, allocations: 7.862 MB / 0.584 GB, free: 2.398 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003045/0.7247, allocations: 2.789 MB / 0.5867 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002357/0.7271, allocations: 0.6829 MB / 0.5874 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006602/0.7278, allocations: 179.4 kB / 0.5876 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of SimCode: time 9.82e-07/0.7278, allocations: 0 / 0.5876 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of Templates: time 0.3387/1.066, allocations: 45.23 MB / 0.6318 GB, free: 163.7 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/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_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: 8.192504871636629]