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.001674/0.001674, allocations: 113.2 kB / 17.73 MB, free: 5.34 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.001722/0.001722, allocations: 184.2 kB / 18.66 MB, free: 4.414 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.579/1.579, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001761/0.001761, allocations: 51.94 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1421, allocations: 46.62 MB / 375.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.007064/0.1492, allocations: 3.739 MB / 378.9 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2844/0.4337, allocations: 1.05 MB / 379.9 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007165/0.4344, allocations: 18.81 kB / 379.9 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005021/0.4351, allocations: 155.4 kB / 380.1 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001536/0.4366, allocations: 301 kB / 380.4 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005032/0.4371, allocations: 132.2 kB / 380.5 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002249/0.4394, allocations: 1.451 MB / 382 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002033/0.4414, allocations: 1.15 MB / 383.1 MB, free: 9.234 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001393/0.4428, allocations: 0.6328 MB / 383.7 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.4443, allocations: 0.7723 MB / 384.5 MB, free: 8.836 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002944/0.4446, allocations: 159.7 kB / 384.7 MB, free: 8.836 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003495/0.4449, allocations: 158.8 kB / 384.8 MB, free: 8.836 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005152/0.4454, allocations: 466.7 kB / 385.3 MB, free: 8.594 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001008/0.4465, allocations: 0.7448 MB / 386 MB, free: 8.125 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002792/0.4493, allocations: 2.054 MB / 388.1 MB, free: 7.441 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.4493, allocations: 1.375 kB / 388.1 MB, free: 7.441 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4493, allocations: 0 / 388.1 MB, free: 7.441 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.741e-05/0.4493, allocations: 1.031 kB / 388.1 MB, free: 7.441 MB / 318.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.003503/0.4529, allocations: 1.684 MB / 389.8 MB, free: 6.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.4529, allocations: 9.562 kB / 389.8 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000283/0.4532, allocations: 145.7 kB / 389.9 MB, free: 6.355 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.4546, allocations: 0.831 MB / 390.8 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.142e-05/0.4547, allocations: 84.62 kB / 390.8 MB, free: 5.812 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/0.4549, allocations: 113.5 kB / 390.9 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003843/0.4588, allocations: 1.566 MB / 392.5 MB, free: 5.148 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.522e-05/0.4588, allocations: 4 kB / 392.5 MB, free: 5.145 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/0.459, allocations: 47.12 kB / 392.6 MB, free: 5.109 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.696e-05/0.459, allocations: 26.25 kB / 392.6 MB, free: 5.109 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003489/0.4625, allocations: 1.331 MB / 393.9 MB, free: 4.652 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009134/0.4717, allocations: 4.275 MB / 398.2 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.473, allocations: 1.327 MB / 399.5 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/0.4741, allocations: 0.5195 MB / 400 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.097e-05/0.4741, allocations: 10.38 kB / 400.1 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/0.4742, allocations: 37.31 kB / 400.1 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of pre-optimization done (n=51): time 3.246e-06/0.4742, allocations: 1.125 kB / 400.1 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of matching and sorting (n=51): time 0.001819/0.476, allocations: 0.871 MB / 401 MB, free: 472 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.4761, allocations: 58.16 kB / 401 MB, free: 408 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/0.4775, allocations: 0.8277 MB / 401.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.135e-05/0.4775, allocations: 32.11 kB / 401.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004802/0.478, allocations: 0.5453 MB / 402.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/0.4782, allocations: 178.6 kB / 402.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/0.4784, allocations: 102.8 kB / 402.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002403/0.4786, allocations: 391.6 kB / 403.1 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000595/0.4792, allocations: 304.5 kB / 403.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007911/0.4801, allocations: 399.4 kB / 403.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.4814, allocations: 0.687 MB / 404.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.4814, allocations: 0.9688 kB / 404.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001911/0.4834, allocations: 0.816 MB / 405.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/0.4834, allocations: 7.031 kB / 405.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/0.4834, allocations: 10.36 kB / 405.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.247e-05/0.4835, allocations: 4.812 kB / 405.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007784/0.4843, allocations: 155.3 kB / 405.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.437e-05/0.4843, allocations: 9.469 kB / 405.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006538/0.485, allocations: 59.16 kB / 405.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.729e-05/0.485, allocations: 26.19 kB / 405.5 MB, free: 13.49 MB / 334.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.001332/0.4864, allocations: 461.1 kB / 406 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/0.4866, allocations: 75.44 kB / 406.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002786/0.4869, allocations: 93.27 kB / 406.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.4869, allocations: 5.562 kB / 406.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.399e-05/0.4869, allocations: 0 / 406.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.487, allocations: 3.984 kB / 406.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003766/0.4907, allocations: 1.936 MB / 408.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.4908, allocations: 5.719 kB / 408.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005098/0.4913, allocations: 116.2 kB / 408.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.846e-06/0.4913, allocations: 4.719 kB / 408.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.09e-05/0.4913, allocations: 16.2 kB / 408.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.4914, allocations: 2.938 kB / 408.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.4914, allocations: 2.219 kB / 408.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.4931, allocations: 1.128 MB / 409.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002967/0.4934, allocations: 169.9 kB / 409.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.4936, allocations: 13.44 kB / 409.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000475/0.4941, allocations: 51.02 kB / 409.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.4942, allocations: 43.19 kB / 409.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.371e-05/0.4943, allocations: 14.38 kB / 409.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001097/0.4954, allocations: 0.5883 MB / 410.2 MB, free: 10.56 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4954, allocations: 4 kB / 410.2 MB, free: 10.56 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001093/0.4965, allocations: 279.5 kB / 410.5 MB, free: 10.48 MB / 334.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.0002053/0.4967, allocations: 118.8 kB / 410.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001191/0.4979, allocations: 0.6461 MB / 411.3 MB, free: 9.812 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.758e-06/0.498, allocations: 8.125 kB / 411.3 MB, free: 9.805 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005176/0.4985, allocations: 330.2 kB / 411.6 MB, free: 9.484 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.4997, allocations: 177.8 kB / 411.8 MB, free: 9.316 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006207/0.5059, allocations: 2.281 MB / 414.1 MB, free: 6.988 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001519/0.5075, allocations: 1.34 MB / 415.4 MB, free: 5.617 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0007564/0.5082, allocations: 205.8 kB / 415.6 MB, free: 5.414 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.5085, allocations: 51.44 kB / 415.7 MB, free: 5.363 MB / 334.1 MB Notification: Performance of SimCode: time 2.635e-06/0.5085, allocations: 0 / 415.7 MB, free: 5.363 MB / 334.1 MB Notification: Performance of Templates: time 0.02466/0.5332, allocations: 10.16 MB / 425.8 MB, free: 11.21 MB / 350.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches