Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003002/0.003009, allocations: 188.2 kB / 16.4 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.827/3.827, allocations: 205.4 MB / 222.5 MB, free: 13.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00174/0.001741, allocations: 98.8 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007385/0.0007392, allocations: 8 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1575, allocations: 47.58 MB / 374.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.007486/0.1651, allocations: 3.024 MB / 377.6 MB, free: 12.38 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004216/0.1694, allocations: 1.034 MB / 378.6 MB, free: 11.34 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008083/0.1703, allocations: 19.81 kB / 378.6 MB, free: 11.32 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009148/0.1712, allocations: 123.3 kB / 378.7 MB, free: 11.2 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001934/0.1732, allocations: 223.3 kB / 379 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007271/0.174, allocations: 95.83 kB / 379 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00295/0.177, allocations: 0.8888 MB / 379.9 MB, free: 10 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002391/0.1795, allocations: 0.7625 MB / 380.7 MB, free: 9.219 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.1811, allocations: 450.5 kB / 381.1 MB, free: 8.777 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002105/0.1833, allocations: 0.5486 MB / 381.7 MB, free: 8.227 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00056/0.1839, allocations: 80 kB / 381.8 MB, free: 8.148 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006087/0.1846, allocations: 79.94 kB / 381.8 MB, free: 8.07 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007385/0.1853, allocations: 339 kB / 382.2 MB, free: 7.738 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008237/0.1862, allocations: 269.1 kB / 382.4 MB, free: 7.469 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004009/0.1902, allocations: 1.64 MB / 384.1 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1903, allocations: 0 / 384.1 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.928e-06/0.1903, allocations: 0 / 384.1 MB, free: 5.824 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.723e-05/0.1904, allocations: 0 / 384.1 MB, free: 5.824 MB / 282.7 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.006937/0.1974, allocations: 1.485 MB / 385.6 MB, free: 4.285 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.321e-05/0.1975, allocations: 12.03 kB / 385.6 MB, free: 4.273 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009851/0.1985, allocations: 142.4 kB / 385.7 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003506/0.2021, allocations: 0.7986 MB / 386.5 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002043/0.2023, allocations: 82.25 kB / 386.6 MB, free: 3.211 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000865/0.2032, allocations: 116 kB / 386.7 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007659/0.2109, allocations: 1.557 MB / 388.3 MB, free: 1.496 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-05/0.2111, allocations: 0 / 388.3 MB, free: 1.496 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003689/0.2114, allocations: 44 kB / 388.3 MB, free: 1.453 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.562e-05/0.2115, allocations: 28 kB / 388.3 MB, free: 1.426 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006606/0.2181, allocations: 1.332 MB / 389.7 MB, free: 88 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4076/0.6258, allocations: 4.354 MB / 394 MB, free: 18.18 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003338/0.6292, allocations: 1.34 MB / 395.4 MB, free: 17.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.6294, allocations: 5.531 kB / 395.4 MB, free: 17.07 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.124e-05/0.6295, allocations: 46.05 kB / 395.4 MB, free: 17.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=51): time 6.513e-06/0.6295, allocations: 1.438 kB / 395.4 MB, free: 17.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=51): time 0.004722/0.6343, allocations: 0.903 MB / 396.3 MB, free: 16.7 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/0.6344, allocations: 57.75 kB / 396.4 MB, free: 16.64 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003278/0.6377, allocations: 0.8167 MB / 397.2 MB, free: 16.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002066/0.638, allocations: 36.33 kB / 397.2 MB, free: 16.28 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007557/0.6388, allocations: 0.5561 MB / 397.8 MB, free: 15.82 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004294/0.6393, allocations: 177.7 kB / 397.9 MB, free: 15.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.229e-05/0.6394, allocations: 14.16 kB / 398 MB, free: 15.67 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.6396, allocations: 337.1 kB / 398.3 MB, free: 15.34 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/0.6412, allocations: 316.3 kB / 398.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/0.643, allocations: 405.4 kB / 399 MB, free: 15.05 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001901/0.645, allocations: 375.3 kB / 399.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-05/0.6451, allocations: 1.703 kB / 399.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004026/0.6492, allocations: 0.7893 MB / 400.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.092e-05/0.6493, allocations: 6.562 kB / 400.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.6493, allocations: 5.109 kB / 400.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.401e-05/0.6494, allocations: 6.031 kB / 400.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002072/0.6515, allocations: 157.8 kB / 400.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.194e-05/0.6516, allocations: 4.672 kB / 400.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.6531, allocations: 68.19 kB / 400.4 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002095/0.6534, allocations: 19.38 kB / 400.4 MB, free: 14.57 MB / 282.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002072/0.6555, allocations: 462.1 kB / 400.9 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004675/0.656, allocations: 73.97 kB / 400.9 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004457/0.6564, allocations: 94.05 kB / 401 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/0.6565, allocations: 9.281 kB / 401 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.969e-05/0.6565, allocations: 0 / 401 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.807e-05/0.6566, allocations: 2.672 kB / 401 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009624/0.6662, allocations: 1.969 MB / 403 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.017e-05/0.6663, allocations: 5.781 kB / 403 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001755/0.6681, allocations: 120.3 kB / 403.1 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.576e-05/0.6682, allocations: 2.812 kB / 403.1 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001482/0.6683, allocations: 15.56 kB / 403.2 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.146e-05/0.6684, allocations: 6.562 kB / 403.2 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.6684, allocations: 2.156 kB / 403.2 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004743/0.6732, allocations: 1.179 MB / 404.3 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006247/0.6739, allocations: 165.5 kB / 404.5 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003376/0.6742, allocations: 16.61 kB / 404.5 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/0.6757, allocations: 52.55 kB / 404.6 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002806/0.676, allocations: 41.94 kB / 404.6 MB, free: 12.44 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-05/0.6761, allocations: 13.88 kB / 404.6 MB, free: 12.43 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.002226/0.6784, allocations: 0.5862 MB / 405.2 MB, free: 12.1 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.274e-06/0.6785, allocations: 5.094 kB / 405.2 MB, free: 12.1 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0022/0.6807, allocations: 288.9 kB / 405.5 MB, free: 12.02 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (51): * Single equations (assignments): 51 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004396/0.6812, allocations: 112.2 kB / 405.6 MB, free: 11.91 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003203/0.6844, allocations: 0.6697 MB / 406.3 MB, free: 11.6 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.417e-05/0.6845, allocations: 0 / 406.3 MB, free: 11.6 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001495/0.686, allocations: 326.8 kB / 406.6 MB, free: 11.45 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002614/0.6887, allocations: 166.5 kB / 406.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/0.6989, allocations: 2.742 MB / 409.5 MB, free: 9.551 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002033/0.701, allocations: 1.334 MB / 410.8 MB, free: 8.516 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006513/0.7017, allocations: 58.62 kB / 410.9 MB, free: 8.504 MB / 282.7 MB Notification: Performance of SimCode: time 2.565e-06/0.7018, allocations: 3.938 kB / 410.9 MB, free: 8.5 MB / 282.7 MB Notification: Performance of Templates: time 0.04554/0.7473, allocations: 12.99 MB / 423.9 MB, free: 13.02 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches