Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001194/0.001194, allocations: 115.4 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001271/0.001271, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 246.4 MB, free: 9.109 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 60.19 kB / 306.5 MB, free: 0.7422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09651/0.09786, allocations: 50.53 MB / 357 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.1881/0.2859, allocations: 17.21 MB / 374.2 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009855/0.2958, allocations: 5.866 MB / 380.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002787/0.2987, allocations: 112.7 kB / 380.2 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003256/0.3019, allocations: 1.194 MB / 381.4 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004777/0.3068, allocations: 1.601 MB / 383 MB, free: 7.883 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002388/0.3092, allocations: 0.9921 MB / 384 MB, free: 7.324 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007686/0.3169, allocations: 6.52 MB / 390.5 MB, free: 4.168 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006249/0.3231, allocations: 5.384 MB / 395.9 MB, free: 2.008 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005764/0.3289, allocations: 2.84 MB / 398.7 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00735/0.3363, allocations: 3.369 MB / 402.1 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001997/0.3383, allocations: 0.7847 MB / 402.9 MB, free: 14.65 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00356/0.3419, allocations: 1.093 MB / 404 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001784/0.3437, allocations: 1.86 MB / 405.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005312/0.349, allocations: 3.353 MB / 409.2 MB, free: 8.375 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01126/0.3603, allocations: 10.48 MB / 419.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.3603, allocations: 0 / 419.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3603, allocations: 4 kB / 419.7 MB, free: 13.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003018/0.3606, allocations: 0 / 419.7 MB, free: 13.91 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.0163/0.3769, allocations: 6.537 MB / 426.2 MB, free: 7.285 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.377, allocations: 12.03 kB / 426.2 MB, free: 7.273 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005383/0.3824, allocations: 1.083 MB / 427.3 MB, free: 6.184 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006079/0.3885, allocations: 3.541 MB / 430.8 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002738/0.3888, allocations: 365.7 kB / 431.2 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008511/0.3897, allocations: 487.8 kB / 431.7 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0119/0.4016, allocations: 6.881 MB / 438.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-05/0.4017, allocations: 3.984 kB / 438.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000453/0.4021, allocations: 200 kB / 438.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002113/0.4024, allocations: 241.8 kB / 439 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01049/0.4129, allocations: 5.941 MB / 444.9 MB, free: 4.379 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03702/0.4499, allocations: 20.99 MB / 465.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009264/0.4592, allocations: 9.978 MB / 475.9 MB, free: 3.922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003807/0.4631, allocations: 2.485 MB / 478.4 MB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01123/0.4743, allocations: 6.743 MB / 485.1 MB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.594e-05/0.4744, allocations: 60.56 kB / 485.2 MB, free: 10.45 MB / 398.1 MB Notification: Performance of pre-optimization done (n=219): time 4.148e-06/0.4744, allocations: 4 kB / 485.2 MB, free: 10.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=226): time 0.01809/0.4925, allocations: 9.679 MB / 494.9 MB, free: 0.5508 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.4926, allocations: 81.34 kB / 494.9 MB, free: 472 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004741/0.4974, allocations: 3.014 MB / 497.9 MB, free: 13.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002413/0.4976, allocations: 65.7 kB / 498 MB, free: 13.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001617/0.4992, allocations: 2.18 MB / 0.4885 GB, free: 11.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009196/0.5002, allocations: 0.7508 MB / 0.4892 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008198/0.501, allocations: 469 kB / 0.4897 GB, free: 9.934 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.47e-05/0.5011, allocations: 301.1 kB / 0.4899 GB, free: 9.637 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002088/0.5032, allocations: 1.297 MB / 0.4912 GB, free: 8.336 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00252/0.5057, allocations: 1.916 MB / 0.4931 GB, free: 6.156 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004896/0.5106, allocations: 3.344 MB / 0.4963 GB, free: 2.562 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/0.5106, allocations: 8 kB / 0.4963 GB, free: 2.555 MB / 414.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.007812/0.5185, allocations: 4.244 MB / 0.5005 GB, free: 14.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/0.5185, allocations: 16.48 kB / 0.5005 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.317e-05/0.5186, allocations: 24 kB / 0.5005 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002792/0.5214, allocations: 0.767 MB / 0.5013 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002273/0.5236, allocations: 0.5578 MB / 0.5018 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01224/0.5359, allocations: 10.89 MB / 0.5125 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002352/0.5383, allocations: 107.9 kB / 0.5126 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002349/0.5385, allocations: 104 kB / 0.5127 GB, free: 1.238 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * 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 (278): * Single equations (assignments): 273 * 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,77.8%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002833/0.5414, allocations: 1.617 MB / 0.5142 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006851/0.5421, allocations: 320.1 kB / 0.5146 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006752/0.5488, allocations: 3.906 MB / 0.5184 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.898e-05/0.5489, allocations: 20 kB / 0.5184 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/0.5489, allocations: 12 kB / 0.5184 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-05/0.5489, allocations: 12.14 kB / 0.5184 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01422/0.5632, allocations: 8.574 MB / 0.5268 GB, free: 2.551 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.5632, allocations: 7.938 kB / 0.5268 GB, free: 2.543 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001614/0.5648, allocations: 347.8 kB / 0.5271 GB, free: 2.203 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00322/0.5681, allocations: 0.9457 MB / 0.528 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002261/0.5683, allocations: 59.91 kB / 0.5281 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1972/0.7655, allocations: 15.74 MB / 0.5435 GB, free: 128.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.7656, allocations: 7.781 kB / 0.5435 GB, free: 128.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008654/0.7742, allocations: 5.69 MB / 0.549 GB, free: 126.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001489/0.7758, allocations: 0.688 MB / 0.5497 GB, free: 126.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004296/0.7762, allocations: 53.56 kB / 0.5498 GB, free: 126.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/0.7776, allocations: 106.8 kB / 0.5499 GB, free: 126.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004954/0.7781, allocations: 192 kB / 0.55 GB, free: 126.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001473/0.7782, allocations: 64.12 kB / 0.5501 GB, free: 126.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003068/0.7813, allocations: 2.078 MB / 0.5521 GB, free: 125.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.7813, allocations: 0.9688 kB / 0.5521 GB, free: 125.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002945/0.7843, allocations: 0.949 MB / 0.5531 GB, free: 125.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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 (156): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,8,100.0%), (3,25,88.9%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006126/0.7849, allocations: 268.5 kB / 0.5533 GB, free: 125.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009167/0.7941, allocations: 5.375 MB / 0.5586 GB, free: 123.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.7941, allocations: 3.312 kB / 0.5586 GB, free: 123.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003323/0.7974, allocations: 2.64 MB / 0.5612 GB, free: 121.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003381/0.8008, allocations: 0.927 MB / 0.5621 GB, free: 121.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/0.8135, allocations: 11.61 MB / 0.5734 GB, free: 115 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002281/0.8158, allocations: 3.434 MB / 0.5767 GB, free: 112.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002237/0.818, allocations: 0.7621 MB / 0.5775 GB, free: 111.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005035/0.8186, allocations: 197.4 kB / 0.5777 GB, free: 111.7 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.8186, allocations: 0 / 0.5777 GB, free: 111.7 MB / 446.1 MB Notification: Performance of Templates: time 0.06565/0.8842, allocations: 51.26 MB / 0.6277 GB, free: 61.17 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches