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.0007816/0.0007816, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001164/0.001946, allocations: 457.8 kB / 10.45 MB, free: 244 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.0008164/0.0008164, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001122/0.001939, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.032/1.032, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0867/1.118, allocations: 53.87 MB / 243.9 MB, free: 14.86 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.483e-06/1.483e-06, allocations: 0 / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.081e-05, allocations: 2.312 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005439/0.00546, allocations: 3.792 MB / 249 MB, free: 9.758 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003108/0.008568, allocations: 1.125 MB / 250.1 MB, free: 8.629 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005611/0.009129, allocations: 31.75 kB / 250.1 MB, free: 8.598 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003855/0.009515, allocations: 162.8 kB / 250.3 MB, free: 8.438 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.01052, allocations: 333.8 kB / 250.6 MB, free: 8.109 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003607/0.01088, allocations: 135.8 kB / 250.8 MB, free: 7.977 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001573/0.01246, allocations: 1.49 MB / 252.3 MB, free: 6.48 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/0.01362, allocations: 0.6591 MB / 252.9 MB, free: 5.77 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001508/0.01513, allocations: 1.048 MB / 254 MB, free: 4.723 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001437/0.01657, allocations: 0.7873 MB / 254.8 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004162/0.01698, allocations: 160 kB / 254.9 MB, free: 3.777 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004206/0.01741, allocations: 164 kB / 255.1 MB, free: 3.617 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003912/0.0178, allocations: 403 kB / 255.5 MB, free: 3.223 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006615/0.01846, allocations: 435.2 kB / 255.9 MB, free: 2.797 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001418/0.01988, allocations: 1.176 MB / 257.1 MB, free: 1.617 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.329e-05/0.01989, allocations: 0 / 257.1 MB, free: 1.617 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.01989, allocations: 0 / 257.1 MB, free: 1.617 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.942e-05/0.01994, allocations: 0 / 257.1 MB, free: 1.617 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.002767/0.02271, allocations: 1.816 MB / 258.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.02274, allocations: 12.62 kB / 258.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005451/0.02329, allocations: 285.9 kB / 259.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009964/0.02428, allocations: 0.5514 MB / 259.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.872e-05/0.02435, allocations: 82.62 kB / 259.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/0.02453, allocations: 120.3 kB / 259.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/0.0262, allocations: 0.9967 MB / 260.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.02623, allocations: 0 / 260.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.02633, allocations: 48 kB / 261 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.143e-05/0.02639, allocations: 42.25 kB / 261 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006178/0.02701, allocations: 255.5 kB / 261.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004289/0.0313, allocations: 2.554 MB / 263.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000451/0.03175, allocations: 297.6 kB / 264.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004117/0.03216, allocations: 226.7 kB / 264.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/0.03219, allocations: 12.48 kB / 264.3 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.03223, allocations: 43.06 kB / 264.4 MB, free: 10.01 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 2.685e-06/0.03223, allocations: 0 / 264.4 MB, free: 10.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.0005344/0.03277, allocations: 270 kB / 264.6 MB, free: 9.738 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.0328, allocations: 63.84 kB / 264.7 MB, free: 9.664 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000577/0.03338, allocations: 0.5195 MB / 265.2 MB, free: 9.129 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.03341, allocations: 37.7 kB / 265.3 MB, free: 9.086 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002741/0.03369, allocations: 485 kB / 265.7 MB, free: 8.605 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.03382, allocations: 190.4 kB / 265.9 MB, free: 8.418 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.03397, allocations: 94.3 kB / 266 MB, free: 8.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.03411, allocations: 386.6 kB / 266.4 MB, free: 7.934 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.03423, allocations: 49.28 kB / 266.4 MB, free: 7.887 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.03441, allocations: 143.5 kB / 266.6 MB, free: 7.715 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006343/0.03504, allocations: 261.1 kB / 266.8 MB, free: 7.426 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.03505, allocations: 0 / 266.8 MB, free: 7.426 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0004906/0.03554, allocations: 290.3 kB / 267.1 MB, free: 7.141 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.03556, allocations: 4 kB / 267.1 MB, free: 7.137 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.03557, allocations: 4 kB / 267.1 MB, free: 7.133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.03558, allocations: 8.281 kB / 267.1 MB, free: 7.125 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007058/0.03629, allocations: 195.5 kB / 267.3 MB, free: 6.938 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.0363, allocations: 4 kB / 267.3 MB, free: 6.934 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.03659, allocations: 63.55 kB / 267.4 MB, free: 6.871 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/0.03662, allocations: 12 kB / 267.4 MB, free: 6.859 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.0002385/0.03686, allocations: 148.5 kB / 267.5 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.03697, allocations: 63.94 kB / 267.6 MB, free: 6.641 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.03709, allocations: 83.06 kB / 267.7 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.03709, allocations: 4 kB / 267.7 MB, free: 6.551 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.0371, allocations: 0 / 267.7 MB, free: 6.551 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.0371, allocations: 7.938 kB / 267.7 MB, free: 6.543 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.03877, allocations: 1.103 MB / 268.8 MB, free: 5.387 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.03878, allocations: 0 / 268.8 MB, free: 5.387 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005337/0.03931, allocations: 167.7 kB / 269 MB, free: 5.223 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.03942, allocations: 71.41 kB / 269 MB, free: 5.152 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.03943, allocations: 8.156 kB / 269 MB, free: 5.145 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-05/0.03946, allocations: 11.98 kB / 269.1 MB, free: 5.133 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.03947, allocations: 11.88 kB / 269.1 MB, free: 5.121 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.03947, allocations: 4 kB / 269.1 MB, free: 5.117 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005856/0.04006, allocations: 464.2 kB / 269.5 MB, free: 4.629 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.532e-05/0.04014, allocations: 15.98 kB / 269.5 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.0404, allocations: 35.98 kB / 269.6 MB, free: 4.578 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.962e-05/0.04048, allocations: 36.38 kB / 269.6 MB, free: 4.539 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/0.04051, allocations: 12 kB / 269.6 MB, free: 4.527 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000308/0.04082, allocations: 256.6 kB / 269.9 MB, free: 4.277 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04082, allocations: 0 / 269.9 MB, free: 4.277 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006576/0.04148, allocations: 295 kB / 270.2 MB, free: 3.988 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.0001465/0.04162, allocations: 96.3 kB / 270.3 MB, free: 3.887 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003816/0.042, allocations: 241.1 kB / 270.5 MB, free: 3.652 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.52e-05/0.04203, allocations: 12 kB / 270.5 MB, free: 3.641 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002335/0.04226, allocations: 149.6 kB / 270.6 MB, free: 3.492 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.04365, allocations: 1.813 MB / 272.5 MB, free: 1.324 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009886/0.05353, allocations: 2.096 MB / 274.6 MB, free: 15.17 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.05391, allocations: 317.5 kB / 274.9 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004217/0.05433, allocations: 85.92 kB / 274.9 MB, free: 14.75 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005507/0.05488, allocations: 221.2 kB / 275.2 MB, free: 14.53 MB / 282.7 MB Notification: Performance of SimCode: time 1.683e-06/0.05488, allocations: 0 / 275.2 MB, free: 14.53 MB / 282.7 MB Notification: Performance of Templates: time 0.02035/0.07524, allocations: 11.38 MB / 286.5 MB, free: 3.363 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.759704508818686]