Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 119.5 kB / 18.41 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 192.3 kB / 21.35 MB, free: 1.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 247.1 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 43.92 kB / 358.7 MB, free: 8.328 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08944/0.09098, allocations: 49.43 MB / 408.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01552/0.1065, allocations: 12.89 MB / 421 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008191/0.1148, allocations: 4.183 MB / 425.2 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001967/0.1168, allocations: 83.62 kB / 425.3 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002686/0.1195, allocations: 0.9586 MB / 426.3 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003682/0.1232, allocations: 1.177 MB / 427.4 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.1246, allocations: 0.5149 MB / 428 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1836/0.3082, allocations: 4.621 MB / 432.6 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004011/0.3123, allocations: 3.696 MB / 436.3 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003773/0.3161, allocations: 2.12 MB / 438.4 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004175/0.3203, allocations: 2.562 MB / 440.9 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001316/0.3216, allocations: 0.5518 MB / 441.5 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001989/0.3236, allocations: 0.6397 MB / 442.1 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001752/0.3254, allocations: 1.521 MB / 443.7 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003951/0.3293, allocations: 2.483 MB / 446.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008491/0.3379, allocations: 7.441 MB / 453.6 MB, free: 2.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3379, allocations: 1.062 kB / 453.6 MB, free: 2.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.3379, allocations: 0 / 453.6 MB, free: 2.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002073/0.3381, allocations: 3.938 kB / 453.6 MB, free: 2.953 MB / 350.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.01157/0.3497, allocations: 4.803 MB / 458.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.3498, allocations: 9.406 kB / 458.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001616/0.3514, allocations: 0.5192 MB / 458.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005186/0.3566, allocations: 2.584 MB / 461.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002507/0.3569, allocations: 266.5 kB / 461.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008635/0.3577, allocations: 360.9 kB / 462.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01013/0.3679, allocations: 5.022 MB / 467.1 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.294e-05/0.368, allocations: 13.44 kB / 467.2 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004252/0.3684, allocations: 146.2 kB / 467.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001561/0.3686, allocations: 178.7 kB / 467.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008594/0.3772, allocations: 4.297 MB / 471.8 MB, free: 6.832 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02766/0.4049, allocations: 14.76 MB / 486.5 MB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005338/0.4103, allocations: 4.181 MB / 490.7 MB, free: 3.598 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00374/0.414, allocations: 2.004 MB / 492.7 MB, free: 1.598 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003336/0.4144, allocations: 127.1 kB / 492.8 MB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.556e-05/0.4145, allocations: 57.88 kB / 492.9 MB, free: 1.391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 3.597e-06/0.4145, allocations: 4 kB / 492.9 MB, free: 1.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.02245/0.4369, allocations: 10.01 MB / 0.4911 GB, free: 7.312 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/0.437, allocations: 73.41 kB / 0.4912 GB, free: 7.227 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006869/0.4439, allocations: 2.502 MB / 0.4936 GB, free: 4.703 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005917/0.4446, allocations: 69.64 kB / 0.4937 GB, free: 4.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002099/0.4467, allocations: 1.657 MB / 0.4953 GB, free: 2.961 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001531/0.4482, allocations: 0.7596 MB / 0.4961 GB, free: 2.211 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001259/0.4495, allocations: 424.4 kB / 0.4965 GB, free: 1.789 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.4497, allocations: 301.1 kB / 0.4968 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003694/0.4534, allocations: 1.301 MB / 0.498 GB, free: 192 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004429/0.4579, allocations: 1.781 MB / 0.4998 GB, free: 14.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009261/0.4672, allocations: 3.212 MB / 0.5029 GB, free: 10.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-05/0.4672, allocations: 4 kB / 0.5029 GB, free: 10.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.01477/0.482, allocations: 4.082 MB / 0.5069 GB, free: 6.879 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.085e-05/0.4821, allocations: 12.47 kB / 0.5069 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.915e-05/0.4822, allocations: 16 kB / 0.5069 GB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005458/0.4876, allocations: 0.8841 MB / 0.5078 GB, free: 5.957 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004719/0.4924, allocations: 0.5288 MB / 0.5083 GB, free: 5.457 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02089/0.5133, allocations: 9.491 MB / 0.5176 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003831/0.5172, allocations: 111.9 kB / 0.5177 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005803/0.5178, allocations: 87.98 kB / 0.5178 GB, free: 11.41 MB / 430.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.004086/0.5219, allocations: 1.214 MB / 0.519 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001199/0.5231, allocations: 286.2 kB / 0.5192 GB, free: 9.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0129/0.536, allocations: 3.71 MB / 0.5228 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.972e-05/0.5361, allocations: 22.25 kB / 0.5229 GB, free: 6.191 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.527e-05/0.5362, allocations: 8 kB / 0.5229 GB, free: 6.184 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-05/0.5362, allocations: 11.95 kB / 0.5229 GB, free: 6.172 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02785/0.5641, allocations: 8.016 MB / 0.5307 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.085e-05/0.5642, allocations: 4.344 kB / 0.5307 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003477/0.5677, allocations: 393.3 kB / 0.5311 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005816/0.5735, allocations: 0.9254 MB / 0.532 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005547/0.5741, allocations: 63.34 kB / 0.5321 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02285/0.597, allocations: 11.1 MB / 0.5429 GB, free: 1.152 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.597, allocations: 4 kB / 0.5429 GB, free: 1.148 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01015/0.6072, allocations: 5.524 MB / 0.5483 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00203/0.6092, allocations: 0.6397 MB / 0.5489 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009399/0.6102, allocations: 51.98 kB / 0.549 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002033/0.6122, allocations: 115.9 kB / 0.5491 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005312/0.6128, allocations: 184.9 kB / 0.5493 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002252/0.613, allocations: 59.98 kB / 0.5493 GB, free: 10.52 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003483/0.6165, allocations: 1.727 MB / 0.551 GB, free: 8.785 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6165, allocations: 0 / 0.551 GB, free: 8.785 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003395/0.6199, allocations: 0.8007 MB / 0.5518 GB, free: 7.984 MB / 462.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.0006932/0.6207, allocations: 252.9 kB / 0.552 GB, free: 7.754 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007167/0.6278, allocations: 3.895 MB / 0.5558 GB, free: 3.832 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.6279, allocations: 4 kB / 0.5558 GB, free: 3.828 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004506/0.6324, allocations: 2.48 MB / 0.5583 GB, free: 1.316 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004791/0.6372, allocations: 0.7822 MB / 0.559 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/0.6522, allocations: 7.852 MB / 0.5667 GB, free: 8.656 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003056/0.6553, allocations: 2.723 MB / 0.5693 GB, free: 5.906 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/0.6564, allocations: 195.3 kB / 0.5695 GB, free: 5.715 MB / 478.1 MB Notification: Performance of SimCode: time 5.31e-07/0.6564, allocations: 0 / 0.5695 GB, free: 5.715 MB / 478.1 MB Notification: Performance of Templates: time 0.2935/0.9499, allocations: 142 MB / 0.7082 GB, free: 79.07 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.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.902117441990413]