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.001536/0.001536, allocations: 110.5 kB / 17.73 MB, free: 5.359 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.001691/0.001691, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.793/1.793, 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.0017/0.0017, allocations: 47.92 kB / 328.5 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1484, allocations: 46.62 MB / 375.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.005956/0.1544, allocations: 3.731 MB / 378.9 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3514/0.5058, allocations: 1.058 MB / 379.9 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.5072, allocations: 20.09 kB / 379.9 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006003/0.5078, allocations: 150 kB / 380.1 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001581/0.5094, allocations: 294.8 kB / 380.4 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004786/0.5099, allocations: 129.8 kB / 380.5 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002301/0.5122, allocations: 1.455 MB / 382 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00212/0.5143, allocations: 1.146 MB / 383.1 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.5159, allocations: 0.6368 MB / 383.7 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001895/0.5178, allocations: 0.7676 MB / 384.5 MB, free: 8.824 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003637/0.5182, allocations: 159.9 kB / 384.7 MB, free: 8.824 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005151/0.5187, allocations: 159.2 kB / 384.8 MB, free: 8.824 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008168/0.5196, allocations: 468.1 kB / 385.3 MB, free: 8.582 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001402/0.521, allocations: 0.7399 MB / 386 MB, free: 8.117 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003968/0.5249, allocations: 2.069 MB / 388.1 MB, free: 7.418 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.525, allocations: 0 / 388.1 MB, free: 7.418 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.669e-06/0.525, allocations: 2.047 kB / 388.1 MB, free: 7.418 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.199e-05/0.5251, allocations: 4 kB / 388.1 MB, free: 7.414 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.005264/0.5304, allocations: 1.708 MB / 389.8 MB, free: 6.371 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.5304, allocations: 12.47 kB / 389.8 MB, free: 6.367 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003996/0.5308, allocations: 148.2 kB / 390 MB, free: 6.293 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001901/0.5328, allocations: 0.8363 MB / 390.8 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.5329, allocations: 84.06 kB / 390.9 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002166/0.5331, allocations: 113.5 kB / 391 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003889/0.537, allocations: 1.57 MB / 392.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.9e-05/0.537, allocations: 0.5625 kB / 392.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/0.5372, allocations: 46.28 kB / 392.6 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.771e-05/0.5372, allocations: 27.97 kB / 392.6 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00361/0.5408, allocations: 1.329 MB / 394 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009924/0.5508, allocations: 4.279 MB / 398.2 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.5523, allocations: 1.331 MB / 399.6 MB, free: 1.141 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/0.5535, allocations: 0.5203 MB / 400.1 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.469e-05/0.5535, allocations: 9.594 kB / 400.1 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.348e-05/0.5536, allocations: 38.38 kB / 400.1 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of pre-optimization done (n=51): time 3.667e-06/0.5536, allocations: 4 kB / 400.1 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of matching and sorting (n=51): time 0.001915/0.5555, allocations: 0.88 MB / 401 MB, free: 392 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.5556, allocations: 56.53 kB / 401.1 MB, free: 328 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/0.5572, allocations: 0.8224 MB / 401.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.664e-05/0.5573, allocations: 36.45 kB / 401.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006984/0.558, allocations: 0.555 MB / 402.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002564/0.5583, allocations: 189.6 kB / 402.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003211/0.5586, allocations: 103.4 kB / 402.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002522/0.5588, allocations: 388 kB / 403.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006299/0.5595, allocations: 307.9 kB / 403.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006904/0.5602, allocations: 403.8 kB / 403.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/0.5615, allocations: 0.6799 MB / 404.5 MB, free: 13.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.5615, allocations: 0 / 404.5 MB, free: 13.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001692/0.5632, allocations: 0.8288 MB / 405.4 MB, free: 13.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.5632, allocations: 5.375 kB / 405.4 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.5633, allocations: 3.406 kB / 405.4 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.197e-05/0.5633, allocations: 9.094 kB / 405.4 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007124/0.564, allocations: 148.1 kB / 405.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.54e-05/0.5641, allocations: 9.562 kB / 405.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005918/0.5647, allocations: 68.03 kB / 405.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.296e-05/0.5647, allocations: 21.28 kB / 405.6 MB, free: 13.4 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.00115/0.5659, allocations: 460.2 kB / 406.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.566, allocations: 77.53 kB / 406.1 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.5663, allocations: 93.2 kB / 406.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.5663, allocations: 4.375 kB / 406.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/0.5663, allocations: 0.6562 kB / 406.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.719e-06/0.5663, allocations: 10.2 kB / 406.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003719/0.57, allocations: 1.937 MB / 408.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.5701, allocations: 1.25 kB / 408.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005453/0.5706, allocations: 122 kB / 408.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/0.5706, allocations: 3.531 kB / 408.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.163e-05/0.5707, allocations: 12.91 kB / 408.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-05/0.5707, allocations: 7.188 kB / 408.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.5707, allocations: 1.219 kB / 408.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002209/0.5729, allocations: 1.133 MB / 409.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003618/0.5733, allocations: 174.9 kB / 409.6 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.5734, allocations: 16.11 kB / 409.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000434/0.5739, allocations: 47.45 kB / 409.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.574, allocations: 38.2 kB / 409.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.407e-05/0.5741, allocations: 20.38 kB / 409.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001156/0.5753, allocations: 0.5904 MB / 410.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5753, allocations: 1.656 kB / 410.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001194/0.5765, allocations: 287.4 kB / 410.6 MB, free: 10.37 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.0001942/0.5767, allocations: 113.9 kB / 410.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.578, allocations: 0.6544 MB / 411.4 MB, free: 9.711 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.578, allocations: 4 kB / 411.4 MB, free: 9.707 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004477/0.5784, allocations: 326.2 kB / 411.7 MB, free: 9.391 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009463/0.5794, allocations: 173.9 kB / 411.9 MB, free: 9.227 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004464/0.5839, allocations: 2.313 MB / 414.2 MB, free: 6.863 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001204/0.5851, allocations: 1.344 MB / 415.5 MB, free: 5.488 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006313/0.5857, allocations: 197.8 kB / 415.7 MB, free: 5.293 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.5859, allocations: 55.42 kB / 415.8 MB, free: 5.238 MB / 334.1 MB Notification: Performance of SimCode: time 8.82e-07/0.5859, allocations: 7.938 kB / 415.8 MB, free: 5.23 MB / 334.1 MB Notification: Performance of Templates: time 0.02425/0.6102, allocations: 10.14 MB / 425.9 MB, free: 11.1 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