Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 103.3 kB / 16.62 MB, free: 6.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 193.8 kB / 17.55 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 222.9 MB / 241.2 MB, free: 13.66 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 52.3 kB / 300.1 MB, free: 5.961 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1314, allocations: 49.43 MB / 349.6 MB, free: 4.516 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01467/0.1462, allocations: 12.75 MB / 362.3 MB, free: 7.703 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009126/0.1553, allocations: 4.129 MB / 366.5 MB, free: 3.562 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003307/0.1588, allocations: 71.69 kB / 366.5 MB, free: 3.492 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003563/0.1624, allocations: 0.8548 MB / 367.4 MB, free: 2.633 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004518/0.167, allocations: 1.068 MB / 368.4 MB, free: 1.559 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.1687, allocations: 455.6 kB / 368.9 MB, free: 1.113 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1898/0.3585, allocations: 4.619 MB / 373.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005118/0.3636, allocations: 3.693 MB / 377.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005224/0.3689, allocations: 2.127 MB / 379.3 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005012/0.3739, allocations: 2.622 MB / 382 MB, free: 9.281 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001245/0.3752, allocations: 0.557 MB / 382.5 MB, free: 9.281 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001938/0.3771, allocations: 0.6369 MB / 383.1 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001505/0.3787, allocations: 1.526 MB / 384.7 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00422/0.3829, allocations: 2.484 MB / 387.2 MB, free: 6.883 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0058/0.3887, allocations: 7.347 MB / 394.5 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3887, allocations: 4 kB / 394.5 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3887, allocations: 0 / 394.5 MB, free: 3.109 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001325/0.3889, allocations: 0 / 394.5 MB, free: 3.109 MB / 302.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.008469/0.3973, allocations: 4.694 MB / 399.2 MB, free: 0 / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.3974, allocations: 9.844 kB / 399.2 MB, free: 0 / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.3986, allocations: 0.4965 MB / 399.7 MB, free: 15.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003788/0.4024, allocations: 2.486 MB / 402.2 MB, free: 13.46 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001877/0.4026, allocations: 270.8 kB / 402.5 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005182/0.4031, allocations: 363 kB / 402.8 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007974/0.4111, allocations: 5.026 MB / 407.8 MB, free: 7.773 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.53e-05/0.4112, allocations: 14.89 kB / 407.9 MB, free: 7.762 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003321/0.4116, allocations: 147 kB / 408 MB, free: 7.621 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000162/0.4117, allocations: 179.1 kB / 408.2 MB, free: 7.445 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00747/0.4192, allocations: 4.293 MB / 412.5 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02445/0.4437, allocations: 14.9 MB / 427.4 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004656/0.4484, allocations: 4.187 MB / 431.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003228/0.4516, allocations: 2.005 MB / 433.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000317/0.452, allocations: 131.1 kB / 433.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.172e-05/0.4521, allocations: 56.56 kB / 433.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 3.777e-06/0.4521, allocations: 0 / 433.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.02207/0.4741, allocations: 9.951 MB / 443.7 MB, free: 3.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.4742, allocations: 77.41 kB / 443.8 MB, free: 3.297 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004292/0.4785, allocations: 2.502 MB / 446.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003523/0.4789, allocations: 61.7 kB / 446.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001262/0.4802, allocations: 1.622 MB / 448 MB, free: 15.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007265/0.4809, allocations: 0.7245 MB / 448.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007293/0.4817, allocations: 420.2 kB / 449.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.4818, allocations: 309.1 kB / 449.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002101/0.4839, allocations: 1.297 MB / 450.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00238/0.4863, allocations: 1.785 MB / 452.5 MB, free: 10.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004553/0.4908, allocations: 3.21 MB / 455.7 MB, free: 6.965 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.138e-06/0.4909, allocations: 4 kB / 455.7 MB, free: 6.961 MB / 366.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007205/0.4981, allocations: 4.071 MB / 459.8 MB, free: 2.863 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/0.4981, allocations: 10.66 kB / 459.8 MB, free: 2.855 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-05/0.4982, allocations: 16 kB / 459.8 MB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002983/0.5011, allocations: 0.887 MB / 460.7 MB, free: 1.941 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002219/0.5034, allocations: 0.5266 MB / 461.2 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01066/0.5141, allocations: 9.486 MB / 470.7 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002795/0.5169, allocations: 111.9 kB / 470.8 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002212/0.5171, allocations: 95.98 kB / 470.9 MB, free: 7.316 MB / 382.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.002426/0.5196, allocations: 1.211 MB / 472.1 MB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006618/0.5202, allocations: 272.7 kB / 472.4 MB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00635/0.5266, allocations: 3.726 MB / 476.1 MB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.799e-05/0.5266, allocations: 20 kB / 476.1 MB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.5267, allocations: 8 kB / 476.1 MB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.511e-05/0.5267, allocations: 11.95 kB / 476.1 MB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01416/0.5408, allocations: 8.067 MB / 484.2 MB, free: 9.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/0.5409, allocations: 4 kB / 484.2 MB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001663/0.5426, allocations: 391.8 kB / 484.6 MB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003258/0.5459, allocations: 0.9352 MB / 485.5 MB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000189/0.5461, allocations: 55.97 kB / 485.6 MB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0117/0.5578, allocations: 11.1 MB / 496.7 MB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.5578, allocations: 4 kB / 496.7 MB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009007/0.5668, allocations: 5.505 MB / 0.4904 GB, free: 7.277 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002157/0.569, allocations: 0.6343 MB / 0.491 GB, free: 6.621 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004698/0.5695, allocations: 47.98 kB / 0.4911 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/0.5709, allocations: 116.1 kB / 0.4912 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005025/0.5714, allocations: 181.7 kB / 0.4914 GB, free: 6.281 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001447/0.5716, allocations: 59.92 kB / 0.4914 GB, free: 6.223 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00276/0.5744, allocations: 1.731 MB / 0.4931 GB, free: 4.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5744, allocations: 4 kB / 0.4931 GB, free: 4.477 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002893/0.5773, allocations: 0.7968 MB / 0.4939 GB, free: 3.68 MB / 414.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.0006143/0.5779, allocations: 249.4 kB / 0.4941 GB, free: 3.434 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01087/0.5888, allocations: 5.705 MB / 0.4997 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/0.5888, allocations: 320 / 0.4997 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004028/0.5929, allocations: 2.486 MB / 0.5021 GB, free: 11.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004146/0.597, allocations: 0.7806 MB / 0.5029 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01428/0.6113, allocations: 9.354 MB / 0.512 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002634/0.614, allocations: 2.777 MB / 0.5147 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002516/0.6165, allocations: 0.6827 MB / 0.5154 GB, free: 13.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005855/0.6171, allocations: 175.4 kB / 0.5156 GB, free: 13.26 MB / 446.1 MB Notification: Performance of SimCode: time 1.182e-06/0.6172, allocations: 0 / 0.5156 GB, free: 13.26 MB / 446.1 MB Notification: Performance of Templates: time 0.321/0.9382, allocations: 46.25 MB / 0.5607 GB, free: 133.9 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches