Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.001088/0.001088, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002081/0.003168, 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.001115/0.001115, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001347/0.002462, 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 0.9309/0.9309, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08473/1.016, allocations: 53.87 MB / 243.7 MB, free: 14.9 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.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.162e-05, allocations: 6.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005211/0.005233, allocations: 3.792 MB / 248.8 MB, free: 9.824 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002409/0.007642, allocations: 1.121 MB / 249.9 MB, free: 8.699 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000383/0.008025, allocations: 27.81 kB / 250 MB, free: 8.672 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003539/0.008379, allocations: 162.8 kB / 250.1 MB, free: 8.512 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.00938, allocations: 337.8 kB / 250.4 MB, free: 8.18 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.009752, allocations: 135.8 kB / 250.6 MB, free: 8.047 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001665/0.01142, allocations: 1.49 MB / 252.1 MB, free: 6.551 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001221/0.01264, allocations: 0.663 MB / 252.7 MB, free: 5.836 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001569/0.01421, allocations: 1.048 MB / 253.8 MB, free: 4.789 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001334/0.01554, allocations: 0.7834 MB / 254.6 MB, free: 4.004 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005341/0.01607, allocations: 160 kB / 254.7 MB, free: 3.848 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004965/0.01657, allocations: 160 kB / 254.9 MB, free: 3.691 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004334/0.017, allocations: 407 kB / 255.3 MB, free: 3.293 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006703/0.01767, allocations: 435.2 kB / 255.7 MB, free: 2.867 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00143/0.0191, allocations: 1.176 MB / 256.9 MB, free: 1.688 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.731e-05/0.01912, allocations: 0 / 256.9 MB, free: 1.688 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.01912, allocations: 0 / 256.9 MB, free: 1.688 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.618e-05/0.01918, allocations: 4 kB / 256.9 MB, free: 1.684 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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.00298/0.02216, allocations: 1.82 MB / 258.7 MB, free: 15.83 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.0222, allocations: 8.625 kB / 258.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005611/0.02276, allocations: 285.9 kB / 259 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.02415, allocations: 0.5474 MB / 259.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.822e-05/0.02422, allocations: 82.62 kB / 259.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/0.0244, allocations: 116.3 kB / 259.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.02592, allocations: 0.9929 MB / 260.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.789e-05/0.02595, allocations: 3.938 kB / 260.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.02605, allocations: 48 kB / 260.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-05/0.02612, allocations: 46.23 kB / 260.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007181/0.02684, allocations: 255.6 kB / 261.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004527/0.03137, allocations: 2.554 MB / 263.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004742/0.03184, allocations: 301.6 kB / 263.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004222/0.03226, allocations: 218.7 kB / 264.1 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.03229, allocations: 12.48 kB / 264.1 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.03233, allocations: 43.06 kB / 264.2 MB, free: 10.08 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 2.635e-06/0.03233, allocations: 3.938 kB / 264.2 MB, free: 10.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.0005537/0.03289, allocations: 266 kB / 264.4 MB, free: 9.812 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.03292, allocations: 67.91 kB / 264.5 MB, free: 9.734 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000583/0.03351, allocations: 0.5195 MB / 265 MB, free: 9.199 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.397e-05/0.03355, allocations: 33.7 kB / 265.1 MB, free: 9.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/0.03384, allocations: 489 kB / 265.5 MB, free: 8.676 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.03397, allocations: 186.4 kB / 265.7 MB, free: 8.492 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.03414, allocations: 94.3 kB / 265.8 MB, free: 8.395 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.03429, allocations: 382.6 kB / 266.2 MB, free: 8.012 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.03442, allocations: 53.28 kB / 266.2 MB, free: 7.961 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005229/0.03495, allocations: 147.5 kB / 266.4 MB, free: 7.785 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003683/0.03532, allocations: 245.1 kB / 266.6 MB, free: 7.516 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.03532, allocations: 0 / 266.6 MB, free: 7.516 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0005433/0.03586, allocations: 294.4 kB / 266.9 MB, free: 7.219 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.03589, allocations: 4 kB / 266.9 MB, free: 7.215 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.0359, allocations: 4 kB / 266.9 MB, free: 7.211 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.03591, allocations: 7.984 kB / 266.9 MB, free: 7.203 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006875/0.0366, allocations: 188.4 kB / 267.1 MB, free: 7.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.03661, allocations: 16.12 kB / 267.1 MB, free: 7.004 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.03678, allocations: 59.55 kB / 267.2 MB, free: 6.945 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.0368, allocations: 12 kB / 267.2 MB, free: 6.934 MB / 266.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.0001471/0.03695, allocations: 144.5 kB / 267.3 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.806e-05/0.03701, allocations: 63.92 kB / 267.4 MB, free: 6.719 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.827e-05/0.03709, allocations: 83.08 kB / 267.5 MB, free: 6.633 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.0371, allocations: 4 kB / 267.5 MB, free: 6.629 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.0371, allocations: 7.938 kB / 267.5 MB, free: 6.621 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.03711, allocations: 7.922 kB / 267.5 MB, free: 6.613 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.03821, allocations: 1.095 MB / 268.6 MB, free: 5.473 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.03821, allocations: 4 kB / 268.6 MB, free: 5.469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003406/0.03855, allocations: 171 kB / 268.8 MB, free: 5.305 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.367e-05/0.03864, allocations: 79.38 kB / 268.8 MB, free: 5.227 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.03864, allocations: 4 kB / 268.8 MB, free: 5.223 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.03867, allocations: 12 kB / 268.9 MB, free: 5.211 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.03867, allocations: 7.938 kB / 268.9 MB, free: 5.203 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.03868, allocations: 4 kB / 268.9 MB, free: 5.199 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003934/0.03907, allocations: 468.1 kB / 269.3 MB, free: 4.703 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.205e-05/0.03912, allocations: 16 kB / 269.3 MB, free: 4.688 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.03927, allocations: 27.98 kB / 269.4 MB, free: 4.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.03933, allocations: 40.38 kB / 269.4 MB, free: 4.621 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.03935, allocations: 15.98 kB / 269.4 MB, free: 4.605 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001934/0.03954, allocations: 252.5 kB / 269.7 MB, free: 4.359 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.03954, allocations: 0 / 269.7 MB, free: 4.359 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004206/0.03996, allocations: 295 kB / 270 MB, free: 4.07 MB / 266.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.0001149/0.04007, allocations: 96.36 kB / 270 MB, free: 3.969 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002481/0.04032, allocations: 224.4 kB / 270.3 MB, free: 3.746 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.212e-05/0.04036, allocations: 15.94 kB / 270.3 MB, free: 3.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.04048, allocations: 124.6 kB / 270.4 MB, free: 3.609 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.04093, allocations: 238.9 kB / 270.6 MB, free: 3.379 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005887/0.04682, allocations: 2.092 MB / 272.7 MB, free: 1.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.04703, allocations: 321.5 kB / 273 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002101/0.04724, allocations: 89.92 kB / 273.1 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003238/0.04756, allocations: 221.2 kB / 273.3 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.04756, allocations: 0 / 273.3 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of Templates: time 0.01391/0.06147, allocations: 11.28 MB / 284.6 MB, free: 5.512 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.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.6129610296338797]