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.001408/0.001408, allocations: 108.3 kB / 16.51 MB, free: 6.707 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.002042/0.002042, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.352/1.352, allocations: 222.9 MB / 241.1 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 42.77 kB / 300 MB, free: 6.289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1102, allocations: 49.46 MB / 349.4 MB, free: 4.824 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01461/0.1248, allocations: 12.75 MB / 362.2 MB, free: 8.008 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009428/0.1343, allocations: 4.136 MB / 366.3 MB, free: 3.859 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002899/0.1373, allocations: 71.69 kB / 366.4 MB, free: 3.789 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003316/0.1407, allocations: 0.847 MB / 367.2 MB, free: 2.938 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004302/0.145, allocations: 1.084 MB / 368.3 MB, free: 1.848 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001774/0.1468, allocations: 463.5 kB / 368.7 MB, free: 1.395 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1984/0.3452, allocations: 5.303 MB / 374.1 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00416/0.3494, allocations: 3.058 MB / 377.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004478/0.3539, allocations: 1.823 MB / 378.9 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004238/0.3582, allocations: 2.455 MB / 381.4 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008461/0.359, allocations: 341 kB / 381.7 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.3606, allocations: 446.3 kB / 382.2 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001346/0.362, allocations: 1.291 MB / 383.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003024/0.365, allocations: 2.235 MB / 385.7 MB, free: 7.836 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006836/0.3718, allocations: 7.154 MB / 392.8 MB, free: 3.984 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3719, allocations: 0 / 392.8 MB, free: 3.984 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3719, allocations: 0 / 392.8 MB, free: 3.984 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002018/0.3721, allocations: 0 / 392.8 MB, free: 3.984 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.009584/0.3817, allocations: 4.693 MB / 397.5 MB, free: 0.875 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.3817, allocations: 9.344 kB / 397.5 MB, free: 0.875 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/0.3835, allocations: 0.491 MB / 398 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004716/0.3883, allocations: 2.498 MB / 400.5 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002041/0.3885, allocations: 259.1 kB / 400.8 MB, free: 14.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005307/0.389, allocations: 358.8 kB / 401.1 MB, free: 14.42 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008606/0.3977, allocations: 5.029 MB / 406.2 MB, free: 9.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.5e-05/0.3977, allocations: 11.47 kB / 406.2 MB, free: 9.332 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003346/0.3981, allocations: 143.9 kB / 406.3 MB, free: 9.195 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001794/0.3983, allocations: 187 kB / 406.5 MB, free: 9.012 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007654/0.4059, allocations: 4.293 MB / 410.8 MB, free: 4.723 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0243/0.4303, allocations: 14.9 MB / 425.7 MB, free: 5.734 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004508/0.4348, allocations: 4.19 MB / 429.9 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003091/0.4379, allocations: 1.997 MB / 431.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002796/0.4382, allocations: 134.6 kB / 432 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/0.4383, allocations: 64.5 kB / 432.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 4.158e-06/0.4383, allocations: 4 kB / 432.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.02004/0.4583, allocations: 9.939 MB / 442 MB, free: 4.988 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.4584, allocations: 73.41 kB / 442.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004082/0.4625, allocations: 2.506 MB / 444.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003117/0.4628, allocations: 65.7 kB / 444.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001274/0.4641, allocations: 1.617 MB / 446.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007811/0.4649, allocations: 0.7244 MB / 447 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007179/0.4656, allocations: 423.2 kB / 447.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.789e-05/0.4657, allocations: 301.1 kB / 447.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001973/0.4677, allocations: 1.305 MB / 449 MB, free: 13.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00231/0.47, allocations: 1.775 MB / 450.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004381/0.4744, allocations: 3.212 MB / 454 MB, free: 8.582 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.838e-06/0.4745, allocations: 4 kB / 454 MB, free: 8.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007064/0.4815, allocations: 4.075 MB / 458.1 MB, free: 4.477 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.4816, allocations: 12 kB / 458.1 MB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.549e-05/0.4816, allocations: 12 kB / 458.1 MB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00286/0.4845, allocations: 0.8777 MB / 459 MB, free: 3.562 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002049/0.4865, allocations: 0.5266 MB / 459.5 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/0.4966, allocations: 8.736 MB / 468.2 MB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002759/0.4994, allocations: 115.8 kB / 468.3 MB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004704/0.4999, allocations: 87.98 kB / 468.4 MB, free: 9.703 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.002869/0.5027, allocations: 1.219 MB / 469.7 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001006/0.5038, allocations: 272.7 kB / 469.9 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008086/0.5119, allocations: 3.719 MB / 473.6 MB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-05/0.5119, allocations: 20 kB / 473.7 MB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.942e-05/0.512, allocations: 8 kB / 473.7 MB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-05/0.512, allocations: 15.95 kB / 473.7 MB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01607/0.5281, allocations: 8.071 MB / 481.8 MB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.946e-05/0.5281, allocations: 11.94 kB / 481.8 MB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001745/0.5299, allocations: 383.7 kB / 482.1 MB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003219/0.5331, allocations: 0.9329 MB / 483.1 MB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002006/0.5334, allocations: 59.97 kB / 483.1 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01104/0.5444, allocations: 10.2 MB / 493.3 MB, free: 156 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.5444, allocations: 4 kB / 493.3 MB, free: 152 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009812/0.5543, allocations: 5.506 MB / 498.8 MB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00191/0.5562, allocations: 0.6265 MB / 499.5 MB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000943/0.5572, allocations: 51.98 kB / 499.5 MB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001936/0.5591, allocations: 116.1 kB / 499.6 MB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005306/0.5597, allocations: 181.8 kB / 499.8 MB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001742/0.5598, allocations: 59.92 kB / 499.9 MB, free: 9.523 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003585/0.5634, allocations: 1.731 MB / 0.4898 GB, free: 7.781 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5635, allocations: 4 kB / 0.4898 GB, free: 7.777 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003649/0.5671, allocations: 0.8046 MB / 0.4906 GB, free: 6.973 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.0007526/0.5679, allocations: 241.8 kB / 0.4909 GB, free: 6.738 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006708/0.5746, allocations: 3.869 MB / 0.4946 GB, free: 2.789 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.5746, allocations: 4 kB / 0.4946 GB, free: 2.785 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004064/0.5787, allocations: 2.476 MB / 0.4971 GB, free: 240 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005138/0.5839, allocations: 0.7482 MB / 0.4978 GB, free: 15.49 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01709/0.601, allocations: 9.367 MB / 0.5069 GB, free: 6.094 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003829/0.6048, allocations: 2.773 MB / 0.5096 GB, free: 3.293 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002592/0.6074, allocations: 0.6827 MB / 0.5103 GB, free: 2.605 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008906/0.6083, allocations: 171.4 kB / 0.5105 GB, free: 2.438 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.6084, allocations: 8 kB / 0.5105 GB, free: 2.43 MB / 430.1 MB Notification: Performance of Templates: time 0.2735/0.8818, allocations: 44.57 MB / 0.554 GB, free: 139.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