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.001301/0.001301, allocations: 113.2 kB / 17.69 MB, free: 5.098 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.001469/0.00147, allocations: 192 kB / 18.63 MB, free: 4.242 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.376/1.376, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.00103, allocations: 43.34 kB / 302.1 MB, free: 5.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1056, allocations: 49.44 MB / 351.5 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01462/0.1202, allocations: 12.86 MB / 364.4 MB, free: 6.773 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00937/0.1296, allocations: 4.19 MB / 368.6 MB, free: 2.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002783/0.1325, allocations: 79.69 kB / 368.6 MB, free: 2.492 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002558/0.1351, allocations: 0.9665 MB / 369.6 MB, free: 1.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003837/0.139, allocations: 1.173 MB / 370.8 MB, free: 348 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2197/0.3586, allocations: 0.5164 MB / 371.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007538/0.3662, allocations: 4.633 MB / 375.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0048/0.3711, allocations: 3.686 MB / 379.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004969/0.376, allocations: 2.121 MB / 381.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007077/0.3831, allocations: 2.563 MB / 384.3 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002224/0.3854, allocations: 0.5525 MB / 384.8 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003967/0.3894, allocations: 0.6431 MB / 385.5 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002797/0.3922, allocations: 1.515 MB / 387 MB, free: 8.699 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006832/0.399, allocations: 2.488 MB / 389.5 MB, free: 7.121 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009108/0.4082, allocations: 7.407 MB / 396.9 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.4082, allocations: 4 kB / 396.9 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4082, allocations: 0 / 396.9 MB, free: 3.121 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002251/0.4085, allocations: 0 / 396.9 MB, free: 3.121 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.01132/0.4198, allocations: 4.695 MB / 401.6 MB, free: 15.38 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.4198, allocations: 15.5 kB / 401.6 MB, free: 15.37 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001361/0.4212, allocations: 0.4917 MB / 402.1 MB, free: 14.88 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005017/0.4262, allocations: 2.565 MB / 404.7 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001933/0.4265, allocations: 274.1 kB / 404.9 MB, free: 12.08 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005444/0.427, allocations: 362.6 kB / 405.3 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008295/0.4353, allocations: 5.022 MB / 410.3 MB, free: 6.648 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.746e-05/0.4354, allocations: 7.906 kB / 410.3 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003249/0.4357, allocations: 147.3 kB / 410.5 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000161/0.4359, allocations: 183 kB / 410.6 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006861/0.4428, allocations: 4.294 MB / 414.9 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02638/0.4692, allocations: 14.71 MB / 429.6 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004727/0.4739, allocations: 4.196 MB / 433.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003132/0.4771, allocations: 1.991 MB / 435.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003097/0.4774, allocations: 137.8 kB / 436 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.407e-05/0.4775, allocations: 56.5 kB / 436 MB, free: 12.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 3.537e-06/0.4775, allocations: 0 / 436 MB, free: 12.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.02056/0.4981, allocations: 9.948 MB / 446 MB, free: 2.355 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.4982, allocations: 77.41 kB / 446.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004132/0.5023, allocations: 2.498 MB / 448.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003877/0.5027, allocations: 61.7 kB / 448.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001155/0.5039, allocations: 1.617 MB / 450.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007/0.5046, allocations: 0.7275 MB / 451 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006761/0.5053, allocations: 428.2 kB / 451.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.5054, allocations: 301.1 kB / 451.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001964/0.5074, allocations: 1.297 MB / 453 MB, free: 11.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002235/0.5096, allocations: 1.777 MB / 454.7 MB, free: 9.344 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004333/0.5139, allocations: 3.214 MB / 458 MB, free: 5.953 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/0.514, allocations: 4 kB / 458 MB, free: 5.949 MB / 366.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007155/0.5211, allocations: 4.071 MB / 462 MB, free: 1.852 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/0.5212, allocations: 12.47 kB / 462 MB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.908e-05/0.5212, allocations: 16 kB / 462.1 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002857/0.5241, allocations: 0.8914 MB / 462.9 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002117/0.5262, allocations: 0.5266 MB / 463.5 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/0.5368, allocations: 9.473 MB / 472.9 MB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002559/0.5394, allocations: 107.9 kB / 473.1 MB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004811/0.5399, allocations: 91.98 kB / 473.1 MB, free: 6.312 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.002974/0.5429, allocations: 1.222 MB / 474.4 MB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009452/0.5438, allocations: 272.7 kB / 474.6 MB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006989/0.5508, allocations: 3.719 MB / 478.3 MB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.949e-05/0.5509, allocations: 24 kB / 478.4 MB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.61e-05/0.5509, allocations: 4 kB / 478.4 MB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.131e-05/0.551, allocations: 11.95 kB / 478.4 MB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0164/0.5674, allocations: 8.01 MB / 486.4 MB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.5674, allocations: 352 / 486.4 MB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/0.569, allocations: 391.4 kB / 486.8 MB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003124/0.5722, allocations: 0.9352 MB / 487.7 MB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000214/0.5724, allocations: 55.97 kB / 487.8 MB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01216/0.5846, allocations: 11.09 MB / 498.9 MB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.5846, allocations: 4 kB / 498.9 MB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009126/0.5937, allocations: 5.51 MB / 0.4926 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002218/0.596, allocations: 0.6343 MB / 0.4932 GB, free: 5.676 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008828/0.5969, allocations: 48 kB / 0.4932 GB, free: 5.629 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001885/0.5988, allocations: 119.9 kB / 0.4933 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004803/0.5993, allocations: 181.7 kB / 0.4935 GB, free: 5.336 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001705/0.5995, allocations: 59.98 kB / 0.4936 GB, free: 5.277 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003329/0.6028, allocations: 1.731 MB / 0.4953 GB, free: 3.535 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6028, allocations: 3.938 kB / 0.4953 GB, free: 3.531 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003388/0.6062, allocations: 0.8046 MB / 0.496 GB, free: 2.727 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.0007443/0.607, allocations: 238.7 kB / 0.4963 GB, free: 2.496 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006914/0.6139, allocations: 3.888 MB / 0.5001 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.251e-05/0.6139, allocations: 4 kB / 0.5001 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004223/0.6182, allocations: 2.477 MB / 0.5025 GB, free: 11.97 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005057/0.6233, allocations: 0.7833 MB / 0.5033 GB, free: 11.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01638/0.6397, allocations: 7.736 MB / 0.5108 GB, free: 3.418 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003957/0.6437, allocations: 2.777 MB / 0.5135 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002388/0.6461, allocations: 0.6788 MB / 0.5142 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006109/0.6467, allocations: 175.4 kB / 0.5144 GB, free: 15.76 MB / 446.1 MB Notification: Performance of SimCode: time 1.583e-06/0.6467, allocations: 4 kB / 0.5144 GB, free: 15.75 MB / 446.1 MB Notification: Performance of Templates: time 0.2628/0.9096, allocations: 43.76 MB / 0.5571 GB, free: 138.7 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/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