Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001163/0.001163, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001447/0.002611, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001044/0.001044, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001271/0.002315, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.01/1.01, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08564/1.095, allocations: 53.86 MB / 243.7 MB, free: 14.93 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 4 kB / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.64e-05/1.835e-05, allocations: 2.312 kB / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.003385/0.003404, allocations: 3.792 MB / 248.8 MB, free: 9.855 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.004955, allocations: 1.063 MB / 249.9 MB, free: 8.789 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002128/0.005167, allocations: 27.81 kB / 249.9 MB, free: 8.762 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004848/0.005652, allocations: 162.8 kB / 250 MB, free: 8.602 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008404/0.006492, allocations: 322 kB / 250.4 MB, free: 8.285 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.006754, allocations: 131.8 kB / 250.5 MB, free: 8.156 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001076/0.00783, allocations: 1.47 MB / 252 MB, free: 6.68 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005911/0.008422, allocations: 0.6353 MB / 252.6 MB, free: 5.992 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009843/0.009406, allocations: 1.028 MB / 253.6 MB, free: 4.965 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008417/0.01025, allocations: 0.7639 MB / 254.4 MB, free: 4.199 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002216/0.01047, allocations: 156 kB / 254.5 MB, free: 4.047 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002273/0.0107, allocations: 160 kB / 254.7 MB, free: 3.891 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002591/0.01096, allocations: 399 kB / 255.1 MB, free: 3.5 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003903/0.01135, allocations: 427.2 kB / 255.5 MB, free: 3.082 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009115/0.01226, allocations: 1.16 MB / 256.7 MB, free: 1.918 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.457e-05/0.01227, allocations: 0 / 256.7 MB, free: 1.918 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01227, allocations: 0 / 256.7 MB, free: 1.918 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.247e-05/0.01232, allocations: 4 kB / 256.7 MB, free: 1.914 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.00179/0.01411, allocations: 1.777 MB / 258.4 MB, free: 108 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.01414, allocations: 12.62 kB / 258.5 MB, free: 96 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003526/0.0145, allocations: 289.9 kB / 258.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006346/0.01513, allocations: 0.5512 MB / 259.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.337e-05/0.01517, allocations: 82.59 kB / 259.4 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.01528, allocations: 108.4 kB / 259.5 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008911/0.01617, allocations: 0.9806 MB / 260.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.01618, allocations: 0 / 260.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-05/0.01625, allocations: 48 kB / 260.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-05/0.01629, allocations: 42.16 kB / 260.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003918/0.01668, allocations: 255.4 kB / 260.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002585/0.01927, allocations: 2.452 MB / 263.3 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003948/0.01966, allocations: 267.6 kB / 263.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.01991, allocations: 141.5 kB / 263.6 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.01994, allocations: 9.125 kB / 263.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.01997, allocations: 38.56 kB / 263.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 1.763e-06/0.01997, allocations: 0 / 263.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0009418/0.02091, allocations: 0.6961 MB / 264.4 MB, free: 9.863 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.02094, allocations: 55.91 kB / 264.4 MB, free: 9.797 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003399/0.02128, allocations: 0.5233 MB / 265 MB, free: 9.262 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.0213, allocations: 33.7 kB / 265 MB, free: 9.223 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.02149, allocations: 489 kB / 265.5 MB, free: 8.738 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.088e-05/0.02157, allocations: 170.5 kB / 265.6 MB, free: 8.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.283e-05/0.02166, allocations: 94.27 kB / 265.7 MB, free: 8.473 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.02177, allocations: 390.5 kB / 266.1 MB, free: 8.082 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.906e-05/0.02184, allocations: 45.3 kB / 266.2 MB, free: 8.039 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.02195, allocations: 157.2 kB / 266.3 MB, free: 7.848 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.02217, allocations: 248.6 kB / 266.6 MB, free: 7.566 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.02218, allocations: 0 / 266.6 MB, free: 7.566 MB / 266.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0003363/0.02251, allocations: 327 kB / 266.9 MB, free: 7.234 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.02252, allocations: 8 kB / 266.9 MB, free: 7.227 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.02253, allocations: 0 / 266.9 MB, free: 7.227 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001246/0.02265, allocations: 56.81 kB / 266.9 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000325/0.02298, allocations: 147.9 kB / 267.1 MB, free: 7.023 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009865/0.02396, allocations: 1.623 MB / 268.7 MB, free: 5.312 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.02412, allocations: 20.03 kB / 268.7 MB, free: 5.293 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.02414, allocations: 15.94 kB / 268.7 MB, free: 5.277 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001409/0.02428, allocations: 140.5 kB / 268.9 MB, free: 5.129 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.309e-05/0.02434, allocations: 63.92 kB / 268.9 MB, free: 5.066 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.09e-05/0.02441, allocations: 79.08 kB / 269 MB, free: 4.984 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.02442, allocations: 4 kB / 269 MB, free: 4.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.02442, allocations: 4 kB / 269 MB, free: 4.977 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.02443, allocations: 0 / 269 MB, free: 4.977 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009918/0.02542, allocations: 0.9568 MB / 270 MB, free: 3.977 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.02542, allocations: 0 / 270 MB, free: 3.977 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.02563, allocations: 107.9 kB / 270.1 MB, free: 3.871 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.732e-05/0.0257, allocations: 71.5 kB / 270.2 MB, free: 3.801 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001049/0.02581, allocations: 55.66 kB / 270.2 MB, free: 3.742 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.02583, allocations: 19.98 kB / 270.2 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008996/0.02673, allocations: 1.691 MB / 271.9 MB, free: 1.941 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.02673, allocations: 4.062 kB / 271.9 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004157/0.02715, allocations: 476.4 kB / 272.4 MB, free: 1.449 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.89e-05/0.0272, allocations: 12 kB / 272.4 MB, free: 1.438 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.02735, allocations: 39.91 kB / 272.4 MB, free: 1.398 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.02741, allocations: 31.94 kB / 272.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.02742, allocations: 8 kB / 272.5 MB, free: 1.359 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001895/0.02761, allocations: 260.6 kB / 272.7 MB, free: 1.105 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02761, allocations: 0 / 272.7 MB, free: 1.105 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003877/0.028, allocations: 208 kB / 272.9 MB, free: 0.9023 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformerL.inductor[1].i,transformerL.inductor[2].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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001023/0.0281, allocations: 88.36 kB / 273 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004155/0.02852, allocations: 386.7 kB / 273.4 MB, free: 424 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.666e-05/0.02854, allocations: 15.94 kB / 273.4 MB, free: 408 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002554/0.0288, allocations: 291.8 kB / 273.7 MB, free: 100 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.02925, allocations: 226.3 kB / 273.9 MB, free: 15.88 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006038/0.03529, allocations: 2.014 MB / 275.9 MB, free: 13.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.03554, allocations: 321.8 kB / 276.3 MB, free: 13.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002019/0.03574, allocations: 81.62 kB / 276.3 MB, free: 13.39 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002986/0.03604, allocations: 209.2 kB / 276.5 MB, free: 13.19 MB / 282.7 MB Notification: Performance of SimCode: time 1.182e-06/0.03604, allocations: 0 / 276.5 MB, free: 13.19 MB / 282.7 MB Notification: Performance of Templates: time 0.0155/0.05154, allocations: 11.53 MB / 288.1 MB, free: 1.863 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6361186243593693]