Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 97.95 kB / 17.73 MB, free: 5.238 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.001285/0.001285, allocations: 193.5 kB / 18.66 MB, free: 4.312 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.318/1.318, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001034, allocations: 51.92 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2469, allocations: 49.42 MB / 401.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005002/0.2519, allocations: 3.772 MB / 405.2 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.254, allocations: 0.9463 MB / 406.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005031/0.2546, allocations: 19.94 kB / 406.1 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000403/0.255, allocations: 146.8 kB / 406.3 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.256, allocations: 286.4 kB / 406.6 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.2564, allocations: 123.8 kB / 406.7 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001486/0.2579, allocations: 1.389 MB / 408.1 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.2592, allocations: 1.17 MB / 409.2 MB, free: 1.012 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000795/0.2601, allocations: 0.6347 MB / 409.9 MB, free: 384 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.2612, allocations: 0.759 MB / 410.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000318/0.2615, allocations: 156 kB / 410.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003781/0.2619, allocations: 156 kB / 410.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004669/0.2624, allocations: 462.6 kB / 411.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001098/0.2635, allocations: 0.7272 MB / 412.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001865/0.2654, allocations: 2.034 MB / 414.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2654, allocations: 0 / 414.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.2654, allocations: 0 / 414.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.308e-05/0.2655, allocations: 0 / 414.1 MB, free: 12.09 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003133/0.2686, allocations: 1.664 MB / 415.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.2687, allocations: 12.03 kB / 415.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002203/0.2689, allocations: 143.2 kB / 416 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.2701, allocations: 0.8696 MB / 416.8 MB, free: 9.305 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.635e-05/0.2702, allocations: 90.34 kB / 416.9 MB, free: 9.215 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.2703, allocations: 108 kB / 417 MB, free: 9.109 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002201/0.2725, allocations: 1.541 MB / 418.6 MB, free: 7.523 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.2726, allocations: 3.938 kB / 418.6 MB, free: 7.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.2727, allocations: 51.98 kB / 418.6 MB, free: 7.469 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.2727, allocations: 28 kB / 418.6 MB, free: 7.441 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/0.2746, allocations: 1.308 MB / 420 MB, free: 6.125 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005822/0.2805, allocations: 4.17 MB / 424.1 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.2815, allocations: 1.323 MB / 425.4 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006326/0.2822, allocations: 459.4 kB / 425.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.2822, allocations: 8.438 kB / 425.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.2823, allocations: 39 kB / 425.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 2.325e-06/0.2823, allocations: 0 / 425.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.00303/0.2853, allocations: 1.942 MB / 427.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.2854, allocations: 59.84 kB / 427.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009502/0.2863, allocations: 0.8165 MB / 428.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.915e-05/0.2864, allocations: 37.64 kB / 428.8 MB, free: 12.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003365/0.2867, allocations: 0.5452 MB / 429.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.2868, allocations: 173.5 kB / 429.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/0.287, allocations: 106.2 kB / 429.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.2872, allocations: 382.8 kB / 430 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004285/0.2876, allocations: 304.9 kB / 430.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004881/0.2881, allocations: 403.3 kB / 430.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008831/0.289, allocations: 0.7028 MB / 431.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.289, allocations: 0 / 431.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001312/0.2903, allocations: 0.9124 MB / 432.3 MB, free: 9.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.2903, allocations: 4 kB / 432.3 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.2904, allocations: 4 kB / 432.3 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002717/0.2906, allocations: 113.1 kB / 432.4 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005042/0.2912, allocations: 127.8 kB / 432.5 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/0.2933, allocations: 2.364 MB / 434.9 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003807/0.2937, allocations: 35.94 kB / 434.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.2937, allocations: 16 kB / 435 MB, free: 6.465 MB / 350.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.0006114/0.2943, allocations: 461.5 kB / 435.4 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.2944, allocations: 71.16 kB / 435.5 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/0.2946, allocations: 91.08 kB / 435.6 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.2946, allocations: 15.92 kB / 435.6 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.2946, allocations: 0 / 435.6 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.2946, allocations: 4.125 kB / 435.6 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002822/0.2974, allocations: 2.017 MB / 437.6 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2975, allocations: 3.938 kB / 437.6 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003386/0.2978, allocations: 83.89 kB / 437.7 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002215/0.298, allocations: 100.8 kB / 437.8 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.248e-05/0.2981, allocations: 20.14 kB / 437.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/0.3, allocations: 2.322 MB / 440.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3, allocations: 4.031 kB / 440.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/0.3015, allocations: 1.196 MB / 441.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001827/0.3017, allocations: 164.3 kB / 441.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.344e-05/0.3018, allocations: 16.06 kB / 441.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003752/0.3022, allocations: 43.95 kB / 441.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.331e-05/0.3023, allocations: 52.3 kB / 441.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/0.3024, allocations: 16 kB / 441.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006812/0.303, allocations: 0.5849 MB / 442.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.453e-06/0.3031, allocations: 0 / 442.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007171/0.3038, allocations: 211.9 kB / 442.4 MB, free: 14.73 MB / 366.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.0001551/0.3039, allocations: 119.1 kB / 442.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001233/0.3052, allocations: 0.8165 MB / 443.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.778e-06/0.3052, allocations: 4 kB / 443.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006733/0.3059, allocations: 492.8 kB / 443.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008449/0.3067, allocations: 183.6 kB / 444 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00313/0.3099, allocations: 2.189 MB / 446.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008111/0.3107, allocations: 1.305 MB / 447.5 MB, free: 9.523 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.3109, allocations: 59.42 kB / 447.6 MB, free: 9.465 MB / 366.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3109, allocations: 0 / 447.6 MB, free: 9.465 MB / 366.1 MB Notification: Performance of Templates: time 0.02211/0.333, allocations: 18.97 MB / 466.5 MB, free: 6.543 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches