Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.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 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.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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00166/0.00166, allocations: 112.9 kB / 17.82 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001647/0.001647, allocations: 208.6 kB / 18.79 MB, free: 4.254 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.531/1.531, allocations: 230.4 MB / 250 MB, free: 9.07 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.001897/0.001897, allocations: 59.84 kB / 367.4 MB, free: 7.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2962, allocations: 53.31 MB / 420.7 MB, free: 8.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01903/0.3152, allocations: 12.95 MB / 433.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01215/0.3274, allocations: 4.272 MB / 437.9 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003364/0.3308, allocations: 79.69 kB / 438 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004012/0.3348, allocations: 1.021 MB / 439 MB, free: 5.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005825/0.3406, allocations: 1.239 MB / 440.2 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001961/0.3425, allocations: 0.5188 MB / 440.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008193/0.3507, allocations: 4.653 MB / 445.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004466/0.3552, allocations: 2.69 MB / 448.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006417/0.3616, allocations: 2.135 MB / 450.2 MB, free: 10.63 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005817/0.3674, allocations: 2.627 MB / 452.9 MB, free: 7.992 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00202/0.3695, allocations: 0.5508 MB / 453.4 MB, free: 7.441 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002946/0.3724, allocations: 0.66 MB / 454.1 MB, free: 6.781 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002506/0.3749, allocations: 1.531 MB / 455.6 MB, free: 5.246 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005156/0.3801, allocations: 2.489 MB / 458.1 MB, free: 2.746 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01139/0.3915, allocations: 7.466 MB / 465.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3915, allocations: 0 / 465.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3915, allocations: 0 / 465.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000266/0.3917, allocations: 0 / 465.6 MB, free: 11.25 MB / 382.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.01486/0.4066, allocations: 4.835 MB / 470.4 MB, free: 6.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.4066, allocations: 8.031 kB / 470.4 MB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002278/0.4089, allocations: 0.5565 MB / 471 MB, free: 5.777 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006417/0.4153, allocations: 2.596 MB / 473.5 MB, free: 3.105 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003082/0.4156, allocations: 267 kB / 473.8 MB, free: 2.844 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001128/0.4168, allocations: 355.9 kB / 474.2 MB, free: 2.496 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01204/0.4288, allocations: 5.029 MB / 479.2 MB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.234e-05/0.4289, allocations: 11.89 kB / 479.2 MB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004145/0.4293, allocations: 152 kB / 479.3 MB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000223/0.4295, allocations: 179.1 kB / 479.5 MB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009457/0.439, allocations: 4.294 MB / 483.8 MB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02996/0.469, allocations: 14.76 MB / 498.6 MB, free: 9.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005943/0.4749, allocations: 4.065 MB / 0.4909 GB, free: 5.316 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003688/0.4786, allocations: 1.873 MB / 0.4927 GB, free: 3.445 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003846/0.479, allocations: 131.1 kB / 0.4928 GB, free: 3.297 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.506e-05/0.479, allocations: 60.55 kB / 0.4929 GB, free: 3.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 4.438e-06/0.4791, allocations: 0 / 0.4929 GB, free: 3.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02429/0.5033, allocations: 9.993 MB / 0.5026 GB, free: 9.129 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.061e-05/0.5034, allocations: 73.41 kB / 0.5027 GB, free: 9.043 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005606/0.509, allocations: 2.522 MB / 0.5052 GB, free: 6.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000361/0.5094, allocations: 65.7 kB / 0.5052 GB, free: 6.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001585/0.511, allocations: 1.658 MB / 0.5068 GB, free: 4.754 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00101/0.512, allocations: 0.7708 MB / 0.5076 GB, free: 3.977 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001105/0.5131, allocations: 408.5 kB / 0.508 GB, free: 3.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.5132, allocations: 313.1 kB / 0.5083 GB, free: 3.262 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002441/0.5157, allocations: 1.297 MB / 0.5095 GB, free: 1.961 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002897/0.5186, allocations: 1.778 MB / 0.5113 GB, free: 16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005476/0.524, allocations: 3.211 MB / 0.5144 GB, free: 12.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.266e-05/0.5241, allocations: 4 kB / 0.5144 GB, free: 12.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008173/0.5322, allocations: 4.072 MB / 0.5184 GB, free: 8.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/0.5323, allocations: 12 kB / 0.5184 GB, free: 8.488 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3e-05/0.5323, allocations: 12 kB / 0.5184 GB, free: 8.477 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003068/0.5354, allocations: 0.8786 MB / 0.5193 GB, free: 7.586 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002314/0.5377, allocations: 0.5343 MB / 0.5198 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01218/0.5499, allocations: 9.477 MB / 0.5291 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002259/0.5521, allocations: 119.9 kB / 0.5292 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004317/0.5526, allocations: 91.92 kB / 0.5293 GB, free: 12.95 MB / 462.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.002775/0.5553, allocations: 1.216 MB / 0.5304 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/0.5564, allocations: 290.2 kB / 0.5307 GB, free: 11.44 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008018/0.5644, allocations: 3.691 MB / 0.5343 GB, free: 7.719 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/0.5644, allocations: 24.09 kB / 0.5344 GB, free: 7.695 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.496e-05/0.5645, allocations: 4 kB / 0.5344 GB, free: 7.691 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.986e-05/0.5645, allocations: 15.94 kB / 0.5344 GB, free: 7.676 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2603/0.8248, allocations: 8.012 MB / 0.5422 GB, free: 113.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.362e-05/0.8248, allocations: 3.906 kB / 0.5422 GB, free: 113.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002434/0.8273, allocations: 383 kB / 0.5426 GB, free: 113.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003303/0.8306, allocations: 0.9303 MB / 0.5435 GB, free: 113 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003624/0.8309, allocations: 56.88 kB / 0.5435 GB, free: 113 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01011/0.841, allocations: 11.1 MB / 0.5544 GB, free: 105.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.841, allocations: 3.969 kB / 0.5544 GB, free: 105.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007685/0.8487, allocations: 5.509 MB / 0.5598 GB, free: 103.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/0.8501, allocations: 0.6423 MB / 0.5604 GB, free: 103.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003879/0.8505, allocations: 55.19 kB / 0.5604 GB, free: 103.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/0.8517, allocations: 113 kB / 0.5605 GB, free: 103.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004078/0.8521, allocations: 182.6 kB / 0.5607 GB, free: 103.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/0.8522, allocations: 62.42 kB / 0.5608 GB, free: 103.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002127/0.8544, allocations: 1.734 MB / 0.5625 GB, free: 102.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8544, allocations: 0 / 0.5625 GB, free: 102.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001983/0.8564, allocations: 0.8053 MB / 0.5633 GB, free: 102.6 MB / 462.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.0004839/0.8568, allocations: 241.3 kB / 0.5635 GB, free: 102.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004686/0.8615, allocations: 3.773 MB / 0.5672 GB, free: 100.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.8615, allocations: 3.656 kB / 0.5672 GB, free: 100.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002968/0.8645, allocations: 2.386 MB / 0.5695 GB, free: 98.13 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002963/0.8675, allocations: 0.8008 MB / 0.5703 GB, free: 97.35 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/0.8782, allocations: 7.847 MB / 0.5779 GB, free: 89.49 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001859/0.88, allocations: 2.778 MB / 0.5807 GB, free: 86.68 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001899/0.8819, allocations: 0.6868 MB / 0.5813 GB, free: 85.99 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005244/0.8824, allocations: 183 kB / 0.5815 GB, free: 85.82 MB / 462.1 MB Notification: Performance of SimCode: time 1.603e-06/0.8824, allocations: 0 / 0.5815 GB, free: 85.82 MB / 462.1 MB Notification: Performance of Templates: time 0.06433/0.9468, allocations: 45.25 MB / 0.6257 GB, free: 41.13 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches