Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Polyphase.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_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.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_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 114.3 kB / 16.63 MB, free: 6.816 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.001023/0.001023, allocations: 190 kB / 17.55 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001062/0.001062, allocations: 51.17 kB / 300.1 MB, free: 6.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09779/0.09887, allocations: 49.44 MB / 349.6 MB, free: 4.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005315/0.1042, allocations: 3.796 MB / 353.4 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002111/0.1064, allocations: 0.9814 MB / 354.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004483/0.1068, allocations: 23.88 kB / 354.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004118/0.1073, allocations: 119.2 kB / 354.5 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009744/0.1083, allocations: 282.7 kB / 354.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.1086, allocations: 99.92 kB / 354.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001335/0.1099, allocations: 1.405 MB / 356.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.1112, allocations: 1.221 MB / 357.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006756/0.1118, allocations: 0.6425 MB / 358.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/0.113, allocations: 0.7939 MB / 358.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002715/0.1132, allocations: 160 kB / 359.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002906/0.1135, allocations: 164 kB / 359.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004005/0.1139, allocations: 466.7 kB / 359.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008674/0.1148, allocations: 0.735 MB / 360.4 MB, free: 9.828 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001627/0.1165, allocations: 2.045 MB / 362.5 MB, free: 7.777 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1165, allocations: 0 / 362.5 MB, free: 7.777 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.065e-06/0.1165, allocations: 0 / 362.5 MB, free: 7.777 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.324e-05/0.1165, allocations: 3.938 kB / 362.5 MB, free: 7.773 MB / 302.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.003144/0.1197, allocations: 1.695 MB / 364.2 MB, free: 6.023 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.1197, allocations: 8.031 kB / 364.2 MB, free: 6.016 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002441/0.12, allocations: 143.2 kB / 364.3 MB, free: 5.875 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.1212, allocations: 0.8616 MB / 365.2 MB, free: 4.969 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.499e-05/0.1213, allocations: 86.62 kB / 365.3 MB, free: 4.883 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.1215, allocations: 111.9 kB / 365.4 MB, free: 4.773 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/0.1239, allocations: 1.572 MB / 366.9 MB, free: 3.156 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.1239, allocations: 0 / 366.9 MB, free: 3.156 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.124, allocations: 48 kB / 367 MB, free: 3.109 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.1241, allocations: 28 kB / 367 MB, free: 3.082 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002001/0.1261, allocations: 1.332 MB / 368.3 MB, free: 1.742 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1632/0.2893, allocations: 4.318 MB / 372.7 MB, free: 23.49 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.2903, allocations: 1.334 MB / 374 MB, free: 22.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007854/0.2911, allocations: 0.5258 MB / 374.5 MB, free: 22.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-05/0.2912, allocations: 10.08 kB / 374.5 MB, free: 22.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.2912, allocations: 37.75 kB / 374.6 MB, free: 22.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.365e-06/0.2912, allocations: 0 / 374.6 MB, free: 22.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.00134/0.2926, allocations: 0.873 MB / 375.4 MB, free: 22.08 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.2926, allocations: 60.16 kB / 375.5 MB, free: 22.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009071/0.2935, allocations: 0.8203 MB / 376.3 MB, free: 21.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.2935, allocations: 36.97 kB / 376.4 MB, free: 21.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002625/0.2938, allocations: 0.5443 MB / 376.9 MB, free: 21.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.2939, allocations: 179 kB / 377.1 MB, free: 21.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.2941, allocations: 106.9 kB / 377.2 MB, free: 21.08 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.2942, allocations: 390.2 kB / 377.6 MB, free: 20.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004287/0.2946, allocations: 301 kB / 377.9 MB, free: 20.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004679/0.2951, allocations: 392.9 kB / 378.2 MB, free: 20.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008903/0.296, allocations: 0.6911 MB / 378.9 MB, free: 20.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.296, allocations: 3.875 kB / 378.9 MB, free: 20.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00114/0.2972, allocations: 0.8266 MB / 379.8 MB, free: 19.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.2972, allocations: 8.5 kB / 379.8 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.2972, allocations: 3.281 kB / 379.8 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.2972, allocations: 6.156 kB / 379.8 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005621/0.2978, allocations: 147.5 kB / 379.9 MB, free: 19.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.2978, allocations: 12.8 kB / 379.9 MB, free: 19.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003559/0.2982, allocations: 59.3 kB / 380 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.2982, allocations: 19.69 kB / 380 MB, free: 19.78 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.000501/0.2987, allocations: 462.3 kB / 380.5 MB, free: 19.53 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.2988, allocations: 74.84 kB / 380.5 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001383/0.299, allocations: 90.67 kB / 380.6 MB, free: 19.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.299, allocations: 5.344 kB / 380.6 MB, free: 19.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.299, allocations: 0 / 380.6 MB, free: 19.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.299, allocations: 8.094 kB / 380.6 MB, free: 19.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002787/0.3018, allocations: 1.942 MB / 382.6 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.3018, allocations: 1.312 kB / 382.6 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004865/0.3023, allocations: 124.9 kB / 382.7 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.3023, allocations: 4.188 kB / 382.7 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.389e-05/0.3024, allocations: 13.64 kB / 382.7 MB, free: 18.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.3024, allocations: 3.656 kB / 382.7 MB, free: 18.53 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3024, allocations: 1.188 kB / 382.7 MB, free: 18.53 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.3038, allocations: 1.122 MB / 383.9 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.3039, allocations: 172.3 kB / 384 MB, free: 17.87 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.252e-05/0.304, allocations: 14.16 kB / 384 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003943/0.3044, allocations: 54.22 kB / 384.1 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.761e-05/0.3045, allocations: 35.34 kB / 384.1 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.3046, allocations: 16.83 kB / 384.1 MB, free: 17.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006275/0.3052, allocations: 0.5899 MB / 384.7 MB, free: 17.6 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3052, allocations: 0 / 384.7 MB, free: 17.6 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000647/0.3059, allocations: 288 kB / 385 MB, free: 17.52 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.0001168/0.306, allocations: 119 kB / 385.1 MB, free: 17.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.3071, allocations: 0.7945 MB / 385.9 MB, free: 17.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3071, allocations: 4.797 kB / 385.9 MB, free: 17.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003959/0.3075, allocations: 333.5 kB / 386.3 MB, free: 17.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000871/0.3084, allocations: 182.2 kB / 386.4 MB, free: 17.05 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.3114, allocations: 2.778 MB / 389.2 MB, free: 15.22 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006775/0.312, allocations: 1.34 MB / 390.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004317/0.3125, allocations: 210.5 kB / 390.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.3126, allocations: 51.44 kB / 390.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3126, allocations: 0 / 390.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of Templates: time 0.01292/0.3256, allocations: 9.894 MB / 400.7 MB, free: 6.27 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches