Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001254/0.001254, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001245/0.001245, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.416/1.416, allocations: 227.7 MB / 247.7 MB, free: 10.31 MB / 206.1 MB 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.001936/0.001936, allocations: 74.14 kB / 307.9 MB, free: 488 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1053, allocations: 50.54 MB / 358.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01578/0.1211, allocations: 12.9 MB / 371.4 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1857/0.3069, allocations: 4.259 MB / 375.6 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002172/0.3091, allocations: 79.94 kB / 375.7 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002608/0.3117, allocations: 0.9771 MB / 376.7 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004067/0.3158, allocations: 1.178 MB / 377.8 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.3174, allocations: 0.5242 MB / 378.4 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006321/0.3238, allocations: 4.628 MB / 383 MB, free: 7.258 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005247/0.329, allocations: 3.694 MB / 386.7 MB, free: 5.781 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004641/0.3337, allocations: 2.121 MB / 388.8 MB, free: 4.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004246/0.338, allocations: 2.563 MB / 391.4 MB, free: 3.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001108/0.3391, allocations: 0.5522 MB / 391.9 MB, free: 3.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001905/0.341, allocations: 0.6568 MB / 392.6 MB, free: 3.652 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00133/0.3424, allocations: 1.518 MB / 394.1 MB, free: 2.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004247/0.3466, allocations: 2.491 MB / 396.6 MB, free: 1.223 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008542/0.3552, allocations: 7.364 MB / 404 MB, free: 11.86 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3552, allocations: 3.938 kB / 404 MB, free: 11.85 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.3552, allocations: 7.938 kB / 404 MB, free: 11.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002289/0.3555, allocations: 4 kB / 404 MB, free: 11.84 MB / 318.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.01231/0.3678, allocations: 4.708 MB / 408.7 MB, free: 7.082 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.3678, allocations: 8.031 kB / 408.7 MB, free: 7.074 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/0.3696, allocations: 0.5307 MB / 409.2 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00519/0.3748, allocations: 2.513 MB / 411.7 MB, free: 3.992 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000259/0.3751, allocations: 265.3 kB / 412 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008119/0.3759, allocations: 354.2 kB / 412.3 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009806/0.3857, allocations: 5.027 MB / 417.4 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-05/0.3858, allocations: 11.91 kB / 417.4 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003566/0.3862, allocations: 143.1 kB / 417.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000201/0.3864, allocations: 179.1 kB / 417.7 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007914/0.3943, allocations: 4.294 MB / 422 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03009/0.4244, allocations: 14.9 MB / 436.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007328/0.4318, allocations: 4.201 MB / 441.1 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005147/0.437, allocations: 1.988 MB / 443.1 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003162/0.4373, allocations: 131.1 kB / 443.2 MB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.307e-05/0.4374, allocations: 52.56 kB / 443.3 MB, free: 3.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 3.937e-06/0.4374, allocations: 4 kB / 443.3 MB, free: 3.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.02472/0.4622, allocations: 9.954 MB / 453.2 MB, free: 9.828 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.904e-05/0.4623, allocations: 77.41 kB / 453.3 MB, free: 9.742 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005921/0.4682, allocations: 2.514 MB / 455.8 MB, free: 7.207 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004833/0.4687, allocations: 61.7 kB / 455.9 MB, free: 7.141 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001907/0.4706, allocations: 1.627 MB / 457.5 MB, free: 5.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001215/0.4719, allocations: 0.7241 MB / 458.2 MB, free: 4.781 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00106/0.4729, allocations: 424.3 kB / 458.6 MB, free: 4.359 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4731, allocations: 301.1 kB / 458.9 MB, free: 4.062 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003235/0.4764, allocations: 1.301 MB / 460.2 MB, free: 2.758 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003075/0.4795, allocations: 1.779 MB / 462 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004827/0.4843, allocations: 3.211 MB / 465.2 MB, free: 13.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.4843, allocations: 8 kB / 465.2 MB, free: 13.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007344/0.4917, allocations: 4.079 MB / 469.3 MB, free: 9.285 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.4917, allocations: 12 kB / 469.3 MB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.431e-05/0.4917, allocations: 12 kB / 469.3 MB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002862/0.4946, allocations: 0.8799 MB / 470.2 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002213/0.4968, allocations: 0.5343 MB / 470.7 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01191/0.5088, allocations: 9.487 MB / 480.2 MB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002708/0.5115, allocations: 115.8 kB / 480.3 MB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002953/0.5118, allocations: 87.98 kB / 480.4 MB, free: 13.73 MB / 398.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.002524/0.5144, allocations: 1.215 MB / 481.6 MB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007273/0.5151, allocations: 276.7 kB / 481.9 MB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00698/0.5221, allocations: 3.715 MB / 485.6 MB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.31e-05/0.5221, allocations: 28 kB / 485.7 MB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/0.5222, allocations: 4 kB / 485.7 MB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-05/0.5222, allocations: 15.95 kB / 485.7 MB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01498/0.5372, allocations: 8.085 MB / 493.8 MB, free: 296 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/0.5372, allocations: 7.938 kB / 493.8 MB, free: 288 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001722/0.5389, allocations: 383.8 kB / 494.1 MB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00321/0.5422, allocations: 0.933 MB / 495.1 MB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002048/0.5424, allocations: 55.97 kB / 495.1 MB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0133/0.5557, allocations: 11.12 MB / 0.4944 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.5557, allocations: 4 kB / 0.4944 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009689/0.5654, allocations: 5.505 MB / 0.4998 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001618/0.5671, allocations: 0.6304 MB / 0.5004 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004498/0.5675, allocations: 55.98 kB / 0.5004 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/0.569, allocations: 107.9 kB / 0.5005 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004657/0.5694, allocations: 185.7 kB / 0.5007 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/0.5696, allocations: 59.98 kB / 0.5008 GB, free: 12.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002819/0.5724, allocations: 1.739 MB / 0.5025 GB, free: 10.85 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5724, allocations: 0 / 0.5025 GB, free: 10.85 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002606/0.575, allocations: 0.8008 MB / 0.5032 GB, free: 10.05 MB / 430.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.0006178/0.5757, allocations: 237.5 kB / 0.5035 GB, free: 9.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0112/0.5869, allocations: 5.707 MB / 0.509 GB, free: 4.035 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-05/0.5869, allocations: 12.12 kB / 0.5091 GB, free: 4.023 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00432/0.5912, allocations: 2.468 MB / 0.5115 GB, free: 1.484 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003681/0.5949, allocations: 0.7907 MB / 0.5122 GB, free: 0.707 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/0.6085, allocations: 7.843 MB / 0.5199 GB, free: 8.816 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002996/0.6115, allocations: 2.719 MB / 0.5226 GB, free: 6.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009792/0.6125, allocations: 195.4 kB / 0.5227 GB, free: 5.879 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.6125, allocations: 0 / 0.5227 GB, free: 5.879 MB / 446.1 MB Notification: Performance of Templates: time 0.2649/0.8775, allocations: 142.1 MB / 0.6615 GB, free: 23.6 MB / 446.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches