Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 95.61 kB / 17.3 MB, free: 6.391 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.001432/0.001433, allocations: 175.6 kB / 18.21 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007677/0.0007677, allocations: 8 kB / 281.4 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1233, allocations: 47.58 MB / 329 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.005453/0.1288, allocations: 3.36 MB / 332.3 MB, free: 388 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00354/0.1324, allocations: 1.045 MB / 333.4 MB, free: 15.33 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007845/0.1332, allocations: 11.94 kB / 333.4 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000696/0.134, allocations: 123.2 kB / 333.5 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001838/0.1358, allocations: 266.7 kB / 333.8 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005396/0.1364, allocations: 115.9 kB / 333.9 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002827/0.1393, allocations: 1.693 MB / 335.6 MB, free: 13.12 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001759/0.141, allocations: 0.9519 MB / 336.5 MB, free: 12.13 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.1424, allocations: 494 kB / 337 MB, free: 11.65 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001627/0.144, allocations: 0.6534 MB / 337.7 MB, free: 10.99 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001943/0.1443, allocations: 76 kB / 337.7 MB, free: 10.92 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002574/0.1445, allocations: 80 kB / 337.8 MB, free: 10.84 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004785/0.145, allocations: 366.7 kB / 338.2 MB, free: 10.48 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001098/0.1461, allocations: 0.6508 MB / 338.8 MB, free: 9.82 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002432/0.1486, allocations: 1.927 MB / 340.7 MB, free: 7.887 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.1486, allocations: 0 / 340.7 MB, free: 7.887 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.998e-06/0.1486, allocations: 0 / 340.7 MB, free: 7.887 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.195e-05/0.1487, allocations: 0 / 340.7 MB, free: 7.887 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.004391/0.1531, allocations: 1.473 MB / 342.2 MB, free: 6.359 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.293e-05/0.1532, allocations: 8.031 kB / 342.2 MB, free: 6.352 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000457/0.1537, allocations: 139.3 kB / 342.4 MB, free: 6.215 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001848/0.1555, allocations: 0.8228 MB / 343.2 MB, free: 5.352 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-05/0.1556, allocations: 82.62 kB / 343.3 MB, free: 5.27 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000243/0.1559, allocations: 119.9 kB / 343.4 MB, free: 5.152 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00409/0.16, allocations: 1.564 MB / 344.9 MB, free: 3.543 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/0.1601, allocations: 4 kB / 344.9 MB, free: 3.539 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000177/0.1602, allocations: 51.94 kB / 345 MB, free: 3.488 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.911e-05/0.1603, allocations: 28 kB / 345 MB, free: 3.461 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003532/0.1638, allocations: 1.344 MB / 346.4 MB, free: 2.109 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01048/0.1743, allocations: 4.361 MB / 350.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001869/0.1763, allocations: 1.345 MB / 352.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001266/0.1776, allocations: 0.5378 MB / 352.6 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.719e-05/0.1776, allocations: 8.438 kB / 352.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.312e-05/0.1777, allocations: 39 kB / 352.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 5.139e-06/0.1777, allocations: 3.938 kB / 352.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.002482/0.1802, allocations: 0.8886 MB / 353.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.212e-05/0.1803, allocations: 59.84 kB / 353.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001864/0.1822, allocations: 0.8242 MB / 354.4 MB, free: 9.699 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.478e-05/0.1823, allocations: 37.7 kB / 354.5 MB, free: 9.656 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007501/0.183, allocations: 0.5415 MB / 355 MB, free: 9.105 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003083/0.1834, allocations: 177.5 kB / 355.2 MB, free: 8.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.1835, allocations: 53.69 kB / 355.2 MB, free: 8.871 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0003044/0.1838, allocations: 390.7 kB / 355.6 MB, free: 8.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007527/0.1846, allocations: 304.9 kB / 355.9 MB, free: 8.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008138/0.1854, allocations: 406.5 kB / 356.3 MB, free: 7.754 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001584/0.187, allocations: 0.702 MB / 357 MB, free: 7.023 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.1871, allocations: 0 / 357 MB, free: 7.023 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002284/0.1894, allocations: 0.8337 MB / 357.8 MB, free: 6.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.536e-05/0.1894, allocations: 4 kB / 357.9 MB, free: 6.176 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/0.1895, allocations: 4 kB / 357.9 MB, free: 6.172 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.872e-05/0.1895, allocations: 4 kB / 357.9 MB, free: 6.168 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009696/0.1905, allocations: 156.1 kB / 358 MB, free: 6.016 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.316e-05/0.1905, allocations: 4 kB / 358 MB, free: 6.012 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007876/0.1913, allocations: 79.28 kB / 358.1 MB, free: 5.934 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.643e-05/0.1914, allocations: 19.98 kB / 358.1 MB, free: 5.914 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00148/0.1929, allocations: 457.5 kB / 358.6 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002996/0.1932, allocations: 75.16 kB / 358.6 MB, free: 5.383 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003208/0.1935, allocations: 95.06 kB / 358.7 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.1936, allocations: 7.938 kB / 358.7 MB, free: 5.277 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.551e-05/0.1936, allocations: 0 / 358.7 MB, free: 5.277 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.1936, allocations: 3.938 kB / 358.7 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005366/0.199, allocations: 1.97 MB / 360.7 MB, free: 3.227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/0.1991, allocations: 0 / 360.7 MB, free: 3.227 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007891/0.1999, allocations: 123.8 kB / 360.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.638e-05/0.1999, allocations: 8.156 kB / 360.8 MB, free: 3.098 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.025e-05/0.2, allocations: 15.98 kB / 360.9 MB, free: 3.082 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.366e-05/0.2, allocations: 4 kB / 360.9 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.104e-05/0.2, allocations: 7.938 kB / 360.9 MB, free: 3.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003058/0.2031, allocations: 1.141 MB / 362 MB, free: 1.902 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004992/0.2036, allocations: 176.1 kB / 362.2 MB, free: 1.711 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.2038, allocations: 12 kB / 362.2 MB, free: 1.699 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006327/0.2044, allocations: 51.95 kB / 362.2 MB, free: 1.648 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.2046, allocations: 44.31 kB / 362.3 MB, free: 1.605 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-05/0.2047, allocations: 16 kB / 362.3 MB, free: 1.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00122/0.2059, allocations: 0.5927 MB / 362.9 MB, free: 1.004 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.2059, allocations: 0 / 362.9 MB, free: 1.004 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001396/0.2073, allocations: 278.8 kB / 363.2 MB, free: 0.7305 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003089/0.2077, allocations: 123.4 kB / 363.3 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001683/0.2094, allocations: 0.6536 MB / 363.9 MB, free: 15.94 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.2094, allocations: 0 / 363.9 MB, free: 15.94 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007061/0.2101, allocations: 335.1 kB / 364.3 MB, free: 15.62 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/0.2117, allocations: 170.8 kB / 364.4 MB, free: 15.45 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006716/0.2184, allocations: 2.847 MB / 367.3 MB, free: 12.55 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001555/0.2201, allocations: 1.336 MB / 368.6 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009837/0.2211, allocations: 209.8 kB / 368.8 MB, free: 10.98 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002588/0.2214, allocations: 51.44 kB / 368.9 MB, free: 10.93 MB / 318.1 MB Notification: Performance of SimCode: time 2.014e-06/0.2214, allocations: 0 / 368.9 MB, free: 10.93 MB / 318.1 MB Notification: Performance of Templates: time 0.02941/0.2508, allocations: 9.4 MB / 378.3 MB, free: 1.531 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYD/TransformerYD.csv","../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches