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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007685/0.0007685, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001083/0.001851, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007106/0.0007106, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009326/0.001643, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8863/0.8863, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1872/1.074, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.051e-05, allocations: 6.312 kB / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.004989/0.005009, allocations: 3.713 MB / 225.7 MB, free: 12.32 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.007144, allocations: 1.095 MB / 226.8 MB, free: 11.22 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002419/0.007386, allocations: 27.81 kB / 226.8 MB, free: 11.2 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003234/0.00771, allocations: 158.8 kB / 227 MB, free: 11.04 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007929/0.008502, allocations: 313.9 kB / 227.3 MB, free: 10.73 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.008786, allocations: 135.8 kB / 227.4 MB, free: 10.6 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001562/0.01035, allocations: 1.513 MB / 228.9 MB, free: 9.078 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008598/0.01121, allocations: 0.615 MB / 229.5 MB, free: 8.41 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.01234, allocations: 1.04 MB / 230.6 MB, free: 7.371 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.01341, allocations: 0.7756 MB / 231.4 MB, free: 6.594 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003184/0.01373, allocations: 160 kB / 231.5 MB, free: 6.438 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002638/0.01399, allocations: 160 kB / 231.7 MB, free: 6.281 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003115/0.0143, allocations: 395 kB / 232.1 MB, free: 5.895 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000423/0.01473, allocations: 435.2 kB / 232.5 MB, free: 5.469 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009788/0.01571, allocations: 1.161 MB / 233.6 MB, free: 4.305 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-05/0.01572, allocations: 0 / 233.6 MB, free: 4.305 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.01572, allocations: 0 / 233.6 MB, free: 4.305 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.588e-05/0.01576, allocations: 0 / 233.6 MB, free: 4.305 MB / 234.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.002051/0.01781, allocations: 1.777 MB / 235.4 MB, free: 2.496 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.01785, allocations: 12.03 kB / 235.4 MB, free: 2.484 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002157/0.01806, allocations: 184.8 kB / 235.6 MB, free: 2.305 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006516/0.01872, allocations: 484.7 kB / 236.1 MB, free: 1.805 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.626e-05/0.01877, allocations: 82.62 kB / 236.2 MB, free: 1.723 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.01891, allocations: 116.4 kB / 236.3 MB, free: 1.609 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009428/0.01985, allocations: 0.9309 MB / 237.2 MB, free: 0.5938 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.01987, allocations: 0 / 237.2 MB, free: 0.5938 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.745e-05/0.01994, allocations: 44 kB / 237.3 MB, free: 0.5508 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.165e-05/0.01996, allocations: 28 kB / 237.3 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004085/0.02037, allocations: 259.3 kB / 237.5 MB, free: 264 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002945/0.02331, allocations: 2.534 MB / 240.1 MB, free: 13.63 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000356/0.02367, allocations: 309.5 kB / 240.4 MB, free: 13.32 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002988/0.02397, allocations: 211.2 kB / 240.6 MB, free: 13.11 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.024, allocations: 8.5 kB / 240.6 MB, free: 13.1 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.02404, allocations: 43 kB / 240.6 MB, free: 13.05 MB / 250.7 MB Notification: Performance of pre-optimization done (n=51): time 1.853e-06/0.02404, allocations: 0 / 240.6 MB, free: 13.05 MB / 250.7 MB Notification: Performance of matching and sorting (n=51): time 0.0004268/0.02446, allocations: 266 kB / 240.9 MB, free: 12.78 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.02451, allocations: 55.91 kB / 240.9 MB, free: 12.71 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003986/0.02491, allocations: 0.5156 MB / 241.5 MB, free: 12.19 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.02494, allocations: 41.7 kB / 241.5 MB, free: 12.14 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.02517, allocations: 485 kB / 242 MB, free: 11.66 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.02528, allocations: 182.4 kB / 242.1 MB, free: 11.48 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.02539, allocations: 94.3 kB / 242.2 MB, free: 11.38 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.02553, allocations: 382.6 kB / 242.6 MB, free: 11 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.529e-05/0.0256, allocations: 49.28 kB / 242.7 MB, free: 10.95 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.02574, allocations: 143.5 kB / 242.8 MB, free: 10.78 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.02601, allocations: 261.1 kB / 243.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.02601, allocations: 0 / 243.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0003366/0.02634, allocations: 294.4 kB / 243.3 MB, free: 10.2 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.02636, allocations: 12.06 kB / 243.4 MB, free: 10.19 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.02637, allocations: 0 / 243.4 MB, free: 10.19 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.02639, allocations: 4 kB / 243.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004949/0.02688, allocations: 191.7 kB / 243.5 MB, free: 9.996 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.02689, allocations: 8 kB / 243.6 MB, free: 9.988 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.02704, allocations: 47.62 kB / 243.6 MB, free: 9.941 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.02706, allocations: 16 kB / 243.6 MB, free: 9.926 MB / 250.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001651/0.02723, allocations: 156.4 kB / 243.8 MB, free: 9.762 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.32e-05/0.0273, allocations: 59.94 kB / 243.8 MB, free: 9.703 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.875e-05/0.02739, allocations: 78.83 kB / 243.9 MB, free: 9.621 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.0274, allocations: 4 kB / 243.9 MB, free: 9.617 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.0274, allocations: 3.938 kB / 243.9 MB, free: 9.613 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.02741, allocations: 7.984 kB / 243.9 MB, free: 9.605 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.02855, allocations: 1.095 MB / 245 MB, free: 8.465 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.02855, allocations: 0 / 245 MB, free: 8.465 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003617/0.02892, allocations: 170.7 kB / 245.2 MB, free: 8.301 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.774e-05/0.02899, allocations: 79.39 kB / 245.3 MB, free: 8.223 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.029, allocations: 8.156 kB / 245.3 MB, free: 8.215 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.02902, allocations: 12 kB / 245.3 MB, free: 8.203 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.02903, allocations: 0 / 245.3 MB, free: 8.203 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.02903, allocations: 7.938 kB / 245.3 MB, free: 8.195 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004409/0.02947, allocations: 468.1 kB / 245.7 MB, free: 7.699 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.972e-05/0.02952, allocations: 12 kB / 245.8 MB, free: 7.688 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.02968, allocations: 35.98 kB / 245.8 MB, free: 7.652 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.175e-05/0.02975, allocations: 44.3 kB / 245.8 MB, free: 7.609 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.02977, allocations: 12 kB / 245.8 MB, free: 7.598 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001919/0.02996, allocations: 248.6 kB / 246.1 MB, free: 7.355 MB / 250.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.02996, allocations: 0 / 246.1 MB, free: 7.355 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003666/0.03033, allocations: 287.1 kB / 246.4 MB, free: 7.074 MB / 250.7 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.0001296/0.03046, allocations: 92.36 kB / 246.5 MB, free: 6.977 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002721/0.03073, allocations: 241.3 kB / 246.7 MB, free: 6.738 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.931e-05/0.03075, allocations: 15.98 kB / 246.7 MB, free: 6.723 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.03091, allocations: 149.6 kB / 246.9 MB, free: 6.574 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.03196, allocations: 1.809 MB / 248.7 MB, free: 4.414 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005743/0.03771, allocations: 2.072 MB / 250.7 MB, free: 2.277 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.03796, allocations: 321.5 kB / 251.1 MB, free: 1.941 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001927/0.03815, allocations: 85.92 kB / 251.1 MB, free: 1.855 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003479/0.0385, allocations: 217.2 kB / 251.3 MB, free: 1.641 MB / 250.7 MB Notification: Performance of SimCode: time 1.022e-06/0.0385, allocations: 0 / 251.3 MB, free: 1.641 MB / 250.7 MB Notification: Performance of Templates: time 0.01399/0.05249, allocations: 11.32 MB / 262.7 MB, free: 6.328 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.810568924061954]