Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001032/0.001032, allocations: 196.6 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 226.6 MB / 244.3 MB, free: 8.293 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007357/0.0007358, allocations: 100.8 kB / 296.4 MB, free: 7.016 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000219/0.000219, allocations: 8 kB / 356.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2292, allocations: 51.29 MB / 407.5 MB, free: 27.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.002737/0.232, allocations: 3.241 MB / 410.7 MB, free: 24.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.2331, allocations: 0.9482 MB / 411.7 MB, free: 23.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001805/0.2333, allocations: 15.94 kB / 411.7 MB, free: 23.65 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.2336, allocations: 116.2 kB / 411.8 MB, free: 23.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005867/0.2342, allocations: 249.7 kB / 412.1 MB, free: 23.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.2344, allocations: 83.86 kB / 412.1 MB, free: 23.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008954/0.2353, allocations: 1.471 MB / 413.6 MB, free: 21.74 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006925/0.236, allocations: 0.8036 MB / 414.4 MB, free: 20.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004517/0.2364, allocations: 478.1 kB / 414.9 MB, free: 20.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004929/0.2369, allocations: 0.6187 MB / 415.5 MB, free: 19.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.321e-05/0.237, allocations: 72 kB / 415.6 MB, free: 19.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.2372, allocations: 72 kB / 415.6 MB, free: 19.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002029/0.2374, allocations: 346.9 kB / 416 MB, free: 19.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.2376, allocations: 273 kB / 416.2 MB, free: 19.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008438/0.2384, allocations: 1.622 MB / 417.9 MB, free: 17.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2384, allocations: 0 / 417.9 MB, free: 17.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2384, allocations: 0 / 417.9 MB, free: 17.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.108e-05/0.2385, allocations: 0 / 417.9 MB, free: 17.45 MB / 298.7 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.001943/0.2404, allocations: 1.481 MB / 419.3 MB, free: 15.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.2405, allocations: 8.031 kB / 419.4 MB, free: 15.9 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003993/0.2409, allocations: 174.3 kB / 419.5 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.2419, allocations: 0.822 MB / 420.3 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.357e-05/0.2419, allocations: 82.22 kB / 420.4 MB, free: 14.78 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.2421, allocations: 115.9 kB / 420.5 MB, free: 14.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/0.244, allocations: 1.54 MB / 422.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.244, allocations: 3.984 kB / 422.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.94e-05/0.2441, allocations: 48 kB / 422.1 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.2441, allocations: 32 kB / 422.2 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/0.2457, allocations: 1.316 MB / 423.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004509/0.2502, allocations: 4.24 MB / 427.7 MB, free: 7.305 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007688/0.251, allocations: 1.321 MB / 429 MB, free: 5.809 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005226/0.2516, allocations: 462.5 kB / 429.5 MB, free: 5.348 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.2516, allocations: 8.438 kB / 429.5 MB, free: 5.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.2516, allocations: 35 kB / 429.5 MB, free: 5.297 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 1.773e-06/0.2516, allocations: 4 kB / 429.5 MB, free: 5.293 MB / 298.7 MB Notification: Performance of matching and sorting (n=51): time 0.002365/0.254, allocations: 1.962 MB / 431.5 MB, free: 3.277 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.254, allocations: 67.77 kB / 431.6 MB, free: 3.195 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006927/0.2547, allocations: 0.8125 MB / 432.4 MB, free: 2.371 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.2548, allocations: 41.7 kB / 432.4 MB, free: 2.324 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/0.255, allocations: 0.5453 MB / 433 MB, free: 1.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.012e-05/0.2551, allocations: 173.5 kB / 433.1 MB, free: 1.598 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-05/0.2551, allocations: 12 kB / 433.1 MB, free: 1.586 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.841e-05/0.2552, allocations: 386.7 kB / 433.5 MB, free: 1.199 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003593/0.2556, allocations: 308.9 kB / 433.8 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003862/0.256, allocations: 407.4 kB / 434.2 MB, free: 480 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/0.2564, allocations: 369.9 kB / 434.6 MB, free: 112 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2564, allocations: 4 kB / 434.6 MB, free: 108 kB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001313/0.2577, allocations: 0.9244 MB / 435.5 MB, free: 15.17 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.2577, allocations: 7.984 kB / 435.5 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.2577, allocations: 4 kB / 435.5 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000264/0.258, allocations: 108.7 kB / 435.6 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004751/0.2585, allocations: 131.9 kB / 435.8 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/0.2606, allocations: 2.17 MB / 437.9 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003084/0.2609, allocations: 28.02 kB / 438 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.376e-05/0.261, allocations: 20.09 kB / 438 MB, free: 12.57 MB / 314.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005417/0.2615, allocations: 461.4 kB / 438.4 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.908e-05/0.2616, allocations: 71.16 kB / 438.5 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001325/0.2618, allocations: 95.08 kB / 438.6 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.2618, allocations: 4 kB / 438.6 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.2618, allocations: 4 kB / 438.6 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.2618, allocations: 7.938 kB / 438.6 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002851/0.2647, allocations: 2.041 MB / 440.6 MB, free: 9.801 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.2647, allocations: 8.062 kB / 440.6 MB, free: 9.793 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003344/0.265, allocations: 87.89 kB / 440.7 MB, free: 9.707 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002243/0.2653, allocations: 100.7 kB / 440.8 MB, free: 9.605 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.357e-05/0.2653, allocations: 16.14 kB / 440.8 MB, free: 9.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/0.2672, allocations: 2.131 MB / 443 MB, free: 7.324 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.2672, allocations: 4.031 kB / 443 MB, free: 7.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.2688, allocations: 1.215 MB / 444.2 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.269, allocations: 156.2 kB / 444.4 MB, free: 5.898 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.266e-05/0.2691, allocations: 15.98 kB / 444.4 MB, free: 5.883 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000377/0.2694, allocations: 56.02 kB / 444.4 MB, free: 5.828 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.162e-05/0.2695, allocations: 40.28 kB / 444.5 MB, free: 5.789 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/0.2696, allocations: 19.98 kB / 444.5 MB, free: 5.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006955/0.2703, allocations: 0.581 MB / 445.1 MB, free: 5.195 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2703, allocations: 0 / 445.1 MB, free: 5.195 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006324/0.2709, allocations: 208 kB / 445.3 MB, free: 4.992 MB / 314.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001508/0.2711, allocations: 115.2 kB / 445.4 MB, free: 4.871 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001242/0.2723, allocations: 0.8243 MB / 446.2 MB, free: 4.031 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2723, allocations: 0 / 446.2 MB, free: 4.031 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006818/0.273, allocations: 0.4897 MB / 446.7 MB, free: 3.531 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008398/0.2739, allocations: 176.7 kB / 446.9 MB, free: 3.355 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003264/0.2772, allocations: 2.634 MB / 449.5 MB, free: 0.668 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008729/0.278, allocations: 1.321 MB / 450.8 MB, free: 15.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.2782, allocations: 47.44 kB / 450.9 MB, free: 15.27 MB / 330.7 MB Notification: Performance of SimCode: time 3e-07/0.2782, allocations: 0 / 450.9 MB, free: 15.27 MB / 330.7 MB Notification: Performance of Templates: time 0.02267/0.3009, allocations: 18.65 MB / 469.5 MB, free: 12.66 MB / 346.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYY --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches