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.001654/0.001654, allocations: 115 kB / 18.46 MB, free: 4.621 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.002035/0.002035, allocations: 207.3 kB / 21.41 MB, free: 1.668 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.484/1.484, allocations: 230.6 MB / 254.8 MB, free: 15.26 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.001619/0.001619, allocations: 51.92 kB / 374.2 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1064, allocations: 53.33 MB / 427.5 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.0161/0.1225, allocations: 12.95 MB / 440.5 MB, free: 7.301 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008783/0.1313, allocations: 4.28 MB / 444.7 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002463/0.1337, allocations: 103.3 kB / 444.8 MB, free: 2.906 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003149/0.1369, allocations: 1.021 MB / 445.9 MB, free: 1.879 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004401/0.1413, allocations: 1.231 MB / 447.1 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.1428, allocations: 0.5305 MB / 447.6 MB, free: 112 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2188/0.3616, allocations: 4.639 MB / 452.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005575/0.3672, allocations: 2.699 MB / 455 MB, free: 9.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006323/0.3735, allocations: 2.178 MB / 457.1 MB, free: 9.465 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00634/0.3798, allocations: 2.627 MB / 459.8 MB, free: 8.809 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002581/0.3824, allocations: 0.5509 MB / 460.3 MB, free: 8.809 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003973/0.3864, allocations: 0.6606 MB / 461 MB, free: 8.789 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003451/0.3898, allocations: 1.534 MB / 462.5 MB, free: 7.973 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007045/0.3969, allocations: 2.492 MB / 465 MB, free: 6.391 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0138/0.4107, allocations: 7.459 MB / 472.5 MB, free: 3.648 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.996e-06/0.4107, allocations: 0 / 472.5 MB, free: 3.648 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4107, allocations: 1.375 kB / 472.5 MB, free: 3.648 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003978/0.4111, allocations: 0 / 472.5 MB, free: 3.648 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.01943/0.4305, allocations: 4.826 MB / 477.3 MB, free: 412 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.4306, allocations: 9.625 kB / 477.3 MB, free: 412 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003758/0.4343, allocations: 0.5524 MB / 477.8 MB, free: 128 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008048/0.4424, allocations: 2.607 MB / 480.5 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003434/0.4427, allocations: 266.2 kB / 480.7 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001547/0.4443, allocations: 358.5 kB / 481.1 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0133/0.4576, allocations: 5.026 MB / 486.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001201/0.4577, allocations: 11.77 kB / 486.1 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004957/0.4582, allocations: 143.1 kB / 486.2 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002106/0.4584, allocations: 189.1 kB / 486.4 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01037/0.4688, allocations: 4.294 MB / 490.7 MB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03332/0.5021, allocations: 14.76 MB / 0.4936 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005623/0.5077, allocations: 4.058 MB / 0.4976 GB, free: 5.113 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003575/0.5113, allocations: 1.873 MB / 0.4994 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003344/0.5116, allocations: 131.7 kB / 0.4995 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.431e-05/0.5117, allocations: 60.56 kB / 0.4996 GB, free: 3.031 MB / 398.1 MB Notification: Performance of pre-optimization done (n=198): time 4.018e-06/0.5117, allocations: 0 / 0.4996 GB, free: 3.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=218): time 0.02365/0.5353, allocations: 9.998 MB / 0.5094 GB, free: 8.938 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.499e-05/0.5354, allocations: 78.25 kB / 0.5094 GB, free: 8.848 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004318/0.5397, allocations: 2.514 MB / 0.5119 GB, free: 6.312 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003687/0.5401, allocations: 61.7 kB / 0.512 GB, free: 6.246 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001517/0.5416, allocations: 1.663 MB / 0.5136 GB, free: 4.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008849/0.5425, allocations: 0.7635 MB / 0.5143 GB, free: 3.816 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007699/0.5433, allocations: 420.4 kB / 0.5147 GB, free: 3.398 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.5434, allocations: 301.1 kB / 0.515 GB, free: 3.102 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002276/0.5457, allocations: 1.297 MB / 0.5163 GB, free: 1.801 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002662/0.5483, allocations: 1.785 MB / 0.518 GB, free: 15.83 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005144/0.5535, allocations: 3.212 MB / 0.5212 GB, free: 12.44 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/0.5535, allocations: 4 kB / 0.5212 GB, free: 12.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00807/0.5616, allocations: 4.077 MB / 0.5251 GB, free: 8.336 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.5616, allocations: 8 kB / 0.5252 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.891e-05/0.5616, allocations: 16 kB / 0.5252 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002945/0.5646, allocations: 0.8727 MB / 0.526 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002315/0.5669, allocations: 0.5304 MB / 0.5265 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/0.5787, allocations: 9.489 MB / 0.5358 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002552/0.5813, allocations: 111.9 kB / 0.5359 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002952/0.5816, allocations: 87.98 kB / 0.536 GB, free: 12.82 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.002466/0.584, allocations: 1.226 MB / 0.5372 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007248/0.5848, allocations: 290.2 kB / 0.5375 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007114/0.5919, allocations: 3.699 MB / 0.5411 GB, free: 7.574 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.07e-05/0.5919, allocations: 20 kB / 0.5411 GB, free: 7.555 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/0.5919, allocations: 12 kB / 0.5411 GB, free: 7.543 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.501e-05/0.5919, allocations: 11.95 kB / 0.5411 GB, free: 7.531 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01632/0.6083, allocations: 7.99 MB / 0.5489 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/0.6083, allocations: 7.984 kB / 0.5489 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001777/0.6101, allocations: 383.7 kB / 0.5493 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003282/0.6133, allocations: 0.9361 MB / 0.5502 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002402/0.6136, allocations: 51.98 kB / 0.5503 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01354/0.6271, allocations: 11.11 MB / 0.5611 GB, free: 2.426 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.6271, allocations: 3.938 kB / 0.5611 GB, free: 2.422 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01025/0.6374, allocations: 5.505 MB / 0.5665 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001887/0.6393, allocations: 0.6475 MB / 0.5671 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008424/0.6401, allocations: 55.98 kB / 0.5672 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001851/0.642, allocations: 111.9 kB / 0.5673 GB, free: 12.02 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005126/0.6425, allocations: 177.9 kB / 0.5675 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001771/0.6426, allocations: 59.92 kB / 0.5675 GB, free: 11.79 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003415/0.6461, allocations: 1.746 MB / 0.5692 GB, free: 10.03 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6461, allocations: 0 / 0.5692 GB, free: 10.03 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003425/0.6495, allocations: 0.7968 MB / 0.57 GB, free: 9.23 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.0007343/0.6502, allocations: 247.8 kB / 0.5702 GB, free: 8.988 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007018/0.6572, allocations: 3.767 MB / 0.5739 GB, free: 5.141 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.6572, allocations: 0 / 0.5739 GB, free: 5.141 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004384/0.6616, allocations: 2.386 MB / 0.5762 GB, free: 2.684 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004672/0.6663, allocations: 0.7906 MB / 0.577 GB, free: 1.906 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01615/0.6824, allocations: 7.86 MB / 0.5847 GB, free: 9.996 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003302/0.6858, allocations: 2.735 MB / 0.5874 GB, free: 7.234 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/0.6868, allocations: 191.4 kB / 0.5875 GB, free: 7.047 MB / 494.1 MB Notification: Performance of SimCode: time 9.51e-07/0.6868, allocations: 0 / 0.5875 GB, free: 7.047 MB / 494.1 MB Notification: Performance of Templates: time 0.3569/1.044, allocations: 142.7 MB / 0.7269 GB, free: 116.7 MB / 0.5294 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: 18.12229493801715]