Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001381/0.001381, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001531/0.001531, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 247.1 MB, free: 8.984 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 60.09 kB / 307.1 MB, free: 0.7344 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09122/0.09246, allocations: 50.53 MB / 357.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.004916/0.0974, allocations: 3.8 MB / 361.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.09929, allocations: 1.005 MB / 362.4 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003552/0.09967, allocations: 23.88 kB / 362.5 MB, free: 9.344 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003532/0.1001, allocations: 119.2 kB / 362.6 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008228/0.1009, allocations: 266.7 kB / 362.8 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.1012, allocations: 115.9 kB / 363 MB, free: 8.852 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001339/0.1025, allocations: 1.405 MB / 364.4 MB, free: 7.441 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/0.1038, allocations: 1.185 MB / 365.5 MB, free: 6.215 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008065/0.1046, allocations: 0.6347 MB / 366.2 MB, free: 5.578 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009775/0.1056, allocations: 0.7745 MB / 367 MB, free: 4.801 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002659/0.1059, allocations: 156 kB / 367.1 MB, free: 4.648 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000326/0.1062, allocations: 160 kB / 367.3 MB, free: 4.492 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003924/0.1066, allocations: 462.7 kB / 367.7 MB, free: 4.039 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008286/0.1075, allocations: 0.7272 MB / 368.4 MB, free: 3.309 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.1088, allocations: 1.68 MB / 370.1 MB, free: 1.625 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1088, allocations: 8 kB / 370.1 MB, free: 1.617 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1088, allocations: 3.938 kB / 370.1 MB, free: 1.613 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.452e-05/0.1089, allocations: 0 / 370.1 MB, free: 1.613 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.1644/0.2732, allocations: 1.671 MB / 371.8 MB, free: 19.49 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.2733, allocations: 8.656 kB / 371.8 MB, free: 19.49 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007128/0.274, allocations: 168.8 kB / 372 MB, free: 19.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.2754, allocations: 0.8684 MB / 372.8 MB, free: 19.1 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.978e-05/0.2755, allocations: 82.03 kB / 372.9 MB, free: 19.1 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.2757, allocations: 110.5 kB / 373 MB, free: 19.1 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002538/0.2782, allocations: 1.553 MB / 374.6 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.2783, allocations: 1.125 kB / 374.6 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.2784, allocations: 46.11 kB / 374.6 MB, free: 18.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/0.2784, allocations: 27 kB / 374.7 MB, free: 18.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001999/0.2804, allocations: 1.318 MB / 376 MB, free: 18.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006022/0.2864, allocations: 4.205 MB / 380.2 MB, free: 16.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009872/0.2875, allocations: 1.324 MB / 381.5 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006715/0.2881, allocations: 458.2 kB / 382 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.2882, allocations: 4.875 kB / 382 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.2882, allocations: 42.39 kB / 382 MB, free: 14.72 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 3.106e-06/0.2882, allocations: 0 / 382 MB, free: 14.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.003182/0.2914, allocations: 1.948 MB / 383.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.2915, allocations: 58 kB / 384 MB, free: 13.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009901/0.2925, allocations: 0.8284 MB / 384.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.651e-05/0.2925, allocations: 36.23 kB / 384.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002821/0.2928, allocations: 0.5388 MB / 385.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.2929, allocations: 182.1 kB / 385.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.2931, allocations: 103.4 kB / 385.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.2932, allocations: 386.7 kB / 386.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004655/0.2937, allocations: 301.3 kB / 386.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000482/0.2942, allocations: 404.8 kB / 386.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008514/0.295, allocations: 0.7001 MB / 387.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.295, allocations: 1.094 kB / 387.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001365/0.2964, allocations: 0.9197 MB / 388.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.2964, allocations: 5.812 kB / 388.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.2965, allocations: 2.719 kB / 388.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003042/0.2968, allocations: 117.1 kB / 388.5 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/0.2973, allocations: 119.4 kB / 388.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/0.2992, allocations: 2.369 MB / 391 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004698/0.2996, allocations: 27.06 kB / 391 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.386e-05/0.2997, allocations: 22.5 kB / 391 MB, free: 9.109 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006367/0.3003, allocations: 462.3 kB / 391.5 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.3005, allocations: 72.38 kB / 391.6 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/0.3006, allocations: 98.3 kB / 391.6 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.3006, allocations: 4.375 kB / 391.7 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.3006, allocations: 2.125 kB / 391.7 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3007, allocations: 3.984 kB / 391.7 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002993/0.3037, allocations: 2.038 MB / 393.7 MB, free: 7.371 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.3037, allocations: 1.375 kB / 393.7 MB, free: 7.371 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003345/0.304, allocations: 81.89 kB / 393.8 MB, free: 7.355 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002242/0.3043, allocations: 108.8 kB / 393.9 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.342e-05/0.3043, allocations: 18.58 kB / 393.9 MB, free: 7.285 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/0.3061, allocations: 2.322 MB / 396.2 MB, free: 5.219 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3061, allocations: 1.688 kB / 396.2 MB, free: 5.219 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/0.3077, allocations: 1.203 MB / 397.4 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002058/0.3079, allocations: 163.7 kB / 397.6 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.747e-05/0.308, allocations: 13.19 kB / 397.6 MB, free: 4.332 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004078/0.3084, allocations: 47.61 kB / 397.6 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.3086, allocations: 44.94 kB / 397.7 MB, free: 4.285 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/0.3086, allocations: 19.48 kB / 397.7 MB, free: 4.277 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000774/0.3094, allocations: 0.5887 MB / 398.3 MB, free: 3.949 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3094, allocations: 0 / 398.3 MB, free: 3.949 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008631/0.3103, allocations: 217.8 kB / 398.5 MB, free: 3.926 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001505/0.3104, allocations: 114.9 kB / 398.6 MB, free: 3.824 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001424/0.3118, allocations: 0.9407 MB / 399.6 MB, free: 3.352 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3119, allocations: 0 / 399.6 MB, free: 3.352 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005741/0.3124, allocations: 493.4 kB / 400 MB, free: 2.898 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008105/0.3133, allocations: 168.9 kB / 400.2 MB, free: 2.738 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002986/0.3163, allocations: 2.714 MB / 402.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009293/0.3172, allocations: 1.316 MB / 404.2 MB, free: 14.63 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/0.3174, allocations: 51.42 kB / 404.3 MB, free: 14.58 MB / 318.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3174, allocations: 0 / 404.3 MB, free: 14.58 MB / 318.1 MB Notification: Performance of Templates: time 0.02631/0.3437, allocations: 18.9 MB / 423.2 MB, free: 11.73 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches