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.001987/0.001987, allocations: 110.2 kB / 17.17 MB, free: 6.344 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.002433/0.002433, allocations: 194.9 kB / 18.08 MB, free: 5.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.027/2.027, allocations: 222.9 MB / 241.8 MB, free: 15.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 43.55 kB / 300.6 MB, free: 6.312 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1663, allocations: 49.46 MB / 350.1 MB, free: 4.848 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.02706/0.1934, allocations: 12.74 MB / 362.8 MB, free: 8.043 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01489/0.2083, allocations: 4.132 MB / 366.9 MB, free: 3.898 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004296/0.2127, allocations: 79.62 kB / 367 MB, free: 3.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005453/0.2183, allocations: 0.8431 MB / 367.9 MB, free: 2.973 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008238/0.2266, allocations: 1.08 MB / 368.9 MB, free: 1.887 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00329/0.2299, allocations: 471.5 kB / 369.4 MB, free: 1.426 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2812/0.5112, allocations: 5.308 MB / 374.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005878/0.5171, allocations: 3.055 MB / 377.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005993/0.5231, allocations: 1.816 MB / 379.6 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006284/0.5294, allocations: 2.454 MB / 382 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002603/0.5321, allocations: 341.7 kB / 382.4 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005339/0.5375, allocations: 447.4 kB / 382.8 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004855/0.5424, allocations: 1.288 MB / 384.1 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009962/0.5524, allocations: 2.24 MB / 386.3 MB, free: 7.797 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01134/0.5638, allocations: 6.153 MB / 392.5 MB, free: 4.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.176e-05/0.5639, allocations: 0 / 392.5 MB, free: 4.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.282e-06/0.564, allocations: 0 / 392.5 MB, free: 4.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003847/0.5644, allocations: 4.75 kB / 392.5 MB, free: 4.66 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.02326/0.5876, allocations: 4.688 MB / 397.2 MB, free: 1.555 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.001e-05/0.5877, allocations: 10.41 kB / 397.2 MB, free: 1.555 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003948/0.5917, allocations: 0.4956 MB / 397.7 MB, free: 1.312 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009458/0.6012, allocations: 2.49 MB / 400.2 MB, free: 15.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004275/0.6016, allocations: 266.9 kB / 400.4 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001861/0.6035, allocations: 355.3 kB / 400.8 MB, free: 15.4 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02003/0.6236, allocations: 5.03 MB / 405.8 MB, free: 10.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002816/0.6239, allocations: 11.91 kB / 405.8 MB, free: 10.31 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001827/0.6258, allocations: 139.9 kB / 406 MB, free: 10.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003171/0.6261, allocations: 190.3 kB / 406.2 MB, free: 9.992 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01562/0.6417, allocations: 4.293 MB / 410.4 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03978/0.6816, allocations: 14.9 MB / 425.4 MB, free: 6.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007027/0.6887, allocations: 4.19 MB / 429.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004227/0.693, allocations: 1.998 MB / 431.5 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004126/0.6934, allocations: 130.2 kB / 431.7 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.181e-05/0.6935, allocations: 56.56 kB / 431.7 MB, free: 40 kB / 334.1 MB Notification: Performance of pre-optimization done (n=198): time 4.88e-06/0.6935, allocations: 0 / 431.7 MB, free: 40 kB / 334.1 MB Notification: Performance of matching and sorting (n=218): time 0.02635/0.7199, allocations: 9.944 MB / 441.7 MB, free: 5.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/0.72, allocations: 73.41 kB / 441.7 MB, free: 5.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005503/0.7255, allocations: 2.51 MB / 444.2 MB, free: 3.379 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004506/0.726, allocations: 61.7 kB / 444.3 MB, free: 3.312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001449/0.7274, allocations: 1.614 MB / 445.9 MB, free: 1.684 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001039/0.7285, allocations: 0.7315 MB / 446.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001139/0.7296, allocations: 416.3 kB / 447.1 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.7298, allocations: 301.1 kB / 447.4 MB, free: 256 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002397/0.7322, allocations: 1.308 MB / 448.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002778/0.735, allocations: 1.771 MB / 450.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005417/0.7404, allocations: 3.225 MB / 453.7 MB, free: 9.578 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.065e-05/0.7405, allocations: 4 kB / 453.7 MB, free: 9.574 MB / 366.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008952/0.7494, allocations: 4.067 MB / 457.7 MB, free: 5.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.128e-05/0.7495, allocations: 12 kB / 457.7 MB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.127e-05/0.7495, allocations: 15.98 kB / 457.8 MB, free: 5.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003411/0.753, allocations: 0.8804 MB / 458.6 MB, free: 4.559 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002514/0.7555, allocations: 0.5265 MB / 459.2 MB, free: 4.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01572/0.7712, allocations: 8.741 MB / 467.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003424/0.7747, allocations: 111.8 kB / 468 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007267/0.7755, allocations: 91.98 kB / 468.1 MB, free: 10.69 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.004181/0.7797, allocations: 1.208 MB / 469.3 MB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001537/0.7813, allocations: 276.7 kB / 469.6 MB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009879/0.7912, allocations: 3.715 MB / 473.3 MB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.532e-05/0.7912, allocations: 24 kB / 473.3 MB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.017e-05/0.7913, allocations: 4 kB / 473.3 MB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.564e-05/0.7913, allocations: 11.95 kB / 473.3 MB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02371/0.815, allocations: 8.075 MB / 481.4 MB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-05/0.8151, allocations: 7.938 kB / 481.4 MB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003508/0.8186, allocations: 387.8 kB / 481.8 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006377/0.8251, allocations: 0.936 MB / 482.7 MB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007437/0.8258, allocations: 51.97 kB / 482.8 MB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02126/0.8471, allocations: 10.21 MB / 493 MB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.839e-06/0.8472, allocations: 7.938 kB / 493 MB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01227/0.8595, allocations: 5.501 MB / 498.5 MB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002493/0.862, allocations: 0.6305 MB / 499.1 MB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001204/0.8633, allocations: 52.11 kB / 499.2 MB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002414/0.8657, allocations: 115.9 kB / 499.3 MB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006512/0.8664, allocations: 181.6 kB / 499.5 MB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002844/0.8667, allocations: 63.98 kB / 499.5 MB, free: 10.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.004447/0.8711, allocations: 1.727 MB / 0.4895 GB, free: 8.773 MB / 414.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.8712, allocations: 4 kB / 0.4895 GB, free: 8.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.007317/0.8785, allocations: 0.8007 MB / 0.4903 GB, free: 7.969 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.001405/0.88, allocations: 242 kB / 0.4905 GB, free: 7.734 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008952/0.8889, allocations: 3.872 MB / 0.4943 GB, free: 3.781 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/0.889, allocations: 0 / 0.4943 GB, free: 3.781 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005476/0.8945, allocations: 2.484 MB / 0.4967 GB, free: 1.223 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006676/0.9012, allocations: 0.7425 MB / 0.4975 GB, free: 496 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02691/0.9282, allocations: 9.368 MB / 0.5066 GB, free: 7.086 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005625/0.9339, allocations: 2.723 MB / 0.5093 GB, free: 4.336 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001894/0.9358, allocations: 187.4 kB / 0.5094 GB, free: 4.152 MB / 430.1 MB Notification: Performance of SimCode: time 2.034e-06/0.9359, allocations: 0 / 0.5094 GB, free: 4.152 MB / 430.1 MB Notification: Performance of Templates: time 0.5375/1.473, allocations: 141.6 MB / 0.6477 GB, free: 44 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/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