Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.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.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008254/0.0008255, allocations: 94.44 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001027/0.001027, allocations: 206.3 kB / 18.94 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.7 MB / 247.5 MB, free: 11.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002317/0.0002313, allocations: 4 kB / 308.4 MB, free: 0.8398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.108, allocations: 51.53 MB / 359.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01326/0.1213, allocations: 12.2 MB / 372.1 MB, free: 1.059 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2086/0.33, allocations: 4.166 MB / 376.3 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003235/0.3332, allocations: 71.47 kB / 376.4 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003452/0.3367, allocations: 0.8507 MB / 377.2 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004889/0.3416, allocations: 1.083 MB / 378.3 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001847/0.3435, allocations: 477.8 kB / 378.8 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007744/0.3513, allocations: 5.325 MB / 384.1 MB, free: 7.574 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005547/0.3568, allocations: 3.028 MB / 387.1 MB, free: 6.324 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004703/0.3615, allocations: 1.603 MB / 388.7 MB, free: 5.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004425/0.366, allocations: 2.179 MB / 390.9 MB, free: 4.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001553/0.3676, allocations: 241.7 kB / 391.1 MB, free: 4.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002788/0.3704, allocations: 355.1 kB / 391.5 MB, free: 4.793 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002511/0.3729, allocations: 1.142 MB / 392.6 MB, free: 4.215 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006302/0.3792, allocations: 2.086 MB / 394.7 MB, free: 2.793 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007862/0.3871, allocations: 6.018 MB / 400.7 MB, free: 14.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3871, allocations: 0 / 400.7 MB, free: 14.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.957e-06/0.3872, allocations: 0 / 400.7 MB, free: 14.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004082/0.3876, allocations: 3 kB / 400.7 MB, free: 14.43 MB / 318.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.01331/0.4009, allocations: 3.971 MB / 404.7 MB, free: 11.56 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.401, allocations: 8.031 kB / 404.7 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003182/0.4042, allocations: 0.5384 MB / 405.2 MB, free: 11.01 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006284/0.4105, allocations: 2.508 MB / 407.7 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003461/0.4109, allocations: 274.2 kB / 408 MB, free: 8.199 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0015/0.4124, allocations: 361.4 kB / 408.4 MB, free: 7.852 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01478/0.4272, allocations: 5.04 MB / 413.4 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001713/0.4274, allocations: 4 kB / 413.4 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00103/0.4284, allocations: 142.6 kB / 413.5 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002358/0.4287, allocations: 183 kB / 413.7 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009411/0.4381, allocations: 4.326 MB / 418.1 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02933/0.4675, allocations: 14.99 MB / 433 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00545/0.473, allocations: 4.2 MB / 437.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003653/0.4766, allocations: 2.009 MB / 439.3 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003549/0.477, allocations: 138.4 kB / 439.4 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.546e-05/0.4771, allocations: 60.5 kB / 439.4 MB, free: 8.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 3.787e-06/0.4771, allocations: 0 / 439.4 MB, free: 8.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.02219/0.4993, allocations: 10.07 MB / 449.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.4994, allocations: 77.41 kB / 449.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00495/0.5044, allocations: 2.514 MB / 452.1 MB, free: 11.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003134/0.5047, allocations: 61.7 kB / 452.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00134/0.5061, allocations: 1.633 MB / 453.8 MB, free: 9.676 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008811/0.5069, allocations: 0.7276 MB / 454.5 MB, free: 8.953 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004581/0.5074, allocations: 194.3 kB / 454.7 MB, free: 8.758 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.5076, allocations: 301.1 kB / 455 MB, free: 8.461 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002376/0.51, allocations: 1.312 MB / 456.3 MB, free: 7.145 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002689/0.5127, allocations: 1.79 MB / 458.1 MB, free: 5.164 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005087/0.5178, allocations: 3.239 MB / 461.4 MB, free: 1.742 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.511e-05/0.5178, allocations: 4 kB / 461.4 MB, free: 1.738 MB / 366.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008122/0.5259, allocations: 4.099 MB / 465.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.12e-05/0.526, allocations: 12 kB / 465.5 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.954e-05/0.526, allocations: 12 kB / 465.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003114/0.5292, allocations: 0.8884 MB / 466.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00244/0.5316, allocations: 0.5305 MB / 466.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/0.5421, allocations: 8.754 MB / 475.6 MB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002814/0.545, allocations: 131.8 kB / 475.8 MB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004587/0.5455, allocations: 80 kB / 475.9 MB, free: 2.805 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.002983/0.5485, allocations: 1.219 MB / 477.1 MB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009111/0.5494, allocations: 284.6 kB / 477.4 MB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007443/0.5568, allocations: 3.742 MB / 481.1 MB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-05/0.5569, allocations: 20 kB / 481.1 MB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.33e-05/0.557, allocations: 8 kB / 481.1 MB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.527e-05/0.557, allocations: 11.91 kB / 481.1 MB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0173/0.5743, allocations: 8.113 MB / 489.2 MB, free: 5.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.997e-05/0.5744, allocations: 8 kB / 489.3 MB, free: 5.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001782/0.5762, allocations: 383.8 kB / 489.6 MB, free: 4.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003425/0.5796, allocations: 0.9397 MB / 490.6 MB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002322/0.5799, allocations: 55.98 kB / 490.6 MB, free: 3.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01131/0.5912, allocations: 10.23 MB / 0.4891 GB, free: 9.145 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.5913, allocations: 8 kB / 0.4891 GB, free: 9.137 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009728/0.601, allocations: 5.537 MB / 0.4945 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001746/0.6028, allocations: 0.642 MB / 0.4952 GB, free: 2.871 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007465/0.6036, allocations: 48 kB / 0.4952 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001843/0.6054, allocations: 127.9 kB / 0.4953 GB, free: 2.699 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004886/0.6059, allocations: 181.7 kB / 0.4955 GB, free: 2.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002051/0.6062, allocations: 59.98 kB / 0.4956 GB, free: 2.461 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003825/0.61, allocations: 1.739 MB / 0.4973 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.61, allocations: 4 kB / 0.4973 GB, free: 0.707 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003686/0.6137, allocations: 0.7969 MB / 0.498 GB, free: 15.91 MB / 430.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.0007039/0.6145, allocations: 234.3 kB / 0.4983 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006855/0.6213, allocations: 3.908 MB / 0.5021 GB, free: 11.69 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.6214, allocations: 0 / 0.5021 GB, free: 11.69 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004301/0.6257, allocations: 2.498 MB / 0.5045 GB, free: 9.125 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006065/0.6318, allocations: 0.7431 MB / 0.5052 GB, free: 8.391 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01721/0.649, allocations: 9.525 MB / 0.5145 GB, free: 14.81 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003485/0.6525, allocations: 2.735 MB / 0.5172 GB, free: 12.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/0.6536, allocations: 191.4 kB / 0.5174 GB, free: 11.86 MB / 446.1 MB Notification: Performance of SimCode: time 9.21e-07/0.6536, allocations: 0 / 0.5174 GB, free: 11.86 MB / 446.1 MB Notification: Performance of Templates: time 0.3413/0.9949, allocations: 141.6 MB / 0.6556 GB, free: 27.76 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches