Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00137/0.00137, allocations: 112.9 kB / 19.17 MB, free: 3.871 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.001547/0.001547, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.448/1.448, allocations: 230.4 MB / 255.4 MB, free: 15.02 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 75.77 kB / 374.8 MB, free: 9.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1152, allocations: 53.31 MB / 428.1 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.222/0.3372, allocations: 12.95 MB / 441 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008629/0.3458, allocations: 4.276 MB / 445.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00313/0.349, allocations: 78.44 kB / 445.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003398/0.3524, allocations: 1.029 MB / 446.4 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005021/0.3574, allocations: 1.237 MB / 447.6 MB, free: 332 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001989/0.3594, allocations: 0.517 MB / 448.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007965/0.3673, allocations: 4.655 MB / 452.8 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004558/0.3719, allocations: 2.687 MB / 455.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005651/0.3775, allocations: 2.144 MB / 457.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006138/0.3837, allocations: 2.628 MB / 460.3 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002153/0.3858, allocations: 0.5514 MB / 460.8 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003114/0.389, allocations: 0.6552 MB / 461.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00269/0.3916, allocations: 1.54 MB / 463 MB, free: 9.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006546/0.3982, allocations: 2.486 MB / 465.5 MB, free: 7.578 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01292/0.4111, allocations: 7.462 MB / 473 MB, free: 2.051 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.4111, allocations: 0 / 473 MB, free: 2.051 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.4111, allocations: 1.281 kB / 473 MB, free: 2.051 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002949/0.4114, allocations: 0 / 473 MB, free: 2.051 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.01603/0.4274, allocations: 4.828 MB / 477.8 MB, free: 14.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.4275, allocations: 9.25 kB / 477.8 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003227/0.4307, allocations: 0.5496 MB / 478.4 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00716/0.4379, allocations: 2.608 MB / 481 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003481/0.4382, allocations: 271 kB / 481.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001557/0.4398, allocations: 351.9 kB / 481.6 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01444/0.4542, allocations: 5.032 MB / 486.6 MB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001955/0.4544, allocations: 7.047 kB / 486.6 MB, free: 5.945 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001223/0.4556, allocations: 148 kB / 486.8 MB, free: 5.801 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002493/0.4559, allocations: 183 kB / 486.9 MB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01102/0.4669, allocations: 4.291 MB / 491.2 MB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03485/0.5018, allocations: 14.76 MB / 0.4941 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006141/0.5079, allocations: 4.061 MB / 0.4981 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003994/0.5119, allocations: 1.87 MB / 0.4999 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000401/0.5123, allocations: 135.1 kB / 0.5 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.755e-05/0.5124, allocations: 52.56 kB / 0.5001 GB, free: 11.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 5.43e-06/0.5124, allocations: 4 kB / 0.5001 GB, free: 11.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02534/0.5377, allocations: 10 MB / 0.5099 GB, free: 1.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/0.5378, allocations: 77.41 kB / 0.5099 GB, free: 1.641 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005433/0.5432, allocations: 2.518 MB / 0.5124 GB, free: 15.1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004793/0.5437, allocations: 61.7 kB / 0.5125 GB, free: 15.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001702/0.5454, allocations: 1.662 MB / 0.5141 GB, free: 13.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001103/0.5465, allocations: 0.7708 MB / 0.5148 GB, free: 12.58 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001434/0.5479, allocations: 416.4 kB / 0.5152 GB, free: 12.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.5481, allocations: 305.1 kB / 0.5155 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002561/0.5506, allocations: 1.297 MB / 0.5168 GB, free: 10.56 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002899/0.5535, allocations: 1.782 MB / 0.5185 GB, free: 8.594 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005419/0.5589, allocations: 3.211 MB / 0.5217 GB, free: 5.199 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.672e-05/0.559, allocations: 7.938 kB / 0.5217 GB, free: 5.191 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008654/0.5676, allocations: 4.076 MB / 0.5256 GB, free: 1.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/0.5677, allocations: 8 kB / 0.5257 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.859e-05/0.5677, allocations: 12 kB / 0.5257 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003033/0.5707, allocations: 0.8799 MB / 0.5265 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002477/0.5732, allocations: 0.5265 MB / 0.527 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01245/0.5856, allocations: 9.479 MB / 0.5363 GB, free: 5.754 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002907/0.5885, allocations: 119.9 kB / 0.5364 GB, free: 5.637 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005994/0.5891, allocations: 87.98 kB / 0.5365 GB, free: 5.551 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.003271/0.5924, allocations: 1.218 MB / 0.5377 GB, free: 4.324 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001172/0.5936, allocations: 290.2 kB / 0.538 GB, free: 4.039 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008252/0.6018, allocations: 3.695 MB / 0.5416 GB, free: 324 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.138e-05/0.6019, allocations: 20 kB / 0.5416 GB, free: 304 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.799e-05/0.6019, allocations: 8 kB / 0.5416 GB, free: 296 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.05e-05/0.6019, allocations: 11.95 kB / 0.5416 GB, free: 284 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01758/0.6195, allocations: 8.014 MB / 0.5494 GB, free: 8.141 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/0.6195, allocations: 4 kB / 0.5494 GB, free: 8.137 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001793/0.6213, allocations: 379.8 kB / 0.5498 GB, free: 7.766 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003304/0.6246, allocations: 0.9369 MB / 0.5507 GB, free: 6.812 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002707/0.6249, allocations: 51.98 kB / 0.5508 GB, free: 6.762 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01344/0.6383, allocations: 11.11 MB / 0.5616 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.6383, allocations: 3.938 kB / 0.5616 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01069/0.649, allocations: 5.506 MB / 0.567 GB, free: 5.516 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002224/0.6512, allocations: 0.6436 MB / 0.5676 GB, free: 4.852 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001103/0.6524, allocations: 51.98 kB / 0.5677 GB, free: 4.801 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002172/0.6545, allocations: 115.9 kB / 0.5678 GB, free: 4.688 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005888/0.6551, allocations: 173.8 kB / 0.568 GB, free: 4.516 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002521/0.6554, allocations: 63.92 kB / 0.568 GB, free: 4.453 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004072/0.6594, allocations: 1.746 MB / 0.5697 GB, free: 2.695 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.6594, allocations: 0 / 0.5697 GB, free: 2.695 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004537/0.664, allocations: 0.8007 MB / 0.5705 GB, free: 1.895 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.0009527/0.6649, allocations: 236.3 kB / 0.5707 GB, free: 1.66 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00788/0.6728, allocations: 3.766 MB / 0.5744 GB, free: 13.81 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.6728, allocations: 0 / 0.5744 GB, free: 13.81 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004741/0.6776, allocations: 2.398 MB / 0.5767 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005651/0.6832, allocations: 0.7965 MB / 0.5775 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01801/0.7012, allocations: 7.865 MB / 0.5852 GB, free: 2.629 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004156/0.7054, allocations: 2.723 MB / 0.5879 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001263/0.7066, allocations: 191.4 kB / 0.588 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of SimCode: time 1.453e-06/0.7066, allocations: 0 / 0.588 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of Templates: time 0.4098/1.116, allocations: 142.7 MB / 0.7274 GB, free: 72.89 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.995801247889176]